|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SecurityException with UNCI'm using VStudio2005 and working with a VB.Net windows form application.
The project is located in the My Documents folder... under a UNC shared path. \\fs1\users\cthunell\My Documents\My Projects (something like this) I'm getting a SecurityException was unhandled.. Request for the Permission of type 'System.Secuirty.Permissions.SecurityPermision'... when i try to debug the application. if i copy the project to the C drive of my computer - the project debugs fine and starts right up. HELP!!!! Thanks in advance, Chris Thunell cthun***@pierceassociates.com > I'm using VStudio2005 and working with a VB.Net windows form When accessing the application through a UNC (even if the location is on > application. The project is located in the My Documents folder... > under a UNC shared path. > > \\fs1\users\cthunell\My Documents\My Projects (something like this) > > I'm getting a SecurityException was unhandled.. Request for the > Permission of type 'System.Secuirty.Permissions.SecurityPermision'... > when i try to debug the application. > > if i copy the project to the C drive of my computer - the project > debugs fine and starts right up. your local computer), the runtime asserts that you are running on the intranet zone. Due to Code Access Security (CAS) settings, it restricts what kinds of things your code can do to help prevent against malivent code. For example, it may block access to the file store, registry settings, database connections, etc. You can modify the security setting for your application using a number of different methods. Read up on CAS in order to handle this kind of deployment scheme. You can start here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcodeaccesssecurity.asp Jim Wooley http://devauthority.com/blogs/jwooley/default.aspx
DEBUG: can we disable try/catch ?
Microsoft (R) Visual Basic Compiler has encountered a problem and needs to close. :o( How do I handle this Programmable LEGO blocks? How to ping an IP address by using sockets in Visual Basic .NET Newbie question - VB.net, referencing controls Question: arraylist and item Week Ending last API question.... how to hardcode lots of text into a textbox/RichTextbox? |
|||||||||||||||||||||||