Error message in Windows Small Business Server 2003: "Debugging is not supported under current trust level settings" (910665)
The information in this article applies to:
- Microsoft Windows Small Business Server 2003, Premium Edition
- Microsoft Windows Small Business Server 2003, Standard Edition
SYMPTOMSYou are running Microsoft Windows Small Business Server 2003. When you try to use the Remote Web Workplace or another subweb that is using Microsoft ASP.NET under the default Web site, you may receive an error message that is similar to the following: Server Error in '/Remote' Application. Assume that you turn off the friendly custom error by modifying the C:\Inetpub\Remote\Web.config file after you receive this error. If you then try to access a remote Web workplace or a subweb under the default Web site, you receive an error message that is similar to the following: Server Error in '/Remote' Application.
Debugging is not supported under current trust level settings.
Description: An unhandled exception occurred during the execution of the current
web request. Please review the stack trace for more information about the error and
where it originated in the code.
Exception Details: System.Web.HttpException: Debugging is not supported under
current trust level settings.
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.
Stack Trace:
[HttpException (0x80004005): Debugging is not supported under current trust level
settings.]
System.Web.UI.TemplateParser.HandlePostParse() +184
System.Web.UI.TemplateParser.Parse() +200
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() +74
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +189
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +87
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile,
HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
+170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
CAUSEThis problem may occur if the Web.config file is located in the root of the default Web site. The root is typically C:\Inetpub\Wwwroot.
The Remote Web Workplace inherits the information in the Web.config file from the root of the default Web site. If those settings are incompatible, the Remote Web Workplace may fail. RESOLUTIONTo resolve this problem, you must move the application that has been installed in the default Web site to another Web site or into a virtual directory. If you are no longer using the application, remove the Web.config file from the C:\Inetpub\Wwwroot folder. By default, the C:\Inetpub\Wwwroot folder does not contain the Web.config file on a Windows Small Business Server 2003-based computer.
Note Do not install any applications that reference ASP.NET on the companyweb Web site. If you do this, you may break the Microsoft Windows SharePoint Services Web site.STATUS This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/14/2005 |
---|
Keywords: | kbprb KB910665 kbAudDeveloper |
---|
|