日期:2014-05-18  浏览次数:20479 次

注册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>
子标记