Security Exception error

Posted on 2004-11-09
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
    LVL 20

    Expert Comment


    Read this article might help

    Author Comment

    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 69

    Accepted Solution

    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

    Thanks a lot it worked fine.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
    Article by: jpaulino
    XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String ( Literal, only instead of starting and ending with w…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now