Lately, I've been having trouble connecting to a remote DVR using DVR Remote Desktop. The program loads fine, but attempts to connect to a DVR fail with various error messages. Three error messages kept appearing:
- Cannot connect to DVR
- Failed to initialize application
- A long error message with Visual C++ in the title window
Visual C++ 2008 SP1 Redistributable Package (x86)
There are a multitude of different redistributable packages out there, all of which are slightly different, but that one worked for me.
This fix worked for me on Windows 7 and Windows 8 (x64).
Occasionally, updates to Windows 8 will 'undo' this fix. Uninstalling and re-installing the redistributable package seems to fix it for me.
If you're running Windows 8 (and possibly 7 or Vista), you will need to install the Redistributable Package as an administrator user. This isn't the same thing as Right Click -> Run as administrator. You need to login as a user with administrator privileges (like the one you created when you first ran your computer) and run the installer.
Advice to Visual C++ Developers
If you're a developer of a publicly available application made with Visual C++, please bundle the redistributable package with your application unless it is impossible for you to do so. It helps eliminate weird compatibility issues like the ones I was having with DVR Remote Desktop.Edits made to this article:
January 11, 2013 - I've tested this fix for Windows 8 (x64), so I added info for Windows 8 users. I also added a note about internet connectivity - sometimes, the "cannot connect to DVR" message sometimes appears because of an Internet issue.
February 17, 2013 - Added some more info (concerning how to install the 'fix') for Windows 8 (and possibly below) users.