How can i remove Microsoft Visual Studio Error?

Asked By 7060 points N/A Posted on -

I have a VB project in Drive C and it sits in BostonAzure Directory, when I try to open it, the following error is occurred; C:devbaugBostonAzureSiteBostonAzureSite. Running the application may result in security exceptions when it attempts to perform actions which require full trust.

Click OK to ignore and continue.


The project is not laid in Network Shared folder. I already added a .NET CODE to make the network location trusted.

But still this error is interrupting to open my project.

Can anyone help me regarding this matter?

Answered By 0 points N/A #80593

How can i remove Microsoft Visual Studio Error?


The cause of the problem came from setting of the folder path which still untrust by you Visual Studio, OR your file have its own security you have to open before you can run it.

Let see how to make permission to your folder location:
Login as Administrator and start mscorcfg.msc. By default the location is: C:Program FilesMicrosoft Visual Studio 8SDKv2.0Binmscorcfg.msc
Now expand these: Runtime Security Policy, the Machine, the Code Groups, and the All_Code node.
Then Highlight the LocalIntranet_Zone node.
Go to right pane, select Add a Child Code Group
Select Create a new code group, enter a name for the code group, then Next.
Choose a condition type of URL, and enter UNC path to share the location of your project. The format is: file://\servernamesharename*
After click Next, choose Use existing permission set and select FullTrust.
Click Next and Finish. Restart Visual Studio

This is how to give permission to your file:
Browse to your project, right click it, chooses Properties.

Find Security below Attributes,

Then click Unblock

Login/Register to Answer

Related Questions