首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Microsoft UDDI错误

Microsoft UDDI错误
EN

Stack Overflow用户
提问于 2011-08-01 17:19:30
回答 1查看 598关注 0票数 0

我有一个新的Win 2008 Server VM。我刚刚从BizTalk 2010DVD安装了UDDI网站。当我尝试浏览页面:http://localhost/uddi时,我得到了以下错误,有人能帮助我吗?该网站的应用程序池以集成模式在本地管理员帐户下运行。如果我将应用程序池更改为经典模式,则会得到一个异常,即它无法访问UDDI服务数据库。它安装在应用程序池ID是数据库所有者的本地SQL Server 2008实例上。

代码语言:javascript
复制
<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>
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-08-09 00:21:44

IIS集成模式特定错误可能是转移注意力的错误。我在Windows Server2008SQL x64机器上以IIS2010集成模式运行UDDI服务,但是数据库驻留在本地BizTalk实例上,因为在命名实例(我可用的远程SQL Server)上安装UDDI是完全混乱的。

尝试将重点放在能够访问UDDI数据库的错误上,如果没有进一步的细节(例如,确切的错误消息),在这里很难排除故障。查看this thread可能会有所帮助,以获得一些让UDDI工作的建议。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/6896400

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档