I have both Visual Studio .NET 2005 Express as well as Visual Studio .NET 2003 installed on my PC. I just installed Service Pack 1 for VS 2003. For some reason this decided to take over file associations for things like .VBS. Instead of launching the Windows Scripting Host, it launches Visual Studio .NET 2003.
This is a big problem if you have a VBS script run during logon. It tries to launch VS, but it can’t because I’m not logged on yet. So I get an error with “The application could not start”. Thanks. The computer basically hangs at that point and I can’t even bring up Task Manager. So, boot into safe mode or find another way of preventing the startup scripts from running. Then locate the file: ‘C:\WINDOWS\INF\WSH.INF’ then right-click on it and select ‘Install.’ This will fix the associations for all the script types.
-
Recent Posts
Recent Comments
Archives
- November 2009
- July 2009
- April 2009
- March 2009
- August 2008
- July 2008
- June 2008
- April 2008
- March 2008
- January 2008
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- November 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
Categories
Meta