471,317 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

cannot compile code on network-drive

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...
Dec 16 '05 #1
5 1133
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

"Chris C" <cm****@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
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...

Dec 16 '05 #2
Change the security settings in the machine config file

Dec 16 '05 #3
>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...
Dec 16 '05 #4

"theiwaz" <ma***********@ascirum.de> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Change the security settings in the machine config file

The machine config has nothing to do with this.

Willy.
Dec 16 '05 #5


"Chris C" <cm****@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
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.
Dec 16 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by PHLICS_Admin | last post: by
4 posts views Thread by John F | last post: by
3 posts views Thread by Peter Afonin | last post: by
3 posts views Thread by mislavb | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.