469,963 Members | 2,219 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,963 developers. It's quick & easy.

Partially trusted???

Hi All,

I have a C# project that was created using VS.NET 2003. The project is on a shared network drive. When I open the project using VS.NET, I got the following warning message:

"The project locatoin is not fully trusted by the .Net run time because 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."

When I run the program, I got the following sticky message:

".NET Security Information
This application is runningin a partially trusted context. Some functional in the application may be disabled due to security restriction."

And then if click on one of the menu item, which open a dialog that have code in my library, I got the following error:

"The application attempted to perform an operation not allowed by the security policy. The operation required the SecurityException. To grant this application the required permission please contact your system administrator, or use the Microsoft.NET security policy administrator tool."

I searched the Internet and got an article about using the mscorcfg.exe to set the trusted location. However, the mscorcfg.exe come with VC.NET 2003 does not have a place where I can enter the location of the shared folder like the article has instructed. And I cannot make the shared drive fully trusted.

Can someone shed a light on this tunnel?

Jul 19 '05 #1
0 1823

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by john bailo | last post: by
reply views Thread by David N. | last post: by
3 posts views Thread by Dmitri Shvetsov | last post: by
1 post views Thread by Scott Meddows | last post: by
1 post views Thread by Pierre | last post: by
5 posts views Thread by =?Utf-8?B?TWFydHluIEZld3RyZWxs?= | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.