-
SecurityException
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!
-
Oops! I forgot to change to "Release" mode. That fixed it!
Similar Threads
-
By Ben in forum Enterprise
Replies: 0
Last Post: 05-28-2002, 06:35 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|