Go to:

Start | Settings | Control Panel | Administrative Tools | Microsoft .NET
Framework 1.1 Wizards

and trust the assembly you want to run from the mapped drive.

Or go to:

Start | Settings | Control Panel | Administrative Tools | Microsoft .NET
Framework 1.1 Configuration

and play with code groups and security.

Basically, you want to give more permissions (perhaps full trust) to
applications loaded from mapped drives. Normally they are given restricted
permission sets.

Jarek

----- Original Message ----- 
From: "Eric Fetzer" <[EMAIL PROTECTED]>
To: "Scott Hernandez" <[EMAIL PROTECTED]>; "NAnt Developers"
<[EMAIL PROTECTED]>
Sent: Friday, October 24, 2003 9:05 PM
Subject: Re: [nant-dev] Upgraded then Downgraded and It won't work anymore


> Scott,
>
> Good questions!  This machine has a D drive mapped to
> the C drive to mock our dev environments.  When my
> path is pointed at the D drive I get the error, but
> not when pointed at the C.  It had been so long since
> I'd messed with the NAnt release that I'd forgotten.
> Thanks for the quick response and great questions!
>
> Eric
>
>
> --- Scott Hernandez <[EMAIL PROTECTED]> wrote:
> > Eric, can you give us a list of the steps of how you
> > upgraded and went back?
> > Did you just unzip the distribution to a directory?
> > Are you sure you are
> > using the version of nant you expect? Can you check
> > your path for other
> > copies of nant.exe? Are you running nant.exe from a
> > network share?
> >
> >
> > I have many version of nant on my system and always
> > make sure to run
> > nant.exe explicitly from the directory and
> > distribution I want. You should
> > be able to have as many side-by-side installation of
> > nant as you want.
> >
> > Also, what version of the framework are you using.
> > Are you using the
> > pre-built version of the binaries (in the
> > distribution), or have you
> > compiled your own version?
> >
> > ----- Original Message ----- 
> > From: "Eric Fetzer" <[EMAIL PROTECTED]>
> > To: "NAnt Developers"
> > <[EMAIL PROTECTED]>
> > Sent: Friday, October 24, 2003 11:41 AM
> > Subject: [nant-dev] Upgraded then Downgraded and It
> > won't work anymore
> >
> >
> > > Sorry for the long title, I was trying to be
> > > descriptive.  I grabbed the latest nightly build
> > and
> > > tried to use it.  It didn't work for me, so I went
> > > back to NAnt 0.8.3 final again.  Now for some
> > reason
> > > it won't work.  When I do a nant -help, I get:
> > >
> > >
> > > Unhandled Exception:
> > > System.TypeInitializationException: The type
> > > initializer for "NAnt.Console.ConsoleStub" threw
> > an
> > > excepti
> > > on. ---> System.TypeInitializationException: The
> > type
> > > initializer for "log4net.spi.LoggerManager" threw
> > an
> > > exception. ---> Sy
> > > stem.Security.SecurityException: Request for the
> > > permission of type
> > > System.Security.Permissions.SecurityPermission,
> > > mscorlib,
> > >  Version=1.0.3300.0, Culture=neutral,
> > > PublicKeyToken=b77a5c561934e089 failed.
> > >    at log4net.spi.LoggerManager..cctor()
> > >
> > > The state of the failed permission was:
> > > <IPermission
> > >
> >
> class="System.Security.Permissions.SecurityPermission,
> > > mscorlib, Version=1.0.3300.0, Culture=neutral,
> > > PublicKeyT
> > > oken=b77a5c561934e089"
> > >              version="1"
> > >              Flags="ControlAppDomain"/>
> > >
> > >    --- End of inner exception stack trace ---
> > >    at log4net.spi.LoggerManager.GetLogger(Assembly
> > > domainAssembly, String name)
> > >    at log4net.LogManager.GetLogger(Type type)
> > >    at NAnt.Console.ConsoleStub..cctor()
> > >    --- End of inner exception stack trace ---
> > >    at NAnt.Console.ConsoleStub.Main(String[] args)
> > >
> > >
> > > I would extremely appreciative to anyone who could
> > > help me out with a fix.  I'm supposed to be doing
> > a
> > > build now.
> > >
> > > Thanks,
> > > Eric
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > The New Yahoo! Shopping - with improved product
> > search
> > > http://shopping.yahoo.com
> > >
> > >
> > >
> >
> -------------------------------------------------------
> > > This SF.net email is sponsored by: The SF.net
> > Donation Program.
> > > Do you like what SourceForge.net is doing for the
> > Open
> > > Source Community?  Make a contribution, and help
> > us add new
> > > features and functionality. Click here:
> > http://sourceforge.net/donate/
> > > _______________________________________________
> > > nant-developers mailing list
> > > [EMAIL PROTECTED]
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/nant-developers
> > >
> > >
> >
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: The SF.net Donation Program.
> Do you like what SourceForge.net is doing for the Open
> Source Community?  Make a contribution, and help us add new
> features and functionality. Click here: http://sourceforge.net/donate/
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to