I recieve a wscript.exe is missing.... when automated VB script is launched via Windows Command Script
Posted on 2011-04-27
I have been backing up databases automatically everyday by creating a VBScript and using Task Scheduler to execute these scripts. However, until recently I have been receiving this error message "Login failed: The config file c:\windows\syswow64\wscript.exe.config does not exist or does not contain the useLegacyV2RuntimeActivationPolicy setting".
How do I recover this wscript.exe or make it contain the useLegacyV2RuntimeActivationPolicy setting? The last change I made to the server is that I upgraded to .NET 4.0.
Any insight to this issue will be helpful, thanks.