•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 373,193 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,852 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 249 | Replies: 1
![]() |
•
•
Join Date: May 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Error : Request for the permission of type 'System.Security.Permissions.FileIOPermiss
#1
May 8th, 2008
Hi Friends,
i am having a problem in create directory on local machine through Asp.net 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.
Thanks in Advance
Email Id: <snipped>
i am having a problem in create directory on local machine through Asp.net 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.
Thanks in Advance
Email Id: <snipped>
Last edited by peter_budo : May 9th, 2008 at 7:57 am. Reason: Keep It On Site - Do not post asking for an answer to be sent to you via email or PM.
•
•
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,122
Reputation:
Rep Power: 3
Solved Threads: 46
Re: Error : Request for the permission of type 'System.Security.Permissions.FileIOPermiss
#2
May 8th, 2008
Hi there and welcome to DaniWeb! I think you may find the answer here:
http://www.msnewsgroups.net/group/mi...opic34774.aspx
Hope this helps you out!
http://www.msnewsgroups.net/group/mi...opic34774.aspx
Hope this helps you out!
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
antivirus apple botnet browser business computer crime database development dns email exploit firefox fraud google government hacking id theft internet ipod leopard linux malware mcafee microsoft mobile news operating phishing php privacy report research satnav search security spam spyware survey system terrorism trends trojan upgrade virus vista web windows worm xp
- Previous Thread: ASP
- Next Thread: OnTextChanged subroutine



Linear Mode