我正在使用Microsoft Commerce Server 2007 SP2和自定义ASP.NET 2.0网站。工作一切良好,在经典管道,但是当我尝试使用集成的管道时,出现以下错误:Commerce Server 2007 SP2和ASP.NET集成管道
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部分,但它没有任何区别。
发布你的web.config减去任何个人/机密的东西,我或许可以提供帮助。 – joebarbere 2011-05-06 04:04:03