<small id='4gmCx'></small><noframes id='4gmCx'>

    • <bdo id='4gmCx'></bdo><ul id='4gmCx'></ul>
    <legend id='4gmCx'><style id='4gmCx'><dir id='4gmCx'><q id='4gmCx'></q></dir></style></legend>
    <i id='4gmCx'><tr id='4gmCx'><dt id='4gmCx'><q id='4gmCx'><span id='4gmCx'><b id='4gmCx'><form id='4gmCx'><ins id='4gmCx'></ins><ul id='4gmCx'></ul><sub id='4gmCx'></sub></form><legend id='4gmCx'></legend><bdo id='4gmCx'><pre id='4gmCx'><center id='4gmCx'></center></pre></bdo></b><th id='4gmCx'></th></span></q></dt></tr></i><div id='4gmCx'><tfoot id='4gmCx'></tfoot><dl id='4gmCx'><fieldset id='4gmCx'></fieldset></dl></div>

      <tfoot id='4gmCx'></tfoot>

      1. “80040154 类未注册"与 ASP.NET 的互操作

        #39;80040154 Class not registered#39; with interop from ASP.NET(“80040154 类未注册与 ASP.NET 的互操作)
          <tbody id='E6Bps'></tbody>
        <tfoot id='E6Bps'></tfoot>

        <small id='E6Bps'></small><noframes id='E6Bps'>

          <bdo id='E6Bps'></bdo><ul id='E6Bps'></ul>

            <legend id='E6Bps'><style id='E6Bps'><dir id='E6Bps'><q id='E6Bps'></q></dir></style></legend>
                • <i id='E6Bps'><tr id='E6Bps'><dt id='E6Bps'><q id='E6Bps'><span id='E6Bps'><b id='E6Bps'><form id='E6Bps'><ins id='E6Bps'></ins><ul id='E6Bps'></ul><sub id='E6Bps'></sub></form><legend id='E6Bps'></legend><bdo id='E6Bps'><pre id='E6Bps'><center id='E6Bps'></center></pre></bdo></b><th id='E6Bps'></th></span></q></dt></tr></i><div id='E6Bps'><tfoot id='E6Bps'></tfoot><dl id='E6Bps'><fieldset id='E6Bps'></fieldset></dl></div>
                • 本文介绍了“80040154 类未注册"与 ASP.NET 的互操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在运行 IIS6 的 Windows XP Pro SP2 x64 机器上收到以下错误:

                  I'm receiving the following error on a Windows XP Pro SP2 x64 machine running IIS6:

                  System.Runtime.InteropServices.COMException: 
                  Retrieving the COM class factory for component with CLSID
                  {3C250CBD-6CC9-11D2-9457-00004B48467E} failed due to the following error:
                  80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
                  

                  这发生在尝试实例化 COM 互操作对象时.

                  This occurs when trying to instantiate a COM interop object.

                  奇怪的是,这在与应用程序池(AD 中的用户)在同一帐户下运行的控制台应用程序中运行良好.IE.两者都使用 UserX,所以这似乎不是一个明显的权限问题.

                  Oddly enough, this works fine from a console application running under the same account as the application pool (a user in AD). I.e. both use UserX, so it doesn't seem like an obvious permissions issue.

                  其他人有类似的吗?

                  推荐答案

                  确保您的应用程序池是 32 位(或支持 32 位应用程序)或您的 COM 控件支持 64 位应用程序.很可能,您的本机 COM 库是 32 位的,而您的池默认运行 64 位工作程序,无法加载 32 位 COM dll.

                  Make sure that your application pool is either 32 bit (or supports 32 bit apps) or your COM control supports 64 bit apps. Most likely, your native COM library is 32bit and your pool runs a 64 bit worker by default, which is unable to load 32bit COM dll.

                  这篇关于“80040154 类未注册"与 ASP.NET 的互操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Performance overhead of using attributes in .NET(在 .NET 中使用属性的性能开销)
                  Accessing attribute info from DTE(从 DTE 访问属性信息)
                  c# Hide a property in datagridview with datasource(c#使用数据源隐藏datagridview中的属性)
                  Extract Display name and description Attribute from within a HTML helper(从 HTML 帮助器中提取显示名称和描述属性)
                  How can I force the PropertyGrid to show a custom dialog for a specific property?(如何强制 PropertyGrid 显示特定属性的自定义对话框?)
                  Associate attribute with code generated property in .net(将属性与 .net 中的代码生成属性相关联)

                  <legend id='VPNnh'><style id='VPNnh'><dir id='VPNnh'><q id='VPNnh'></q></dir></style></legend>
                    • <bdo id='VPNnh'></bdo><ul id='VPNnh'></ul>

                        <i id='VPNnh'><tr id='VPNnh'><dt id='VPNnh'><q id='VPNnh'><span id='VPNnh'><b id='VPNnh'><form id='VPNnh'><ins id='VPNnh'></ins><ul id='VPNnh'></ul><sub id='VPNnh'></sub></form><legend id='VPNnh'></legend><bdo id='VPNnh'><pre id='VPNnh'><center id='VPNnh'></center></pre></bdo></b><th id='VPNnh'></th></span></q></dt></tr></i><div id='VPNnh'><tfoot id='VPNnh'></tfoot><dl id='VPNnh'><fieldset id='VPNnh'></fieldset></dl></div>
                            <tbody id='VPNnh'></tbody>

                          <small id='VPNnh'></small><noframes id='VPNnh'>

                          <tfoot id='VPNnh'></tfoot>