If any one have code any code from where we can set Read/Write permissions to folder on Server.
the code use in my program running fine in local system, but it give the error when i host all the file on the server
this is the error which i am getting .......................... Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
|
| Author: Sreekumar P 10 Nov 2009 | Member Level: Bronze | Rating:  Points: 2 |
code is there but it cannot use for WEB SERVER. only for local system.
I was also facing this problem when uploading file..... I have solved it by creating Virtual Directories in Web server (ie convert the folder that u want to upload file to a virtual dir)
This facility will be provided by the Web Hosting cmpy in Hosting manager.
Create virtual dir with write permission.
|