Commerce Server 2007 sp2 和 ASP.NET 集成管道

发布于 2024-10-16 12:19:12 字数 2178 浏览 1 评论 0原文

我正在使用 Microsoft Commerce Server 2007 sp2 和自定义 ASP.NET 2.0 网站。经典管道中一切正常,但当我尝试使用集成管道时,它失败并出现以下错误:

Server Error in '/' Application.
Request is not available in this context
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: Request is not available in this context

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): Request is not available in this context]
   System.Web.HttpContext.get_Request() +11189992
   System.Web.TraceContext.InitRequest() +269
   System.Web.TraceContext.VerifyStart() +133
   System.Web.TraceContext.Write(String category, String message, Exception errorInfo, Boolean isWarning, Boolean writeToDiagnostics) +162
   System.Web.TraceContext.Write(String category, String message) +69
   Microsoft.CommerceServer.Runtime.CommerceDataWarehouseAuthenticationModule.Init(HttpApplication appInstance) +67
   System.Web.HttpApplication.InitModulesCommon() +124
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1162
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +312
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +133
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +341


Version Information: Microsoft .NET Framework Version:2.0.50727.5416; ASP.NET Version:2.0.50727.5419 

这是一个从 Commerce Server 2007 升级到 Commerce Server 2007 sp2 的网站。

我已按照 http:/ 上的说明进行操作/social.msdn.microsoft.com/Forums/en/commserver2007/thread/8eabc7fb-ccfa-48e3-9c29-d43bf03cc438 添加 web.config 部分,但没有任何区别。

I am using Microsoft Commerce Server 2007 sp2 and a custom ASP.NET 2.0 website. Everything works well in Classic Pipeline, but when I try to use the Integrated pipeline, it fails with the following error:

Server Error in '/' Application.
Request is not available in this context
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: Request is not available in this context

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): Request is not available in this context]
   System.Web.HttpContext.get_Request() +11189992
   System.Web.TraceContext.InitRequest() +269
   System.Web.TraceContext.VerifyStart() +133
   System.Web.TraceContext.Write(String category, String message, Exception errorInfo, Boolean isWarning, Boolean writeToDiagnostics) +162
   System.Web.TraceContext.Write(String category, String message) +69
   Microsoft.CommerceServer.Runtime.CommerceDataWarehouseAuthenticationModule.Init(HttpApplication appInstance) +67
   System.Web.HttpApplication.InitModulesCommon() +124
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1162
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +312
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +133
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +341


Version Information: Microsoft .NET Framework Version:2.0.50727.5416; ASP.NET Version:2.0.50727.5419 

This is a website that was upgraded from Commerce Server 2007 to Commerce Server 2007 sp2.

I have followed the instructions at http://social.msdn.microsoft.com/Forums/en/commserver2007/thread/8eabc7fb-ccfa-48e3-9c29-d43bf03cc438 to add the web.config section, but it hasn't made any difference.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文