System.Runtime.InteropServices.COMException: Unknown error (0x80005000) on win7 box
2012-09-10 13:35
405 查看
http://social.msdn.microsoft.com/Forums/en/netfx64bit/thread/03aa04ec-9938-4c55-b351-5defa02e2a80
IIS 7 does not install an ADSI provider by default. You can enable it however as a Role Service for the IIS Web Server. You need to enable the IIS 6 Metabase Compatiblity role service."
It wasn't until I looked closer at the new Server 2008 64bit box that I saw the IIS6 stuff had not been installed -- I didn't load the box. Then I went back and looked at our other 32bit boxes running IIS7 and they *did* have all the IIS6 stuff installed.
But then we faced the issue of how to determine if this component was installed or not, as our app could be run on a box thay may or may not have it ... and apparently it is needed.
So, a little bit of searching around and I was able to locate this article which seems to have answered that question as well:
http://learn.iis.net/page.aspx/135/discover-installed-components/
IIS 7 does not install an ADSI provider by default. You can enable it however as a Role Service for the IIS Web Server. You need to enable the IIS 6 Metabase Compatiblity role service."
It wasn't until I looked closer at the new Server 2008 64bit box that I saw the IIS6 stuff had not been installed -- I didn't load the box. Then I went back and looked at our other 32bit boxes running IIS7 and they *did* have all the IIS6 stuff installed.
But then we faced the issue of how to determine if this component was installed or not, as our app could be run on a box thay may or may not have it ... and apparently it is needed.
So, a little bit of searching around and I was able to locate this article which seems to have answered that question as well:
http://learn.iis.net/page.aspx/135/discover-installed-components/
相关文章推荐
- WIN7 C# System.Runtime.InteropServices.COMException VLC HRESULT:0x80040154 (REGDB_E_CLASSNOTREG)
- WIN7 C# System.Runtime.InteropServices.COMException VLC HRESULT:0x80040154 (REGDB_E_CLASSNOTREG)
- 异常详细信息:System.Runtime.InteropServices.COMException: 此事务已明地或暗地被确认或终止
- 完美解决“换另一台电脑上用VS2008继续开发web项目时出现“System.Runtime.InteropServices.COMException”,然后是加载不了项目。”
- System.Runtime.InteropServices.COMException
- System.Runtime.InteropServices.COMException: 拒绝访问.
- System.Runtime.InteropServices.COMException: 检索 COM 类工厂中 CLSID 为 {0002E510-0000-0000-C000-000000000046} 的组件时失败,原因是出现以下错误: 80040154
- arcgis二次开发遇到System.Runtime.InteropServices.COMException (0x80040228) :异常来自HRESULT:0x80040228
- 异常详细信息: System.Runtime.InteropServices.COMException: 无效的类别字符串
- System.Runtime.InteropServices.COMException(0x8004020F): The server rejected one or more recipient addresses.
- VS 2008 打开 WebApplication 报 System.Runtime.InteropServices.COMException 错误
- Asp.Net操作Word内容“System.Runtime.InteropServices.COMException: 命令失败”的解决方法
- System.Runtime.InteropServices.COMException (0x80040154)错误
- Visual Studio 2008 System.Runtime.InteropServices.COMException
- VS 2008 打开 WebApplication 报 System.Runtime.InteropServices.COMException 错误
- System.Runtime.InteropServices.COMException (0x80010105): 服务器出现意外情况 问题的解决
- 文档管理系统 之一 doc、xls、ppt文档转换成html及System.Runtime.InteropServices.COMException (0x80004005): 360的问题
- 完美解决“换另一台电脑上用VS2008继续开发web项目时出现“System.Runtime.InteropServices.COMException”,然后是加载不了项目。”
- “System.Runtime.InteropServices.COMException”/ 其他信息: ClassFactory 无法供应请求的类 (异常来自 HRESULT:0x80040111
- System.Runtime.InteropServices.COMException: 拒绝访问.