2011-02-10 10 views
1

Microsoft Commerce Server 2007 sp2およびカスタムASP.NET 2.0 Webサイトを使用しています。すべてがクラシックパイプラインでうまく動作しますが、私は統合パイプラインを使用しようとすると、それが次のエラーで失敗します。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のSP2にのCommerce Server 2007からアップグレードされたウェブサイトです。

私はhttp://social.msdn.microsoft.com/Forums/en/commserver2007/thread/8eabc7fb-ccfa-48e3-9c29-d43bf03cc438の指示に従ってweb.configセクションを追加しましたが、何の違いもありません。

+0

あなたのweb.configマイナス個人/機密のものを投稿し、私は助けることができるかもしれません。 – joebarbere

+0

商用サーバのmsft担当者が古典的なモードとして32ビットを有効にしておくように指示したが、彼は仕事に統合できなかった –

答えて

0

あなたはまた、スターターサイトのSP2のコードをチェックアウトする場合があります。この

http://mvolo.com/blogs/serverside/archive/2007/11/10/Integrated-mode-Request-is-not-available-in-this-context-in-Application_5F00_Start.aspx

を試みるかもしれない...そこにあるweb.configファイルはあなたを助けるかもしれません。

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=10f9c18e-3e15-4ab9-9c40-a424876d1630&displaylang=en

関連する問題