|
|
|
Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!
Forum - Error : Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
dheeraj mittal |
2008-05-09 02:10:50 |
|
Hi Friends,
i am having a problem in create directory on local machine through
Asp.net web application source code and coping file from website
folder to my local machine through source code . by using
File
.Copy(DPath, savePath, true); that code generating
Error : Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
failed.
the problem is Only occure only when i run website on web. but on
local machine its working fine.
i think it required setting in web.config file. whats this setting
plase help me.
Thanks in Advance
Email Id: [email protected] |
Post Reply:
You must be logged in to reply.
|
Post message
|
Registered users: 88118
Forms protected: 48551
Further Reading & Anti Spam Resources:
Directory
|
|