cannot compile code on network-drive

C

cmrchs

Hi,

I try to build code that is located on a network drive but allways get a
Security Exception ???

How can I solve this ? (we need to keep the code on the server)

thanks
Chris

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
M

Marc Gravell

You could try using caspol to extend trust to the unc:

(following taken from a previous post by Willy Denoyette [MVP]; the 1.2
means the "localintranet" group)
caspol.exe -m -ag 1.2 -url file://Server/MyShare/* FullTrust

Marc
 
C

cmrchs

Change the security settings in the machine config file

Where in the config-file ?
and change what ?

Thanks

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
W

Willy Denoyette [MVP]

Chris C said:
Hi,

I try to build code that is located on a network drive but allways get a
Security Exception ???

How can I solve this ? (we need to keep the code on the server)

thanks
Chris

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...

Please be more specific, what exception and when during a build or at
runtime.

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top