JavaScript runtime error: 'WebForm_DoPostBackWithOptions' is undefined

Hi, I am using VS2010 and Windows 7. ASP 4.  I am testing an application that has been running for 7 years.  I usually add modifications that I test every month. Now when I enter test mode in VS2010 and display the first screen
and then hit the first button I receive "JavaScript runtime error: 'WebForm_DoPostBackWithOptions' is undefined". This is a first. I have been racking my brain to remember what I have installed or upgraded in the last month. I believe I may have
updated  IE to 11 but I am not sure. Can anyone lead me to the correct direction? Thanks, Jim 

Hi,
Welcome to MSDN forum. But I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
It seems that you got the issue when you click the button on the web application manually, if yes, I suggest that you can consult your issue on ASP.NET forum:
http://forums.asp.net/
 for better solution and support like this thread with similar issues:
http://forums.asp.net/t/1949713.aspx?Getting+Error+on+IE11+.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Jquery in background task JavaScript runtime error: 'window' is undefined

    How do we access the window variable in backgroundtasks ?
    i need to use jquery and i get  JavaScript runtime error: 'window' is undefined

    It looks like jQuery is not written to be used from a web worker--or else you need a variant that is. This is because the global context in a background task written in JavaScript is
    WorkerGlobalScope (see
    http://www.w3.org/TR/workers/#workerglobalscope) not window, so window
    isn't defined.
    You might be able to work around a situation like this, depending on what is needed from
    window. (I'm assuming jQuery is trying to initialize its UI libraries, in which case you probably won't be able to do that from a worker/background task. They can't do UI directly.)
    If you need something from window, specifically, your running app, when it registers the background task, could also write the necessary values into the
    Windows.Storage.ApplicationData.localSettings container as background tasks can access that at any time.
    It could be possible, then, to write the necessary values from window
    into local settings, then create a window object and populate it with those values before loading jQuery. It'd be a hack, but might get you where you need to be.
    That said, because there are limitations on what you can do from a background task, and how long you can run, you might ask whether jQuery is really buying you anything in that context. I can't say, of course, but it's a reasonable question to ask before
    trying this kind of workaround.
    Kraig
    Author,
    Programming Windows 8 Apps with HTML, CSS, and JavaScript,
    a free ebook from Microsoft Press

  • Error Message 0x800a1391 - JavaScript runtime error: 'bobj' is undefined

    I have a project which I upgraded from Visual Studio 2012 and the version of Crystal Reports for Visual Studio that worked with VS 2012.  I upgraded the project to Visual Studio 2013 and waited for Crystal Reports to be released for VS2013.  Once it was released, I installed Support Package 9 (V13.0.9.1312) on my Windows 8.1 64 bit machine that is running Visual Studio 2013.  I copied the crystalreportviewers13 folder to the root level of my project. 
    Everything compiles fine.  However when I run the project and attempt to view my report, I receive the following error message:
    After I click continue, I get the following error message:
    Any assistance would be greatly appreciated.

    See this post:
    Crystal Reports does not load aspnet_client files to proper IISExpress directory
    Also, see this:
    CR for VS 2013 Web Report Images display as "X"
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center
    Canada
    Follow us on Twitter

  • 0x800a1391 - Microsoft JScript runtime error: 'applicationCache' is undefined

    Hi,
    I'm running the ContosoConf labs available here:
    https://www.microsoft.com/learning/en-ca/companion-moc.aspx
    under 20480B Programming in HTML5 with JavaScript and CSS3
    When running any of the labs in VS 2012 Professional w/update 4, debugging in IE 9, an exception appears on index.htm, 0x800a1391 - Microsoft JScript runtime error: 'applicationCache' is undefined on this line in offline.js:
    // Error fetching appcache.manifest: so we are probably offline
    applicationCache.addEventListener("error", hideLinksThatRequireOnline, false);
    It appears all the references in the project are ok and I am running IE 9.
    Please advise, any help at all much appreciated. :)
    Best,
    O

    Hi,
    that is correct.... HTML5 is supported in IE10 and later (http://caniuse.com )
    feature test with
    if(window.applicationCache)
    test your website from a file server (http protocol), not a local file (file protocol). eg. localhost/mywebsite.local. (select the publish option from your IDE). You cannot debug directly from VS (f5) eg. http:/localhost:port (no domain to map the manifest
    to),
    there are also some gotcha's with debugging the appChache api. Delete the client manifest (Internet Options/Browsing History>Settings>Caches and databases)
    you feature test the navigator object to determine if the userAgent is 'online' with
    if(!navigator.online)
    Regards.
    Rob^_^

  • JavaScript Runtime Errors in init.debug.js

    I have a custom branding solution for a SharePoint 2013 site collection in Visual Studio.  When I navigate the site collection or debug the solution, I seemingly randomly get Unhandled Exceptions in the /_layouts/15/init.debug.js.  It's rather
    0x800a03ee-JavaScript runtime error:  Expected ')' or 0x80070005 JavaScript runtime error:  Access is denied.  The first error occurs just navigating the site collection.  The second error occurs when I hover over the name with presence
    at the bottom while editing an item.  I haven't edited this script at all, so what can cause this JavaScript that is in the hive to throw exceptions, and what is a good approach to debug it in order to get to the root of the problem?

    Thank you for your response. I'm in a SharePoint 2013 development environment using IE10.  When I added the site collection as a trusted site in the local intranet zone in IE 10, I no longer get the JavaScript runtime related to the name of presence
    and Access.  When I deploy the solution, I do not get any errors.  But if I debug in Visual Studio, the solution, which is set of features that installs a master page with custom navigation, I get this error when I navigate the site collection: 
    Unhandled exception at line 6784, column 13 in layouts/15/init.debug.js?rev=z/JdnR/rlmz5Wvyfz5qrBg==
    0x800a03ee - JavaScript runtime error: Expected ')'
    The error occurs in NotifyScriptLoadedAndExecuteWaitingJobs in init.debug.js, and the call stack goes back to DeltaManager$_ScriptLoader in start.debug.js and eventually to the browserHandler, ScriptResource.axd.
    init.debug.js, correct me if I'm wrong please, is a JavaScript that SharePoint adds during debugging.  If I go in the hive and add that ')' where it breaks, then everything breaks.  Why is this error thrown, and what is the rev parameter at the
    end of the query string?
    The custom master page in the solution being installed has a line:
    <
    asp:ScriptManagerid="ScriptManager"runat="server"EnablePageMethods="false"EnablePartialRendering="true"EnableScriptGlobalization="false"EnableScriptLocalization="true"/>
    I added ScriptMode="Debug", and the errors occur during debugging.  I changed it to ScriptMode="Release", and still got the same errors.
    I'm not sure if and where in the code things are breaking, but I'm having trouble understanding why SharePoint, Visual Studio, and Internet Explorer behave in this manner.

  • Gettting 0x800a139e - JavaScript runtime error: SecurityError on creating websocket object in .js page

    Hi Team,
    I am creating a websocket object in the existing webapplication I have. When creating the object with url :    var url = 'ws://localhost:4334//WebSocketServer.ashx?name=Satya'; getting error  . 0x800a139e - JavaScript runtime error: SecurityError.
    var ws;
    var message ;
    var messageVal;
    function $(id) {
        return document.getElementById(id);
    function wireEvents() {
        $('sendChat').addEventListener('click', function () {
            message = $('message');
            ws.send(message.innerText);
            messageVal=message.innerText;
            message.innerText = '';
        $('btnCancelChat').addEventListener('click', function () {
            ws.close();
    function Chat () {
        wireEvents();
        var conversation = $('conversation');
        var url = 'ws://localhost:4334//WebSocketServer.ashx?name=Satya';
        //var url = 'ws://https://127.0.0.1:444/WebSocketsServer.ashx?name=Satya';
        ws = new WebSocket(url);
        ws.onerror = function (e) {
            conversation.appendChild(createSpan('Problem with connection: ' + e.message));
        ws.onopen = function () {
            //conversation.innerHTML = 'Client connected <br/>';
        ws.onmessage = function (e) {
            conversation.appendChild(createSpan(e.data.toString()));
        ws.onclose = function () {
            conversation.innerHTML = 'Closed connection!';
    The same works fine if i create a new application i access as a HTML page on page load.
    Can any one help me on this?
    Thanks,
    Satya Chenna

    http://forums.asp.net/
    The JavaScript section is at the above forum.

  • CRVS2010 Beta - Microsoft JScript runtime error: 'bobj' is undefined

    1. When I try to generate a crystal report with the "CR4VS2010" from the web client, I am getting the following error:
    Microsoft JScript runtime error: 'bobj' is undefined.
    I am using the OS -> Windows Vista.
    2. Where as if i try to generate the report using the service job, i am getting the following error:
    System.IO.FileNotFoundException was unhandled
      Message=Could not load file or assembly 'file:///C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.
      Source=mscorlib
      FileName=file:///C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll
      FusionLog==== Pre-bind state information ===
    LOG: User = SAGITEC\karthikeyan.s
    LOG: Where-ref bind. Location = C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll
    LOG: Appbase = file:///E:/Source/Eclipse/Bin/
    LOG: Initial PrivatePath = NULL
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in LoadFrom load context.
    WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
    LOG: Using application configuration file: E:\Source\Eclipse\Bin\NeoSpinBatch.vshost.exe.Config
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.21006\config\machine.config.
    LOG: Attempting download of new URL file:///C:/Program Files/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/win32_x86/dotnet1/crdb_adoplus.dll.
    Edited by: Don Williams on Apr 26, 2010 6:22 AM
    Edited by: Jason Everly on Apr 26, 2010 9:30 AM
    Changed subject line to correct format

    3. For fixing the error#2, i copied the DLL to the respective directory mentioned in the above error. But it gives me new error :
    System.IO.FileLoadException was unhandled
      Message=Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
      Source=mscorlib
      StackTrace:
           at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
           at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
           at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
           at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
           at System.Reflection.Assembly.LoadFrom(String assemblyFile)
           at CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.DataSetProcessingDelegate(IntPtr arg)
      InnerException:
    Please help me in resolving the above issues ASAP.
    Thanks in advance,
    Karthikeyan Sridharan

  • Ionic Side Menu Template - Javascript JavaScript runtime error: [$injector:nomod] Module 'ngLocale' is not available!

    I am using VS 2013 ,CTP 3.1
    When I tried to run the Ionic side menu template on Emulator 8.1, the javascript console shows below exception  -
    Exception was thrown at line 9576, column 11 in ms-appx://io.cordova.myapp8724a31325644ec29a8d2d88682b7987/www/lib/ionic/js/ionic.bundle.js
    0x800a139e - JavaScript runtime error: [$injector:nomod] Module 'ngLocale' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
    http://errors.angularjs.org/1.3.6/$injector/nomod?p0=ngLocale
    There was no code changes to any of the files.
    Please advise.

    Yes. I am using the same template.
    I am not able to attach the screenshot here.
    This is the error -
    'WWAHOST.EXE' (Script): Loaded 'Script Code (MSAppHost/2.0)'. 
    Exception was thrown at line 9576, column 11 in ms-appx://io.cordova.myapp8724a31325644ec29a8d2d88682b7987/www/lib/ionic/js/ionic.bundle.js
    0x800a139e - JavaScript runtime error: [$injector:nomod] Module 'ngLocale' is not available! You either misspelled the module name or forgot
    to load it. If registering a module ensure that you specify the dependencies as the second argument.
    http://errors.angularjs.org/1.3.6/$injector/nomod?p0=ngLocale

  • JavaScript runtime error: Object doesn't support property or method 'Load'

    I'm pretty new to SharePoint 2013 apps and CSOM. I have written a simple SharePoint-hosted App in Visual Studio 2013 which attempts to display the current user's user profile picture using CSOM and JavaScript. Here is the code in my App.js file:
    $(document).ready(function () {
        var context = SP.ClientContext.get_current();
        var peopleManager = new SP.UserProfiles.PeopleManager(context);
        var userProperties = peopleManager.getMyProperties();
        context.Load(userProperties);
        context.executeQueryAsync(function (){
            if (properties) {
                var pic = userProperties.get_pictureUrl();
                $('#userProfileImage').attr("src", pic);
    I am getting error "JavaScript runtime error: Object doesn't support property or method 'Load'" on line "context.Load(userProperties);"
    I have SP.UserProfiles.js referenced, which is why this command executes successfully: var peopleManager = new SP.UserProfiles.PeopleManager(context); Is it my context object or userProperties object that is causing this error, and why? Thanks
    in advance for your help.
    Frank Foreman

    Hi,
      This method is case Sensitive, try this context.load(userProperties);

  • WebHelp 5.10.001 JavaScript runtime error

    Using WebHelp 5.10.001 (Adobe RoboHelp 11, WebHelp 5.50) and am receiving the following error:
    JavaScript runtime error: Object doesn't support property or method 'RegisterListener'
    The above occurs on js file: whproxy.js
    function RegisterListener(framename, nMessageId) {
        var wSP = getStubPage();
        if (wSP && wSP != this) {
            //return wSP.RegisterListener(framename, nMessageId);
        else {
            return false;
    So I commented it out to avoid the error being thrown. What is the fix for this?

    Could you please check that Robohelp 11 is updated to the latest update and also try to clear the cache and temp files from the machine and test the output.
    Also could you please also check to login with any other user account in your machine which has the complete admin rights on it.
    Is it possible for you to share the generated output with us or the project.
    Regards,
    Rajeev.

  • Javascript Runtime Errors

    I keep getting Javascript Runtime Errors when I visit certain web pages and it's stopping me from viewing some pages of a website. What can I do about these errors so I can browse websites without any trouble?
    Here is a screenshot of the error. Usually I get a different error, like a box actually pops up and says there is a java script error etc..., but I can also view the error another way.
    http://img.photobucket.com/albums/v630/Izzy_K/error.jpg
    Message was edited by:
    nuwogu
    Message was edited by:
    nuwogu

    this is not a Java problem but rather a javascript one !!!
    this error means that the browser your are using doesn't support a javascript object or a method.
    try firefox, IE (5x, 6x and 7x if possible).
    As I previously said, you can't handle this problem. contact the webmaster or web developer to report the javascript problem and to know the recommended browser.

  • Microsoft JScript runtime error: 'bobj' is undefined

    Hi!,
    I am using SAP crystal report Version=13.0.2000.0 ,visual studio 2010 and SAP crystal report runtime engine for .net framework 4(64-bit)
    I am getting following error in crystal report loading while deploying the project in Cloud while report is shown in design mode.
    Microsoft JScript runtime error: 'bobj' is undefined

    Moved to .NET SDK forum.
    Search on bobj is undefined and you'll find lots of info on how to resolve.
    Don

  • 0x800a1391 - JavaScript runtime error

    I'm attempting to find out how to resolve the following error: 'PAPADDINGXXPADDING..." is undefined.  This is on a Windows 8.1 system running IE 11 version 11.0.9600.16518  with update version 11.0.3 and ASP.NET/MVC in Visual Studio 2013 using
    the .NET 4.5.51641 runtime.  Works fine in Google Chrome.  I saw a reference which indicated it might be a compatibility setting (tried turning it off, did not fix) or that it might have to do with JSON or that the DOCTYPE was not specified (which
    it appears to be).  Anybody have a solution that works???

    Hi,
    in chromium, display the Developer Tool>Console tab, I expect the same error will be displayed.
    an 'undefined' error means a js variable has (well) not been assigned.
    eg.
    var foo.bar='foobar';
    var sentence=foo + '.bar is not fubar';
    ('foo' is undefined).
    In IE, f12>Emulation tab, make sure that your page is using 'Edge' mode.
    Regards.
    Rob^_^

  • When I try to create a Recordset i get Javascript runtime error

    Please help i am working with Php and trying to create a
    recordset query to access my table etc. this is what i get when i
    click + Recordset from the Server Behaviors window:
    JavaScript error while loading RecordSet.htm:
    At line 1111 of file: "C:\Program
    Files\Macromedia\Dreamweaver
    8\Configuration\ServerBehaviors\PHP_MySQL\Recordset.js" : theStr =
    theStr.replace(/(?>)*/gi, ''''); //remove close tags
    SyntaxError: Invalid Quantifier ?

    i restarted it i am gonna restart the computer
    also went here
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19105&sliceId=1#dat
    didnt really help

  • Error: 'bobj' is undefined - crystal report for VS2013 - please help ASAP

    Currently we are trying to migrate from VS2008 to VS2013 and we installed Microsoft Visual Studio Ultimate 2013 on a windows 7 laptop. All our crystal report programs are migrated to VS2013. I downloaded Crystal report Support Pack 10 (v. 13.0.10.1385) executable version and installed it. Then opened our old project (from vs2008) in VS2013 and it went through the conversion process. Later I opened each .rpt file and saved in VS2013 so that the crystal report files will be saved in the new format.
    I am getting the Error: 'bobj' is undefined when I try to run the report. Am I using the correct service pack 10, or should I use service pack 9. I have read through all the posts related to this error in earlier version of VS. Is there any correct fixes for VS2013?
    This is urgent, I am stuck with this error. please help??? Thank you.
    JS

    Don,
    I followed Adil Siddiqui's Blog and it worked!!!!
    Add Following code to web.config file
    <configSections>
    <sectionGroup name=“businessObjects“>
    <sectionGroup name=“crystalReports“>
    <section name=“rptBuildProvider” type=“CrystalDecisions.Shared.RptBuildProviderHandler,
    CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral,PublicKeyToken=692fbea5521e1304,  Custom=null“ />
           <section name=“crystalReportViewer” type=“System.Configuration.NameValueSectionHandler“ />
    </sectionGroup>
    </sectionGroup>
    </configSections>
    <businessObjects>
    <crystalReports>
    <rptBuildProvider>
    <add embedRptInResource=“true“ />
    </rptBuildProvider>
    <crystalReportViewer>
    <add key=“ResourceUri” value=“~/crystalreportviewers13“ />
    </crystalReportViewer>
    </crystalReports>
    </businessObjects>
    NOTE: “<add key=“ResourceUri” value=“/crystalreportviewers13“ />” worked without the ~ sign.
    Click the link below for the complete post:
    Visual Studio 2012 Crystal Report not working on Windows Server 2012/ 0x800a1391 &amp;#8211; JavaScript runtime error: &…
    Thank you Don for your help.
    JS

Maybe you are looking for

  • Excise Duty Posted too Much

    Dear MM Experts, I had a issue about excise. There is one PO of price 100 RS and Excise duty of 14.2% Whlile posting excise duty it is postest of amount 14000 RS. Now problem is that system is not allowing MIRO transaction due too much excise duty. C

  • Windows 8.1 Update (with WinPE 5.1) ADK + SCCM 2012 R2 and WinXP

    Hello, I see new ADK version (8.1 Update) is released http://www.microsoft.com/en-US/download/confirmation.aspx?id=39982 It contains WinPE 5.1 and new USMT (which version?), does it support migration from WinXP to Win7? Previously I used USMT5 (inste

  • EXCEL.APPLICATION

    Hello, I have a problem, I want to use the EXCEL.APPLICATION for opening an Excel file, but I want the user gets the control of the edition of that file and  SAP waits to continue executing when user closes the file. I used another method (cl_gui_fro

  • BIPBatchConversion RDF to BIP

    Hi All, I am new user for Oracle BI. I need the steps to convert conversion of a real world RDF to BIP. I tried with reference document but not working properly. Command I have given Java BIPBatchConversion –source c:\dir name – target c:\dir name I

  • Doubt regarding continoues retrival of messages

    Hi *, Is there any possibility by which i can retrieve messages from my inbox as soon as it comes in it? what could be the possible way to do so? Regards, Sachin Parnami