首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

注册dll出错,咋回事

2012-02-03 
注册dll出错,怎么回事?我注册dll时regsvr32Interop.EA.dll时有错误提示,怎么回事?Interop.EA.dllwasloaded

注册dll出错,怎么回事?
我注册dll时   regsvr32   Interop.EA.dll时有错误提示,怎么回事?

Interop.EA.dll   was   loaded.   but   the   DLLRegisterServer   entry   point   was   not   ound.

DllRegisterServer   may   not   be   expported.   or   a   corrupt   version   of   Interop.EA.dll   may   be   in   memory.   Consider   using   PView   to   detect   and   remove   it

[解决办法]
Interop.EA.dll 似乎是你引用以后产生的dll。
一般在net环境用com组件要注意次序问题:先regsvr32注册,然后add reference引用,不然会报错。


[解决办法]
人家让你引用有没让你regsvr32
1. From the Visual Studio Project menu select Add Reference.
2. Click on the Browse tab.
3. Navigate to the folder in which you installed EA (usually Program Files/Sparx Systems/EA) and select Interop.EA.dll.
[解决办法]
呵呵
csc /reference:file[;file2]

[解决办法]
你代码全在aspx文件上么??没有用到后台代码??
try
指定在 ASP.NET 资源的编译期间使用的程序集。
修改web.config文件
<configuration>
<system.web>
<compilation>
<assemblies>

<assemblies>
<add assembly= "assembly "/>
<remove assembly= "assembly "/>
<clear/>
</assemblies>
子标记

热点排行