Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Security Exception error

Posted on 2004-11-09
Medium Priority
Last Modified: 2010-04-23
Hello I have using VB.Net in a network environment.  They use a network mapped drive (g:) wherewith they do they project when they type g:\filename an error appears "the project location is not fully trusted by the .NET runtime.......".   Anyway I have been reading up and they told me to use mscorcfg.msc.  When I go to Administrative Tool to load the file I get the error unable to open selected file.

I tried this command caspol -m -ag 1.2 urlname FullTrust.  For the urlname I want to type g:\ but it is not working I tried \\servername\%username%$ that is not working either.

How can I get mscorcfg.msc to open and how can I use the caspol command to set fulltrust for multiple users.
Question by:rwhittle
  • 2
LVL 20

Expert Comment

ID: 12534091

Read this article might help

Author Comment

ID: 12536030
I read that article already, but I am unable to execute mscorcfg.msc  it gives me an error "unable to open selected file".  I tried to use caspol command but I need to set it for multiple users.  Thanks for helping
LVL 70

Accepted Solution

Éric Moreau earned 600 total points
ID: 12540206
You need to adjust the security.

Open the Control Panel
Open Administrative tools
Open Microsoft .Net Framework 1.1 Wizards
Click Adjust .Net Security
click Next
Select Local Intranet
Change the level of trust to Full
click next
click Finish

Author Comment

ID: 12544119
Thanks a lot it worked fine.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question