SecurityException


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: SecurityException

  1. #1
    Join Date
    Mar 2005
    Posts
    105

    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!

  2. #2
    Join Date
    Mar 2005
    Posts
    105
    Oops! I forgot to change to "Release" mode. That fixed it!

Similar Threads

  1. 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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center