I am using visual Studio 2010 Ultimate SP1 and Internet Explorer 9
I am unable to launch any webpage to Internet Explorer using visual studio without receiving an "Microsoft JScript runtime error: Invalid calling object". This happens when I use "Start Debuggiing". I can right click on a page and select "Browse With...",
Choose IE and it runs fine. This error doesn't occur with Firefox or safari.
This error began to happen this morning while working on a website. The error now happens with any project. I created a new Web Application, made no modifications and am receiving this error. I ran the same application on my wife's computer who is also
using VS2010 UE SP1 and IE9, and It ran fine. This happens with .htm pages or .aspx pages set as the start page. I tested with html page containing nothing but a div and it still happens.
Here is what happens when I start debugging:
A popup window titled "Visual Studio" opens with the text "Microsoft JScript runtime error: Invalid calling object"
There are three commnd buttons: Break, Continue or Ignore
This is where the error occurrs when I click "Break":
Path to File: ^TransientScriptDocument19.txt
// HACK : override appendChild, replaceChild, insertBefore for IE, since it doesn't support DOM events
if (isInternetExplorer)
{
var appendChildOriginal = doc.body.appendChild;
doc.body.appendChild = function(element)
{
ERROR IS HERE -> appendChildOriginal(element);
var tag = element.tagName.toLowerCase();
if ("video" == tag)
{
ProcessVideoElement(element);
}
}
If I select Continue the page opens fine.
Notes:
I did not change any options in Visual Studio
I Restarted my computer multiple times
I selected tools->delete browsing history in Internet Explorer (All options were selected)
I used Norton 360 to clear all temporary files.
I ran the web page through my local IIS and reset the IIS
Thank you very much for providing this solution. I do have a DivX Add-in but the problem is not happening anymore so I can't test your solution. I will look to disabling my add-ins should similar problems arise.
Mfrieman
Member
19 Points
27 Posts
Microsoft J
Mar 20, 2011 04:31 PM|LINK
I am using visual Studio 2010 Ultimate SP1 and Internet Explorer 9
I am unable to launch any webpage to Internet Explorer using visual studio without receiving an "Microsoft JScript runtime error: Invalid calling object". This happens when I use "Start Debuggiing". I can right click on a page and select "Browse With...", Choose IE and it runs fine. This error doesn't occur with Firefox or safari.
This error began to happen this morning while working on a website. The error now happens with any project. I created a new Web Application, made no modifications and am receiving this error. I ran the same application on my wife's computer who is also using VS2010 UE SP1 and IE9, and It ran fine. This happens with .htm pages or .aspx pages set as the start page. I tested with html page containing nothing but a div and it still happens.
Here is what happens when I start debugging:
A popup window titled "Visual Studio" opens with the text "Microsoft JScript runtime error: Invalid calling object"
There are three commnd buttons: Break, Continue or Ignore
This is where the error occurrs when I click "Break":
Path to File: ^TransientScriptDocument19.txt
// HACK : override appendChild, replaceChild, insertBefore for IE, since it doesn't support DOM events
if (isInternetExplorer)
{
var appendChildOriginal = doc.body.appendChild;
doc.body.appendChild = function(element)
{
ERROR IS HERE -> appendChildOriginal(element);
var tag = element.tagName.toLowerCase();
if ("video" == tag)
{
ProcessVideoElement(element);
}
}
If I select Continue the page opens fine.
Notes:
Any help will be greatly appreicated.
Thank You!
Mfrieman
Member
19 Points
27 Posts
Re: Microsoft J
Mar 21, 2011 12:05 PM|LINK
IE: Tools->Options Advanced Settings "Reset"
MegaMik
Member
2 Points
1 Post
Re: Microsoft J
Mar 23, 2011 05:12 PM|LINK
Wonderful, such an easy solution for a really bugging error.
Tnx a bunch.
\MegaMik
pnitin
Member
2 Points
3 Posts
Re: Microsoft J
May 19, 2011 12:15 PM|LINK
Resetting might not be a desired solution always since you would lose all your Settings and browser reloads with all the default settings.
The Error is caused by the DivX Add-in. Just disable the add-in and you are done!
HTH
Nitin
Mfrieman
Member
19 Points
27 Posts
Re: Microsoft J
May 19, 2011 12:43 PM|LINK
Thank you very much for providing this solution. I do have a DivX Add-in but the problem is not happening anymore so I can't test your solution. I will look to disabling my add-ins should similar problems arise.
TarzanLovesCita
Member
17 Points
44 Posts
Re: Microsoft J
Jun 14, 2011 12:18 PM|LINK
>> The Error is caused by the DivX Add-in. Just disable the add-in and you are done!
This is the working solution...
Now we have to find a code to disable this or i cannot use anymore jquery-prettyphoto on IE8...