0

当我尝试运行使用 srmlib.dll 的代码时,我遇到了一个异常,因为没有注册 srmlib.dll,但是当我尝试注册它(regsvr32)时,我遇到了上述错误。

我在我的注册表中找到了该 Dll 的条目:HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Assemblies\C:|Program Files|Reference Assemblies|Microsoft|FSRM|v7.0|srmlib.dll

我使用 Depends 检查 Dll 并看到 IESHIMS.dll 丢失,但我不确定这与我的问题有什么关系。

该怎么办?

4

1 回答 1

0

It turns up that when loading the srmlib.dll it interacts with the server and therefore has to be on active FSRM server.

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

and run the code on that server. That should solve the problem.

于 2012-12-16T09:14:05.767 回答