How to perform debugging of an ASP.NET application that runs in the same site as Microsoft® SharePoint

  • 24 February 2022
  • 0 replies
  • 7 views

Userlevel 3
Badge +8
 

How to perform debugging of an ASP.NET application that runs in the same site as Microsoft® SharePoint

KB000063

PRODUCT
K2.net 2003
TAGS
IIS
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

This article explains how to perform debugging of an ASP.NET application that runs in the same site as Microsoft® SharePoint.

 

You may receive the following error message when trying to debug an ASP.NET application on the same machine where SharePoint is installed:
 
Error HTTPException (0x80004005) Debugging is not supported under current trust level settings
 

This error occurs when running ASP.NET web applications when “Debug” is set to "true".

To repair the error, add one of the following lines to the “Web.config” file, which is located in the ASP.NET application’s directory:

 

<trust level="WSS_Medium" originUrl="" />

 

or

 

<trust level="Full" originUrl="" />

 

 


0 replies

Be the first to reply!

Reply