Security Warning

Discussion in 'ASP .Net Security' started by Stephen Noronha, Aug 29, 2005.

  1. Hi,

    I am supposed to modify/manage some code. it was on a machine in "Network
    Shared", I whacked it from there and put it in my wwwroot folder,
    I opened it after creating a Virtual directory and it gave me this "Warning"

    When I open the "Sample.sln" I get warning + Errors which reads: The project
    location is not fully trusted by the .net runtime. This is usually becuase
    it is either a network share, or mapped to a network share not on the local
    machine. If the output path is under the project location, your code will
    not execute as fully trusted and you may receive unexpected security
    exceptions.

    Please advice,
    Stephen
     
    Stephen Noronha, Aug 29, 2005
    #1
    1. Advertising

  2. Stephen Noronha

    WJ Guest

    "Stephen Noronha" <> wrote in message
    news:...
    > Hi,
    >
    > I am supposed to modify/manage some code. it was on a machine in "Network
    > Shared", I whacked it from there and put it in my wwwroot folder,
    > I opened it after creating a Virtual directory and it gave me this
    > "Warning"
    >
    > When I open the "Sample.sln" I get warning + Errors which reads: The
    > project
    > location is not fully trusted by the .net runtime. This is usually
    > becuase
    > it is either a network share, or mapped to a network share not on the
    > local
    > machine. If the output path is under the project location, your code will
    > not execute as fully trusted and you may receive unexpected security
    > exceptions.
    >


    Most likely because some files still reference your network resources
    internally. You nay want to use notepad to edit files such as *.sln, *.proj,
    and *.webinfo to search and change the network path to your local pc.

    John
     
    WJ, Aug 30, 2005
    #2
    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?TWFyaw==?=

    Security Warning Message in ASP.Net with SSL

    =?Utf-8?B?TWFyaw==?=, Apr 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    601
    Nicole Calinoiu
    Apr 9, 2004
  2. Pete Becker
    Replies:
    0
    Views:
    1,379
    Pete Becker
    Feb 10, 2005
  3. B. Williams

    warning C4267 and warning C4996

    B. Williams, Oct 26, 2006, in forum: C++
    Replies:
    17
    Views:
    2,635
  4. WARNING! Prosoftstore.com is a SCAM! WARNING!

    , Jul 8, 2007, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    319
  5. Julian Mehnle
    Replies:
    17
    Views:
    886
    Julian Mehnle
    May 18, 2006
Loading...

Share This Page