2011-08-01 3 views
0

새로운 Win 2008 Server VM이 있습니다. 방금 BizTalk 2010 DVD에서 UDDI 웹 사이트를 설치했습니다. 페이지로 이동하려고 시도하면 : http://localhost/uddi 다음 오류가 발생합니다. 누구든지 도와 줄 수 있습니까? 웹 사이트의 앱 풀이 통합 모드에서 로컬 관리자 계정으로 실행됩니다. 앱 풀을 클래식 모드로 변경하면 UDDI 서비스 데이터베이스에 연결할 수 없다는 예외가 발생합니다. 이것은 응용 프로그램 풀 ID가 db 소유자 인 로컬 SQL Server 2008 인스턴스에 설치됩니다.Microsoft UDDI 오류

<html> 
    <head>  
    <title>Request is not available in this context</title> 
     <style> 
     body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
     p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} 
     b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} 
     H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } 
     H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } 
     pre {font-family:"Lucida Console";font-size: .9em} 
     .marker {font-weight: bold; color: black;text-decoration: none;} 
     .version {color: gray;} 
     .error {margin-bottom: 10px;} 
     .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } 
     </style> 
    </head> 

    <body bgcolor="white"> 

      <span><H1>Server Error in '/uddi' Application.<hr width=100% size=1 color=silver></H1> 

      <h2> <i>Request is not available in this context</i> </h2></span> 

      <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> 

      <b> Description: </b>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. 

      <br><br> 

      <b> Exception Details: </b>System.Web.HttpException: Request is not available in this context<br><br> 

      <b>Source Error:</b> <br><br> 

      <table width=100% bgcolor="#ffffcc"> 
       <tr> 
        <td> 
         <code><pre> 

Line 29: public void Application_Start(object source, EventArgs e) 
Line 30: { 
<font color=red>Line 31:  Config.Refresh(); 
</font>Line 32:   SessionCache.Init(); 
Line 33: }</pre></code> 

        </td> 
       </tr> 
      </table> 

      <br> 

      <b> Source File: </b> c:\Program Files (x86)\Microsoft UDDI Services\webroot\global.asax<b> &nbsp;&nbsp; Line: </b> 31 
      <br><br> 

      <b>Stack Trace:</b> <br><br> 

      <table width=100% bgcolor="#ffffcc"> 
       <tr> 
        <td> 
         <code><pre> 

[HttpException (0x80004005): Request is not available in this context] 
    System.Web.HttpContext.get_Request() +11177464 
    UDDI.Localization.GetCulture() +168 
    UDDI.UDDIText.ConstructString(String stringToConstruct) +26 
    UDDI.UDDIText..ctor(String textName, Object[] textFormatParts) +59 
    UDDI.Config.Refresh() +1606 
    ASP.global_asax.Application_Start(Object source, EventArgs e) in c:\Program Files (x86)\Microsoft UDDI Services\webroot\global.asax:31 

[HttpException (0x80004005): Request is not available in this context] 
    System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4174081 
    System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +205 
    System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +336 
    System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +350 
    System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +382 

[HttpException (0x80004005): Request is not available in this context] 
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11305670 
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88 
    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4342340 
</pre></code> 

        </td> 
       </tr> 
      </table> 

      <br> 

      <hr width=100% size=1 color=silver> 

      <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.4961; ASP.NET Version:2.0.50727.4955 

      </font> 

    </body> 
</html> 

답변

0

IIS 통합 모드 관련 오류는 빨간색 청어 일 수 있습니다. 저는 Windows Server 2008 R2 x64 시스템에서 BizTalk 2010을 사용하여 IIS 통합 모드의 UDDI 서비스를 실행하고 있지만 로컬 SQL 인스턴스에 데이터베이스가 있습니다. 명명 된 인스턴스 (사용 가능한 원격 SQL Server)에 UDDI를 설치하면 모두 엉망입니다. .

자세한 내용 (예 : 정확한 오류 메시지)없이 문제를 해결하기 어렵다는 UDDI 데이터베이스에 연결할 수 있다는 오류에 집중하십시오. this thread에서 UDDI 작동에 대한 제안을 확인하는 것이 도움이 될 수 있습니다.

관련 문제