not logged in Login
logo

Further Information

X

No thanks, I don't want to customize this item

We require some additional information for this item.



Price  

Shopping Cart  (0)

Your basket is empty
  • View Basket
  • Make Enquiry

Information

The item(s) were added to your basket.

X
  • Home
  • Demo
    • Screenshots
    • Online Demo
  • Downloads
    • Software
  • Features
    • Features Listing
    • Payment Systems
    • Open Source Code
    • Real-Time Shipping
    • Data Tool
  • Buy
  • Account
  • Support
    • Knowledgebase
    • Support Tickets
    • Free Forum
  • Further Info
    • Sample Sites
    • Company Overview
    • News
    • FAQ
  • Contact

More Information

RSS Feed

Kartris RSS Feed

News, updates and other things-you-should-know.

Email

Mailing List

Receive email when our RSS news feed is updated, courtesy of Google Feedburner.

Kartris on Twitter

Twitter Feed

Follow Kartris on Twitter.

FreeASPNetCart.com - Free Kartris Support

FreeASPNetCart.com

Free Kartris support forums.



Skip Navigation LinksHome Knowledgebase Security Exception
Full Knowledgebase Listing

Security Exception - Description: The application attempted to perform an operation not allowed by the security policy

[#36] Last update 5 Feb 2012

After installing Kartris, or adding in new DLLs to an existing site from Kartris, you may see the following error (or similar):

Security Exception
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission please
contact your system administrator or change the application's trust level in the
configuration file.
Exception Details: System.Security.SecurityException: Request for the
permission of type 'System.Web.AspNetHostingPermission, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be
identified using the exception stack trace below.

This happens because Windows automatically distrusts items downloaded from the web in a browser.

To avoid this error, after downloading the Kartris zip, right click it and view the properties. You will see something similar to the following... click the 'unblock' button indicated near the bottom:

 

This unblocks the zip, and all the files within it.

To fix a site where blocked DLLs have been installed, you have two options. You can unblock the zip and copy out the various files again to your web (quicker). Or you can manually unblock each DLL on the web in a similar way.

Kartris ASP.NET Ecommerce
©2011 Cactusoft International FZ LLC.