system.runtime.interopservices.comexception classfactory无法供应请求的类

SoulMapper 2014-01-16 08:15:52

如图 打包软件 在xp系统上安装正常 在win7 64位系统上安装后 提示这个错误
网上搜索 说COM组件调用失败 要注册dll数据 不明白怎么做
请告之 谢谢
...全文
598 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
threenewbee 2014-01-17
  • 打赏
  • 举报
回复
一个是没有正确注册dll 一个是你的dll是32位的,你需要强制你的程序以32bit运行,否则在x64系统上会出错。
SoulMapper 2014-01-17
  • 打赏
  • 举报
回复
引用 2 楼 BenBenBears 的回复:
1、“开始”-运行-在输入框中输入Regsvr32 dllname(dll的名称,记得加后缀);如果注册成功的话会弹出提示的。 2、编译器-项目属性-生成-目标平台-选择X86。
1.对于注册哪些dll 表示疑惑 才疏学浅 请耐心告之 谢谢 2.这个是在另外的机器上安装软件 不能编译 选择X86 谢谢您热心的回复
SoulMapper 2014-01-17
  • 打赏
  • 举报
回复
引用 1 楼 caozhy 的回复:
一个是没有正确注册dll 一个是你的dll是32位的,你需要强制你的程序以32bit运行,否则在x64系统上会出错。
版主: 1.应该注册哪些dll文件 是关于AE的吗 比如ESRI.ArcGIS.AxControls.dll? 2.不是说64位系统兼容32位的软件啊 如何强制程序以32bit运行?是写入代码里面还是在安装的时候设置哪里?
BenBenBears 2014-01-17
  • 打赏
  • 举报
回复
1、“开始”-运行-在输入框中输入Regsvr32 dllname(dll的名称,记得加后缀);如果注册成功的话会弹出提示的。 2、编译器-项目属性-生成-目标平台-选择X86。
Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154. 收藏 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.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154. 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: [COMException (0x80040154): Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154.] GraphPage.Page_Load(Object sender, EventArgs e) +1097 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 请大家帮忙 谢谢 Server Error in '/' Application. -------------------------------------------------------------------------------- Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154.

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧