472,328 Members | 1,203 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

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 1911

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: john bailo | last post by:
I wrote a c# program that does some file manipulation on a remote server. Testing it from my workstation, it ran fine. When I copied it to...
by: David N. | last post by:
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,...
by: Dmitri Shvetsov | last post by:
Hi, Maybe somebody knows why it's happening? I wrote a C# Windows Application working with the remote database through a DataSet. It works...
by: Scott Meddows | last post by:
Is there an easy way for me to add something in my source code to give my code only partially trusted access so I can debug it? Thanks. Scott
by: g3000 | last post by:
I developed on a Win2K3 Server with VS 2005 Published a web app to my local drive. Copied that folder to a Win2K3 Server. Configured a new...
by: Pierre | last post by:
Hi all, I have developped a set of WSs and everything works fine when I try it on my local network. When I export them on my host's server though...
by: RKris | last post by:
Hi, I am writing an ADO.Net application that connects to a remote database. When I run the application I am getting a security exception saying this...
by: Vandana T | last post by:
I created a console application to read and manipulate an Excel file. I added reference to the Microsoft Excel 11.0 Object Library. When I place it...
by: =?Utf-8?B?TWFydHluIEZld3RyZWxs?= | last post by:
From the amount of articles about this one I’m sure this gets asked a lot, but I haven’t yet found a succinct article which explains what is...
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.