Good morning:

I have written a console app that is scheduled (Windows Scheduler) to run once a month. The .exe works fine on my local machine but when it's copied to a shared network drive it throws the following error:

----------------------------------------------

An unhandled exception of type 'System.Security.SecurityException' occurred

Additional information: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

----------------------------------------------

I added <trust level = "Full"/> to my app.config to no avail. Any ideas as to what's going on here?

Thanks!