Jscript Runtime Error Invalid Argument
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about invalid argument error in javascript hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges 0x80070057 - javascript runtime error: invalid argument. Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other.
Javascript Invalid Argument Exception
Join them; it only takes a minute: Sign up 'Invalid Argument' Error in IE, in a line number that doesn't exist up vote 5 down vote favorite I'm getting the following error in IE 6: Line: 454 Char:
Error Invalid Argument. At Anonymous Function
13 Error: Invalid Argument Code: 0 URL: xxxxx/Iframe1.aspx and I can't for the life of me find what's causing this. This only happens in a situation where I have a main page that has several IFrames, and it only happens when I have one particular IFrame (the one pointed to by the URL in the error message), and that IFrame is invisible at the time of loading. I've narrowed it up to there, but I still can't find ie11 "invalid argument." -angular anything more specific... The IFrame in question doesn't have 454 lines in its HTML, nor do any of the JS files referred by it. I tried attaching VS to iexplore.exe as a debugger, and it breaks when the error occurs, but then tells me "There is no source code available for the current location"... Any suggestions on how I can go about chasing this one? UPDATE: I found this problem through brute-force, basically, commenting everything out and uncommenting randomly... But the question still stands: what is the rational way to find where the error is, when IE reports the wrong line number / file? javascript internet-explorer debugging share|improve this question edited Oct 2 '10 at 20:46 community wiki 4 revsDaniel Magliola It's really a difficult question to answer without being able to see the whole problem. Have you tried debugging in Firefox or opera? Open it in one of those and check the error console for perhaps a more helpful error message. –Ian Elliott Jun 17 '09 at 16:54 Firefox's firebug plugin makes debugging much, much simpler. I suggest trying that out on the page. –Ben Hughes Jun 17 '09 at 17:01 Ian, Ben, thank you for your suggestions. I in fact use FireBug all the time, but this problem happens only in IE. –Daniel Magliola Jun 17 '09 at 20:04 add a comment| 8 An
this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click
Window.open Invalid Argument
the register link above to proceed. To start viewing messages, select the script87 invalid argument forum that you want to visit from the selection below. Results 1 to 3 of 3 Thread: "invalid argument" ie9 error invalid argument error on window.open(...) Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 01-08-2003,07:36 AM #1 http://stackoverflow.com/questions/1008290/invalid-argument-error-in-ie-in-a-line-number-that-doesnt-exist JackGross View Profile View Forum Posts Registered User Join Date Jan 2003 Posts 4 "invalid argument" error on window.open(...) I am getting an error alert ("invalid argument") when clicking a hyperlink image that opens a pop-up. Script Debugger points to a line of the form w=window.open(arg1,arg2,arg3); The window is an iframe (a report quadrant in a dash-board display). The report has http://www.webdeveloper.com/forum/showthread.php?2017-quot-invalid-argument-quot-error-on-window-open(-) four such links, three of which open popups. The name of the popup window is constant for a given quadrant. All three pop-ups exhibit the behavior. Two of those popups present dialogs for refreshing the report shown in the quadrant. It is only after such a refresh that the behavior occurs. I suspect it is connected with opening a window with the same name as the one, now closed, that last refreshed the qudrant. Jack Gross Reply With Quote 01-08-2003,10:27 AM #2 JackGross View Profile View Forum Posts Registered User Join Date Jan 2003 Posts 4 Thanks, it was parameter content, as you (and the message) suggested. I compared view-source from the first and second round. The app (it's a WedFocus reporting application) was failing to pass thru ("keep alive") a value for a variable (QUAD, used in composing the window name for the next round of pop-ups) on the refresh. Selected JavaScript content from the refreshed report is appended below. The problem was specificaclly in the window-name parameter value. (Should be "pop4ivr02b", as in the first round; wound up as "pop!IBI.AM
Forum Home Premium 1.x Premium Help What's New? The official release of Ext.NET http://forums.ext.net/showthread.php?25511-CLOSED-Microsoft-JScript-runtime-error-Invalid-argument Mobile is now available. Ext.NET Mobile is an ASP.NET component framework for building Phone and Tablet specific mobile web applications. Read More Bridge.NET. http://www.dotnetfunda.com/forums/show/4153/microsoft-jscript-runtime-error-invalid-argument-in-ie Write C#. Run JavaScript. FREE AND OPEN SOURCE. Thread: [CLOSED] Microsoft JScript runtime error: Invalid argument. Thread Tools Show Printable Version Search invalid argument Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Bert76 View Profile View Forum Posts Member Join Date May 2011 Posts 79 #1 Jul 02, 2013,5:42 PM [CLOSED] Microsoft JScript runtime error: Invalid argument. Hi, I ran into a problem loading error invalid argument a page. This started happening after the upgrade to 1.7. Not sure where to look. .Net tells me the error is here: H.dom.style.width=H.addUnits(G)which is in the generated code. Here is the code for my whole page. <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="jobclasses.aspx.vb" Inherits="uohms.jobclasses" %> <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>