简体   繁体   English

已加载模块“ srmlib.dll”,但未找到入口点DllRegisterServer

[英]The module “srmlib.dll” was loaded but the entry-point DllRegisterServer was not found

When I'm trying to run code that uses srmlib.dll I'm getting an exception, for not register the srmlib.dll, but when I'm trying to register it (regsvr32) I'm getting the above error. 当我尝试运行使用srmlib.dll的代码时,出现异常,因为未注册srmlib.dll,但是当我尝试注册它(regsvr32)时,出现上述错误。

I found an entry in my registry for that Dll: HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\Installer\\Assemblies\\C:|Program Files|Reference Assemblies|Microsoft|FSRM|v7.0|srmlib.dll 我在注册表中找到了该Dll的条目: HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\Installer\\Assemblies\\C:|Program Files|Reference Assemblies|Microsoft|FSRM|v7.0|srmlib.dll

I used Depends to check the Dll and saw that IESHIMS.dll is missing but I'm not sure that has anything to do with my problem. 我使用Depends检查了DLL,发现IESHIMS.dll丢失了,但是我不确定这与我的问题有关。

What to do? 该怎么办?

It turns up that when loading the srmlib.dll it interacts with the server and therefore has to be on active FSRM server. 事实证明,在加载srmlib.dll时,它与服务器交互,因此必须在活动的FSRM服务器上。

So what you need to do it quiet simple, just configure your server to run FSRM service as shown on this link: http://blogs.technet.com/b/josebda/archive/2008/08/20/the-basics-of-windows-server-2008-fsrm-file-server-resource-manager.aspx 因此,您只需简单地配置服务器即可运行FSRM服务,如该链接所示: http : //blogs.technet.com/b/josebda/archive/2008/08/20/the-basics- Windows Server 2008-fsrm文件服务器资源管理器.aspx

and run the code on that server. 并在该服务器上运行代码。 That should solve the problem. 那应该解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM