Click here to Skip to main content
14,665,492 members
Rate this:
Please Sign up or sign in to vote.
See more:
I developed a simple web page and I am trying to run it on local system but it is giving me this Message
Microsoft JScript runtime error: Object expected

and it is showing break point at this line.

please advice me how to solve this.
Updated 4-Feb-12 20:57pm
Jaganathan Bantheswaran 5-Feb-12 2:28am
Can you go and check the 'Disable script debugging' for Internet Explorer and try again.

IE -> Tools->Internet Options->Advanced->Disable script debugging
ashu1810 5-Feb-12 2:51am
thank you

I did this but it is showing the same error.
thatraja 5-Feb-12 3:02am
Show code
ashu1810 5-Feb-12 3:07am
Code is not so complex.
Its Just a simple basic app. with some radio buttons and the textboxs thats it
Nobody asked you how complex your code is.
OK, don't show it; make a (short) code sample, post it. Use "Improve question". If you need any advice of course...

Rate this:
Please Sign up or sign in to vote.

Solution 1

First of all, don't hard code URLs, define them in one place, so they can be easily changed. Secondly, bflixDocumentComplete is not standard jscript, you must be using some sort of library. Finally, if you install Chrome, you can set breakpoints and step through your js to see what is going on. If you don't post your code, we can't tell you what is wrong with it.
Rate this:
Please Sign up or sign in to vote.

Solution 2

Do like this
IE -> Tools->Internet Options->Advanced->Reset Internet Explorer Settings->
click On Reset Button

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100