Issue With Registry Key of dfshim.dll

感情迁移 提交于 2019-12-12 01:56:16

问题


I was getting error when opening ReportBuilder Application from my WPF app on a Windows Server 2012 machine with Report Builder 3.0 for Sql Server 2012.

As I workfound I deleted the registry key of dfshim.dll from below location:[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths\dfshim.dll].

After this I am not getting any error and report builder is opening fine.

What is the use of this registry key and what will be the impact if I delete this entry? I am not removing the dfshim.dll but only deleting the registry entry.

Any help will be appreciated. Thanks


回答1:


dfshim.dll is part of Microsoft's ClickOnce deployment technology. My guess is that ReportBuilder is being propagated to the client machine via ClickOnce. Looking at my entries in the key you mentioned, I see one entry entitled UseUrl=1 (dword). I assume this means true and probably has something to do with using the URL specified by ClickOnce to launch the application. I suspect that rather than deleting the key, if you set it to 0, you would probably achieve the same result. ClickOnce usually attempts to connect to the host URL when a request is made to launch an application to validate the most current version of the application is installed locally. I suspect deleting this key bypasses the network check and just runs the local copy.

If you hover over the ReportBuilder link make note of it and attempt to navigate to it directly. If the application does not open, then a network or firewall issue is possibly causing this problem.

Check your event viewer for any error logs too. They could help to triage the problem.

You may also want to take a peek at this Microsoft Connect post.



来源:https://stackoverflow.com/questions/17714192/issue-with-registry-key-of-dfshim-dll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!