General discussion

Locked

Microsoft Development Environment

By VCHD_IT ·
While attempting to access a website, received "A Runtime Error has occurred. Do you wish to Debug?
Line:155
Error: Object expected"

You are given two options; Yes & No
If you select "No" Internet Explorer closes and your connection to the server is severed. If you select "Yes" you receive "An exception of type 'Microsoft JScript runtime error: Object expected' was not handled." message. This message presents an "OK" selection. Once you select it the Microsoft Development Environment application opens.

This application has the appearance of being a web design/editing application. There are five windows; Script outline, Autos, Watch, Project Explorer and the main display window that has three tabs. The tabs are, Design, Source, and QuickView.

The "Source" window displays script. The line showing is oll.gif');message();">
There are other lines above and below but they are spaced out.

I have upgraded IE to 5.5SP2 but the problem persists. I have gone to another workstation and viewed the same website with no problem.

This problem has occurred, so far, at two websites.

Any suggestions or solution will be appreciated.

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Microsoft Development Environment

by maxwell edison In reply to Microsoft Development Env ...

According to Microsoft article Q233112:

SYMPTOMS:
When you try to view a Web page with the Microsoft Visual InterDev version 6.0 Navigation bar, you may receive the following error message:

A Runtime Error has occurred. Do you wish to Debug?

CAUSE:
This issue occurs when the Visual InterDev PageNavbar control tries to open a Web page whose name contains an apostrophe (').

RESOLUTION:
To resolve this issue, rename the Web page and remove apostrophe.

STATUS:
This behavior is by design.

Maxwell

Collapse -

Microsoft Development Environment

by maxwell edison In reply to Microsoft Development Env ...

.
.
Another possibility:

Symptom:
When opening a page within Internet Explorer a dialog box is displayed titled ?Error? displaying the message:

A Runtime Error has occurred.
Do you wish to Debug?

Line: NN
Error: Object expected

Whatthe error means:
Internet Explorer is displaying this message because it has encountered this error when trying to run some Javascript on the page.

Possible Causes and Remedies:
The problem may be related not with the site but with the contentsof Internet Explorer?s cache. Internet Explorer may be using some old files from its cache instead of retrieving newer versions from the site. Try deleting all of Internet Explorers temporary files (Tools > Internet Options > [ Delete Files ]) and then refresh the page view. If the error persists then it is a fault with the page.

The page contains a genuine Javascript error.
If the page is yours (i.e. one that your are developing or one for which you are the webmaster responsible) then its up to you to debug the problem. Otherwise ignore the error (select ?No? to debug) and see if you can carry on.

Maxwell

Collapse -

Microsoft Development Environment

by maxwell edison In reply to Microsoft Development Env ...

.
.
Another possible resolution (although this wouldn't necessarily identify the cause):

Go to Internet Explorer Tools, Internet Options, Advanced, and Disable Script Debugging.

Maxwell

Collapse -

Microsoft Development Environment

by maxwell edison In reply to Microsoft Development Env ...

.
.
Yet another possibility - from Microsoft article Q198997:

SYMPTOMS:
When you save a Web page in Internet Explorer as Web Page, complete , and then try to view this saved Web page, the page may not be displayed correctly, and you may receive one or more of the following error messages:

A runtime error has occurred. Do you wish to Debug?

The page cannot be displayed

Problems with this Web page might prevent it from being displayed properly or functioning properly.

NOTE :If you then click OK, you may receive the following error message displayed in the Status bar:

Done, but with errors on page. Double-click here for details.

CAUSE:
This behavior can occur because images and other documents are not saved correctly if the Web address (URL) associated with the document is dynamically constructed by either JavaScript or VBScript within the Web page. Internet Explorer does not parse the script in a Web page when saving the Web page, and so it is unable to determine when an image or document URL is constructed from within a script.

RESOLUTION:
To work around this behavior, save the Web page locally by clicking Add to Favorites on the Favorites menu, and then clicking the Make available offline check box to select it.

STATUS:
This behavior is by design.

MORE INFORMATION:
When you save Web pages, "Web page, complete (*.htm, *.html)" is selected by default. This setting stores the Web page as a relative link and not an absolute link. Relative links use URL paths that indicate the location of an item relative to the current folder, without giving a specific drive or root folder. Absolute links use URL paths that indicate the drive and folder in which to find an associated file.

(That's all)

Best of luck and have a GREAT 2002!

Maxwell

Collapse -

Microsoft Development Environment

by VCHD_IT In reply to Microsoft Development Env ...

All suggestions were good. At this time the problem appears to have been the link in Favorites. If the problem pops up again I will try the other suggestions.

Thanks

Collapse -

Microsoft Development Environment

by tjc In reply to Microsoft Development Env ...

If you really want to view the page, turn off javascipt in your prefrences, since something on the persons page is not compatible with internet explorer.

Collapse -

Microsoft Development Environment

by VCHD_IT In reply to Microsoft Development Env ...

Poster rated this answer

Collapse -

Microsoft Development Environment

by VCHD_IT In reply to Microsoft Development Env ...

This question was closed by the author

Back to Desktop Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums