Fixing SQLDeveloper MSVCR71.DLL Not Found Error
I recently installed Oracle SQLDeveloper on a clean install of Windows Server 2008. I had done this many times in the past with no problems, and so I was surprised when I went to run it and got this error:

This application failed to start because MSVCR71.dll was not found.
Wow. Been a while since I’ve seen that one.
Since this was a new install of Server 2008 I presumed the problem was simply that I didn’t have the Microsoft Visual C Runtime files. I went to Microsoft and and installed the recommended CRT files. No joy. Still not working.
I searched my computer for the runtimes to see where the install put them, and found nothing in the Windows folders, but several hits under the sqldeveloper folders. So, the runtime was included with the Oracle SQLDeveloper files, but because its folder was not on the path, there was no way for it be found. And the Microsoft runtime install, whatever it did, did not put the files where they could be found.
Hmm… How is this supposed to work? The SQLDeveloper app is simply a zip file. You don’t install it. Just unzip it. But if needs the CRT files, and these files aren’t in the Windows folder, how is this going to work? How did it ever work?
I also found this note on Microsoft’s knowledge base:
For Msvcr70.dll or for Msvcr71.dll, you should install the CRT DLL into your application program files directory. You should not install these files into the Windows system directories.
OK. So the runtime installer did the right thing. But, again, how would this work? Clearly Oracle is depending on the runtimes being available (i.e. improperly installed) in their software distribution strategy for SQLDeveloper. But, as Microsoft tightens the reigns, and as people start obeying the rules, this approach falls short. You can’t simply distribute it as a zip file and expect it to work. You’re going to have to provide a little bit of configuration to get the runtimes on the path.
The Solution
To fix it, properly, you need to install SQLDeveloper yourself. Fortunately, this is simple.
- Run regedit as the Administrator
- Expand HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
- Add a new Key to App Paths called sqldeveloper.exe
- Set the (Default) value to the full path to the executable (including the executable name).
- Create a new String value for sqldeveloper.exe called Path and set its value to the jre / bin folder in the SQLDeveloper files.
And here’s what it looks like:

Yes, I could provide you a script to make all these registry entries for you, but you really shouldn’t trust a script that makes changes to your system like that. And, you need to learn how to configure a Windows application anyway.
This problem isn’t limited to Oracle SQLDeveloper. It will be common to any application distributed without an installation process that is dependent on a runtime file that was formerly located in the Windows folder.
Comments
Brutal!!!! Thanks a lot. I
Brutal!!!! Thanks a lot. I has having this problem for 1 hour then I followed your steps and…magic happens! :)
You’re the best. I saved a
You’re the best. I saved a lots of time using your solution.
Your piece of advice was
Your piece of advice was added to my Favorites (it’s a kind of compliment).
Suuuuuuper, Thank you so
Suuuuuuper, Thank you so much, you saved me a lot
Thank you, you are a genious…
Thank you, you are a genious… :-) really
Thanks, this helped a
Thanks, this helped a lot.
Regards, Jason
Thank you very much..The
Thank you very much..The solution works fine
mg
Problem solved, thank you.
Problem solved, thank you.
TY TY TY! I was pulling my
TY TY TY!
I was pulling my hair out trying to make developer work. Awesome!
Allie
It worked for me. Thanks man
It worked for me.
Thanks man you are Awesome! VIV
great explanation of the
great explanation of the solution, ty!
Thank you very much
Thank you very much indeed.
This sorts out SQL developer and sooooo many other things I’ve been trying to run.
TYTYTYTYTYTYTY This solution
TYTYTYTYTYTYTY
This solution was not easily found on the internet.
I figured it was due to pathing but wasn’t sure where to set it since it’s been so long since I’ve done any of this.
Great!! Thank you, very clear
Great!!
Thank you, very clear and useful.
Works like a breeze.
Works like a breeze. Thanks mate
second time i ended up here!
second time i ended up here! thanks! :D
perfect! Thanks.
perfect! Thanks.
awesome!!! a real time and
awesome!!! a real time and life saver!!
also best captcha ever!!!
Really saved my day!
Really saved my day! Thank you!
Wow! thank you so much! XD
Wow! thank you so much! XD
Perfect!! works like a charm.
Perfect!! works like a charm. Cheers mate
Thanks! Works like a
Thanks!
Works like a dream :-)
Thank you very much for this!
Thank you very much for this! Works for sqldeveloper-3.0.04.34 just the same.
Thank you! Worked great!
Thank you! Worked great!
Thanks! Your Hp is very easy
Thanks! Your Hp is very easy to understand.
Dude,You definetly rock :-)
Dude,You definetly rock :-)
Perfect! thanks!!
Perfect! thanks!!
Thanks, it worked.
Thanks, it worked.
Thank you, this fixed my
Thank you, this fixed my problem :)
Spend ages trying to get SQL
Spend ages trying to get SQL Developer working inside XP Virtual Machine on Win 7. There are loads and loads of posts all over forums but this is the only one I have found with a fix.
Great note.
Robert
Thanks!!!!Muchas gracias!!
Thanks!!!!Muchas gracias!!
Thank you soooooo Much.
Thank you soooooo Much.
obrigado Jonathan
obrigado Jonathan
Much love, thank you
Much love, thank you very much!
Excellent Analysis. Thanks
Excellent Analysis. Thanks
Thanks. This worked
Thanks. This worked perfectly for my VM.
This worked perfectly for my
This worked perfectly for my fresh XP Mode Virtual Machine install as well.
Many, many thanks!
Thanks ^_^
Thanks ^_^
You do rock. Thank you.
You do rock. Thank you.
bravo, funge!
bravo, funge!
Perfect!! First Step 5,
Perfect!! First Step 5, after, 1..4
Superb help, saved me
Superb help, saved me trawling for a solution for hours. Much help!!!! :D
Aussum solution, Thanks
Aussum solution, Thanks
I was nearly despaired with
I was nearly despaired with this problem. But since I found this page I be happy because it’s a very good description how to fix it, and works perfectly. Many thanks!
The only thing I need to think was: “Run regedit as the Administrator”.
My solution: I locate C:\windows\regedit.exe via Explorer, use right mouse button and choose “Run as Administrator”.
It worked perfectly! Thanks
It worked perfectly! Thanks a ton!
Perfect. Thanks.
Perfect. Thanks.
Thank you !!! YOU are
Thank you !!! YOU are the man.
very clear
very clear instruction.
Thanks a lot for the solution.
it worked perfectly. Thanks!
it worked perfectly. Thanks!
Ultimate post !! Really this
Ultimate post !!
Really this helped me a lot…….
Thanks !!