5

Everything was working fine until someone in a Microsoft forum had try a couple devenv switches in command prompt mode: devenv /Resetsettings and Run devenv /ResetSkipPkgs.Prompt for an unrelated problem, namely that I could not save aspx files with one click of the save button. Ever since then, I am running into a new problem.

I tried uninstalling VS2012, rebooting, and reinstalling to no avail.

The problem is that I receive a Microsoft JScript runtime error when using the "Use Local IIS Web Server" setting. IIS cannot find variables defined in files it loaded. When I run with the "Use Visual Studio Development Server" option, then it works.

Why is that and how can I get the "Use Local IIS Web Server" working again.

2 images showing the problem. Actual Error Messages Actual code and Solution Explorer showing files

(I uploaded the images yesterday, not sure what happened.)

I am not sure what to make of the problem. I saw another post on a different forum regarding a similar issue.

6
  • "...local IIS that Visual Studio uses seems to not handle Javascript anymore for whatever reason." Can you clarify this statement? Are you saying that when you view source on any browser, the JS links aren't there (in the source)? How are you referencing the files (show code)? If the links are in view source, then it's more likely a path error or an error in the js itself (if it 'doesn't work")....
    – EdSF
    Dec 18, 2012 at 20:52
  • Code is not the problem, doing the reset is. I thought that it was a mistake to do that, as my problem was with saving. Please see my edited post for code samples. Dec 18, 2012 at 22:11
  • I rewrote the issue to be more technical, now that I know more about the problem and give screenshots showing the problem. Dec 18, 2012 at 23:25
  • I have edited your title. Please see, "Should questions include “tags” in their titles?", where the consensus is "no, they should not". Dec 19, 2012 at 0:26
  • The exception shown on the first screen is indicative of an extension gone bad. You could follow the instructions in that dialog and start visual studio with /log flag and check the logs. The steps regarding the other flags were appropriate for that exception. You may want to start VS using devenv.exe /SafeMode and see if the problem goes away. Dec 20, 2012 at 16:38

1 Answer 1

1

0x800a1391 Error Codes are caused in one way or another by misconfigured system files in your windows operating system.

The 0x800a1391 error may be caused by windows system files damage. There can be many events which may have resulted in the system files errors. An incomplete installation, an incomplete uninstall, improper deletion of applications or hardware.

I would sincerely say that you should either restore your computer to an earlier time before you had played with devenv switches. They did nothing but corrupt you system files and created a bug inside to halt the program from retrieving data for javascript code to execute.

http://www.wiki-errors.com/wiki-errors.php?wiki=0x800a1391 You can always visit this wiki article to download the error detection tool to help you on assisting the error correction

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.