Access to the path "....." is denied. Help me to resolve this error,plz

Last post 04-01-2007 12:58 AM by daica. 17 replies.

Sort Posts:

  • Re: Access to the path "....." is denied. Help me to resolve this error,plz

    03-07-2007, 1:25 AM
    Answer

    Hi,

    The Assembly might be constrained by the Code Access Security Policy.

    Hope this article helps:

    http://msdn2.microsoft.com/en-us/library/aa302361.aspx

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Re: Access to the path "....." is denied. Help me to resolve this error,plz

    03-07-2007, 1:27 AM

    Hi,

    The Assembly might be constrained by the Code Access Security Policy.

    Hope this article helps:

    http://msdn2.microsoft.com/en-us/library/aa302361.aspx

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Re: Access to the path "....." is denied. Help me to resolve this error,plz

    04-01-2007, 12:58 AM
    Answer
    • Member
      87 point Member
    • daica
    • Member since 04-04-2003, 7:11 AM
    • Posts 45

    Thank you all guys.
    I debugged that app on the server and found that the error caused by a bug code.
    I use server.mappath to get the physical path of a XML file.
    At this case, the file name is "" so the MapPath return the path to the parent folder of XML file.
    That 's the way the error occurs.

Page 2 of 2 (18 items) < Previous 1 2