Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I get this message regularly when surfing the web:
A runtime error has occurred.
Do you wish to debug?Line 154
Error: Access is denied.
According to Microsoft, it is because the web site I am opening has an apostrophe in the name. But I only get this on one of my machines. I do have Visual Studio 6 installed, and this seems to relate in some way to VB.What can I do?? See attached jpeg of error.

Hi, I have the same problem as you did, therefore, I searched around, and found this solution. Hope this help!!
If you want to go to the URL, here it is:
http://www.windowstrouble.com/2000/runtime_error.shtml
Runtime Error
"A Runtime Error has occurred. Do you wish to debug?" Sounds familiar? A runtime error is an error that occurs when code is executed, in other words: whenever a program or script runs, as opposed to an error that occurs when the code is written (also called "design time") or when the program is installed.If you have a script debugger installed, you could see runtime errors when you browse the Internet with Internet Explorer. This doesn't mean that there is something wrong with Internet Explorer: the error occurs in a script or Java program that is part of the code of the web page you are visiting (or of a script that the web page refers to). "Debugging" is usually impossible on the Internet, because you will only have Read access.
To get rid of these error messages, go to Control Panel and click the Internet Options icon. On the advanced tab, check the "Disable script debugging box.
Disabling script debugging by Internet Explorer will take effect without restarting your computer, but enabling it again requires a reboot...Without script debugging enabled, or without a debugger at all, Internet Explorer will still spot what it considers a mistake in Javascript, JScript or Visual Basic Script, with a yellow triangle in the status bar and the briefly appearing message "Done, but with errors on page".
How do you know if you have a Script Debugger installed? There are two Microsoft script debuggers: one comes with IIS (Internet Information Server) and one with Visual Studio.The IIS debugger is considered a Windows component, so you can uninstall it just like any other Windows component in Control Panel - Add/Remove Programs - Add/Remove Windows Components. As often, this uninstalling by Windows could do with some debugging: the folder Program Files\Microsoft Script Debugger is deleted, and that's about all; the numerous Registry settings for this program are not removed.
If you have installed the complete Microsoft Visual Studio, or only Visual Interdev and/or Visual J++, you will have also have a script debugger. The Visual Studio debugger is considered a better product; even the debugger that comes with IIS 5.0 is not exactly cutting edge: it hasn't been updated since 1997 and was designed for IE 4.0.
Not only scripts or Java applets can produce "runtime errors". If an error occurs in a application written in Visual Basic, you could also get a runtime error, although this is considered a common programmer's mistake (a lack of "error handling" skills). Visual C++ apps can also cause runtime errors, but this is always indicated as an error caused in the Visual C++ Runtime Library (consisting of the Msvcrt DLLs).
Conclusion: a runtime error is always the result of a mistake in program code or script code, and not of a fault in operating system or hardware.
Sincerely,
Louisa Leung

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |