Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

Security Warning

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stephen Noronha - 29 Aug 2005 16:59 GMT
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
Cowboy (Gregory A. Beamer) - MVP - 30 Aug 2005 18:33 GMT
The error may not be a big deal, depending on what you are doing. What you
are being told is you are opening a project from a share, which means code
access security MAY stop the program from working, not WILL. You find this a
lot when you try to remotely edit a ASP.NET application. In these cases, the
compiled app is hit through a URL anyway and the VS "error" is of no
consequence.

The preferred way is to edit locally and deploy to the share.

Signature

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

> Hi,
>
[quoted text clipped - 11 lines]
> Please advice,
> Stephen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.