Error : Request for the permission of type 'System.Security.Permissions.FileIOPermission,mscorlib, V

Discussion in 'ASP .Net Security' started by dhemittal@gmail.com, May 10, 2008.

  1. Guest

    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:
    , May 10, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?cGF1bA==?=

    System.Security.Permissions.FileIOPermission

    =?Utf-8?B?cGF1bA==?=, Oct 1, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    954
    =?Utf-8?B?cGF1bA==?=
    Oct 1, 2004
  2. Eric Phetteplace

    System.Security.Permissions.FileIOPermission

    Eric Phetteplace, Jun 11, 2004, in forum: ASP .Net Security
    Replies:
    2
    Views:
    175
    Eric Phetteplace
    Jun 12, 2004
  3. Simon Cheng

    System.Security.Permissions.FileIOPermission

    Simon Cheng, Nov 25, 2005, in forum: ASP .Net Security
    Replies:
    3
    Views:
    299
    Dominick Baier [DevelopMentor]
    Nov 25, 2005
  4. Usman Ghani
    Replies:
    0
    Views:
    149
    Usman Ghani
    Apr 17, 2006
  5. Leyla
    Replies:
    2
    Views:
    682
    Leyla
    Aug 17, 2006
Loading...

Share This Page