Windows error 0x800A138F, -2146823281

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode10 (0x00a)
NameFACILITY_CONTROL[1][2]
DescriptionThe source of the error code is the control mechanism.[1][2]
Error Code5007 (0x138f)

Questions

94votes
3answers

TypeScript typed array usage

I have a TypeScript class definition that starts like this; module Entities { export class Person { private _name: string; private _possessions: Thing[]; private _mostPrecious: Thing; constructor (name: string) { this._name = name; this._possessions = new Thing[100]; } Looks like an array of type Thing does not get translated correctly [...] read more
arrays
typescript
61votes
7answers

Error in jquery.validate.js in MVC 4 Project with jQuery 1.9

I created a new ASP.Net MVC 4 project using the template in Visual Studio 2012. After upgrading to jQuery 1.9, the login functionality breaks. Specifically, I get the error > 0x800a138f - JavaScript runtime error: Unable to get property 'call' of undefined or null reference at line 1172, column 5 [...] read more
jquery
jquery-validate
unobtrusive-validation
6votes
4answers

Visual Studio 2015 Cordova Windows 10 > Blank/white screen after associated with the existing windows store app

Without associating the app with the store, i can run and debug the cordova app on my devices (all works fine). But after associating the app with the store (or after built a package for the store), the app starts and i get a white screen, no errors in visual [...] read more
cordova
visual-studio-2015
windows-store-apps
5votes
4answers

0x800a138f - JavaScript runtime error: Unable to get property 'value' of undefined or null reference

i have written a javascript code to compare 2dates from 2 textboxes function CompareDates() { var fdate = document.getElementById('txtFromDate'); var edate = document.getElementById('txtToDate'); var FromDate = fdate.value.split('/'); var EndDate = edate.value.split('/'); var val = 'false'; if (parseInt(FromDate[2]) < parseInt(EndDate[2])) { val = 'true'; return true; } else if (parseInt(FromDate[2]) == [...] read more
javascript
html
asp.net
4votes
1answer

Unable to get property 'appendChild' of undefined or null reference in WCF Rest

I have Developed a WCF Rest Service which returns dateTime. When I Run the Service in IE, Service is breaking and giving exception stating that > Unhandled exception at line 82, column 1840 in script block 0x800a138f - JavaScript run time error: Unable to get property 'appendChild' of undefined or [...] read more
c#
javascript
wcf-rest
4votes
2answers

Add a button to Select2 Dropdown list

I am using the lastest version of Select2. Want to add an Insert New button at the end of the dropdown list. I tried these two solutions I found online Solution 1: $(".select2-drop").append('<table width="100%"><tr><td class="row"><button class="btn btn-block btn-default btn-xs" onClick="modal()">Add new Item</button></div></td></tr></table>'); Solution 2 $("#itemId0").select2("container").find("div.select2-drop").append('<table width="100%"><tr><td class="row"><button class="btn btn-block btn-default [...] read more
jquery-select2
jquery-select2-4
4votes
4answers

0x800a138f - JavaScript runtime error: The value of the property '$' is null or undefined, not a Function object

When I start my project and it loads up my page, I get the following error: > 0x800a138f - JavaScript runtime error: The value of the property '$' is null or undefined, not a Function object. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestPage.aspx.cs" Inherits="WebsiteTest.TestPage" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Web Service [...] read more
javascript
jquery
asp.net
html5
4votes
6answers

JavaScript runtime error: Unable to get property 'value' of undefined or null reference

I wrote a javascript code to display the next date of a specific calendar My Function function verificaDataReferencia(mensagem) { if(document.getElementById("txtDataReferencia1Hidden") == null || document.getElementById("txtDataReferencia2Hidden") == null || document.getElementById("ddlDataPub") == null || document.getElementById("txtDataRefInfo") == null) var objtxtDataReferencia1Hidden = document.getElementById("txtDataReferencia1Hidden").value; var objtxtDataReferencia2Hidden = document.getElementById("txtDataReferencia2Hidden").value; > Breakpoint var objtxtDataArquivo = document.getElementById("ddlDataPub").value; var mensagem [...] read more
javascript
html
asp.net
3votes
1answer

Ajax sourced data in JSON format - Unable to get property 'length' of undefined or null reference

I'm trying to load json data (retrieved from a Web API ajax call) to a jQuery DataTables, but I am getting the following error: > Unhandled exception at line 38, column 314 in https://cdn.datatables.net/1.10.9/js/jquery.dataTables.min.js 0x800a138f - JavaScript runtime error: Unable to get property 'length' of undefined or null reference This [...] read more
javascript
jquery
json
ajax
datatables
3votes
0answers

cordova cant create folder windows

When I try to create a media folder inside the presistent folder of a windows 10 cordova app I'm getting the following error when debugging with Visual Studio in the JavaScript console: Exception is about to be caught by JavaScript library code at line 314, column 13 in ms-appx-web://appname/www/cordova.js 0x800a138f [...] read more
cordova
windows-10
visual-studio-cordova
3votes
2answers

getElementsByName not working

Looked up several "Answers" to this problem, but it was mostly just people not treating the result returned by getElementsByName() as a NodeList! Edit: I am trying to hide/show elements based on an element being clicked. I could hardcode this using document.getElementById and just add one everytime I have an [...] read more
javascript
getelementsbyname
3votes
5answers

0x800a138f - JavaScript runtime error: Unable to get property 'mData' of undefined or null reference

I am using Datatables version 1.10.6. In jquery.dataTables.js i am getting above error. 0x800a138f - JavaScript runtime error: Unable to get property 'mData' of undefined or null reference. $.each( _fnGetRowElements( oSettings, rowOne[0] ).cells, function (i, cell) { var col = oSettings.aoColumns[i]; if ( col.mData === i ) {// this line [...] read more
c#
asp.net-mvc
jquery-ui
jquery-datatables
2votes
2answers

KeyDown event for CKeditor

In my application I have an instance of a CKEditor. While the user is entering text into the editor the first latter should be in uppercase. For that I wrote a jQuery keydown event handler, like this: $(document).ready(function () { CKEDITOR.instances.CKEditor1.on('contentDom', function () { CKEDITOR.instances.CKEditor1.document.on('keydown', function (event) { if (this.selectionStart [...] read more
javascript
c#
jquery
asp.net
ckeditor
2votes
0answers

how can I solve this JavaScript runtime error?

I have got an old ASP.NET web page. When I press F5, Visual Studio is giving me error: > 0x800a138f - JavaScript runtime error: Unable to get property 'txtAppl' of undefined or null reference. HTML page, <%@ Page Language="C#" Debug="true" %> <script runat="server" src="uzpo2003_tbbuild.cs"></script> <html> <head> <title></title> <script type="text/javascript" src="uzpo2003_client.js"></script> [...] read more
javascript
asp.net
2votes
0answers

Building and deploying cordova app in Visual Studio for Windows 10 Mobile - debugger spits javascript runtime errors

When I'm building javascript app for Cordova Windows 10 Mobile and debugging with Visual studio 2015 (but before, running module bundling from webpack config, i.e. webpack --bail --progress --profile using Task Runner Explorer addon), app most of the time builds and deploys, so I can run it and see the [...] read more
javascript
cordova
visual-studio-2015
runtime-error
windows-10-mobile
2votes
3answers

ExtJS 4 - async callback to callParent throws exception

I want to prepare some Json Store before processing to callParent(), then it throws an error. However, me.callParent() works fine outside without async callback. Ext.define('My.desktop.AppExt', { extend: 'Ext.ux.desktop.App', someStore: null, init: function() { var me = this; me.someStore = Ext.create('My.store.SomeStore'); me.someStore.load({ scope: this, url: 'some/json/url', callback: function(records, opt, success) { [...] read more
javascript
extjs
2votes
1answer

jquery datatable add row undefined?

In attempting to add a row to the jquery DataTable I am do the following: //add new status row to the DataTable $('#errorTable').dataTable().fnAddData( [ id, msg, tm ]); I used to use the code below table.row.add([...]) to add a row - and it did work for awhile however all of [...] read more
javascript
jquery
datatables
1vote
0answers

Best way to read Excel file and convert to JSON data (but error facing)

i tried to convert uploaded excel file to JSON model data using client side model not server side, but i'm unable to convert excel file to JSON data bcz. > 0x800a138f - JavaScript runtime error: Unable to get property 'SheetNames' of undefined or null reference. here is that url: > [...] read more
jquery
xlsx
xls
1vote
0answers

JavaScript runtime error:" Unable to get property 'call' of undefined or null reference" in jquery.validate.js

Included libraries @Scripts.Render("~/Scripts/jquery-ui-1.11.4.min.js") @Scripts.Render("~/Scripts/jquery.unobtrusive-ajax.min.js") @Scripts.Render("~/Scripts/jquery.validate.js") My validation only activates when a button Add is clicked: $('#form1').validate({ rules: { PROGRAM: { required: true, maxlength:20 }, UNIT:"required", IS_ACTIVE:"required" }, messages: { PROGRAM: { required: "Program Code is required.", maxlength: "Program code cannot be over 20 characters long" }, UNIT: { required: "Unit [...] read more
jquery
formvalidation-plugin
1vote
0answers

Blank row / Data with YADCF datatable

I am using YADCF Datatable with ASP:GridView. Everything including column level filter is working as expected when there is some data available into Datatable. But facing issue in below mentioned case - 1. GRIDVIEW without any data: Sometimes as per query, Oracle not returning any row. In this case YADCF [...] read more
datatables-1.10
yadcf
1vote
1answer

unable to get property 'queryselectorall' of undefined or null reference

i am getting below metioned error in my jquery function var timer = document.getElementById(id); var pdays = timer.querySelector('.days'); var phours = timer.querySelector('.hours'); var pminutes = timer.querySelector('.minutes'); var pseconds = timer.querySelector('.seconds'); > 0x800a138f - JavaScript runtime error: Unable to get property 'querySelector' of undefined or null reference please suggest me where [...] read more
javascript
jquery
javascript-events
1vote
0answers

jquery data table, passing large json string

I have a jQuery data table and use ajax call to populate it. Data in a C# datatable is converted to JSOn string in a web method API and the result is passed to data table. It works fine when I have a couple of thousand rows of data but [...] read more
javascript
c#
datatables
large-data
1vote
1answer

Cannot read property '0' of undefined google chart

I get this error message "Cannot read property '0' of undefined google chart" when i load my 2 graphs and it only occurs when i load my page for the first time. If i click F5 on chrome they load properly. If i resize the browser they appear load properly. [...] read more
google-visualization
1vote
4answers

Unable to get property 'style' of undefined or null reference

I have been looking online for a Watermark effect for my textboxes to get some help and found a piece of code which looks like the following : Javascript: function WaterMark(objtxt, event) { var defaultText = "Username"; var defaultpwdText = "Password"; // Condition to check textbox length and event type [...] read more
javascript
html
asp.net
1vote
1answer

Scroll to specific item in Checkbox List using jQuery

Hi have a Listview that I populate with alphabet letters. When a letter is clicked it looks for the first word in the checkbox list that starts with the alphabet letter. The value of the checkboxlist is then used as the parameter to which I have to scroll to. I [...] read more
javascript
c#
jquery
scroll
1vote
2answers

Disable Keyboard Entry to ASP Textbox

I have a text box with an ajaxToolkit:calendarextender attached to it. I also have an OnTextChanged="do something" with an AutoPostBack=true. I only want my user to be able to enter data into a textbox by using the calendar extender. I've tried setting the readonly property on the textbox to true. [...] read more
c#
asp.net
textbox
1vote
2answers

Out of the box Light Switch HTML app has a null error in IE9?

I am trying LightSwitch for the first time, and after making a new HTML C# App - I tried to run it just to see what it looks like. IE9 freezes immediately and I get this error from Visual Studio 2013: Unhandled exception at line 5, column 19701 in http://localhost:49609/HTMLClient/Scripts/msls-2.5.1.min.js [...] read more
javascript
c#
visual-studio-2013
visual-studio-lightswitch
lightswitch-2013
1vote
2answers

Error when laoding datatable from JSON

I'm developing a project where I fill an HTML table using datatables and a JSON returned from my server, which originally is a list of a class. The code is the following one for each element: Table HTML: <table id="tablaDetalle2" class="display" role="grid" aria-describedby="example2_info"> <thead> <tr> <th>id</th> <th>idFlight</th> <th>idSample</th> <th>import</th> </tr> [...] read more
javascript
json
asp.net-mvc
datatable
1vote
2answers

ActiveX event handlers in an HTA using Javascript

In C# I can write event handlers as follows: var wdApp = new Microsoft.Office.Interop.Word.Application(); wdApp.DocumentBeforeSave += (Document doc, ref bool saveAsUI, ref bool cancel) => { //do stuff here }; In VBA/VB6, I can use static event handling: Dim WithEvents wdApp As Word.Application Private Sub wdApp_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI [...] read more
events
activex
jscript
hta
activexobject
1vote
1answer

SignalR doesn't work in WebForm

I'm using Visual Studio 2015 to develop an asp.net webform. I'm new to SignalR and I'm trying to get the demo piece to work in an existing site. When I create an html page it works fine: <!DOCTYPE html> <html> <head> <title>SignalR Simple Chat</title> <style type="text/css"> .container { background-color: #99CCFF; [...] read more
asp.net
vb.net
visual-studio-2015
webforms
signalr
1vote
1answer

JQuery validate throws error when creating a simple rule

I'm creating a rule on a text input, but getting an error when the rule gets created. The error says > Unhandled exception at line 147, column 4 in https://localhost:44368/Scripts/jquery.validate.js0x800a138f - JavaScript runtime error: Unable to get property 'settings' of undefined or null reference" which is coming from this line [...] read more
jquery
jquery-validate
1vote
1answer

why file uploader not works?

i create a sample mvc application to test file upload i read this useful post and do it but client validator works not and gives me error my all codes are: i attached these in heder tag: <script src="~/Scripts/jquery-1.8.2.min.js"></script> <script src="~/Scripts/jquery-ui-1.8.24.min.js"></script> <script src="~/Scripts/jquery.validate.min.js"></script> <script src="~/Scripts/jquery.validate.unobtrusive.js"></script> <script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script> my model: public [...] read more
asp.net-mvc-4
1vote
1answer

Datatables throwing error on window resize

I have a DataTable. When I set it, I get no errors, the table is properly generated, but then whenever I resize the window, I'm getting this error: > 0x800a138f - JavaScript runtime error: Unable to get property 'style' of undefined or null reference I don't think I can reproduce [...] read more
jquery
webforms
datatables
0votes
0answers

Using OboutDropDownList inside an ASP updatePanel

I'm facing a problem related with a OboutDropDownList inside an ASP UpdatePanel. I've used the an ASP DropDownList inside an update panel and it works properly: <asp:UpdatePanel runat="server" UpdateMode="Conditional"> <Triggers> <asp:AsyncPostBackTrigger ControlID="ddOne" EventName="ddOneEvent" /> <asp:AsyncPostBackTrigger ControlID="ddTwo" EventName="ddTwoEvent" /> </Triggers> <ContentTemplate> <table> <td> <asp:DropDownList ID="ddOne" CssClass="styled-select" runat="server" AutoPostBack="true" AppendDataBoundItems="false" OnSelectedIndexChanged="ddOneEvent" Width="90%"> [...] read more
asp.net
updatepanel
obout
0votes
0answers

0x800a138f JavaScript Error Unable to get undefined or Null in createRange

My aspx <%@ Register Assembly="Framework.WebControls" Namespace="Framework.WebControls" TagPrefix="cc1" %> . . . <cc1:CustTextBox ID="txtUserId" CssClass="showWord7" runat="server" Width="150px" MaxLength="15" Text=""></cc1:CustTextBox> run code input data show error only for IE, chrome is success enter image description here Error in the paragraph in the figure read more
asp.net
web-controls
0votes
1answer

Angular app in UWP project does not load second page

I have an Angular project that I am trying to incorporate into a Universal Windows Platform (UWP) application. I have tested the Angular code in my web browser, and all works as expected there. When I try to run the Angular application, that is housed with-in the UWP app bundle, [...] read more
c#
angular
uwp
0votes
0answers

CKEditor : unhandled exception in find.js when I click on the button

Only with Internet Explorer (V11). In Visual Studio, I get "Unhandled exception at line 6, column 256 in ...ckeditor/4.4.7-devb-2/plugins/find/dialogs/find.js?t=F0RD when I click on the "find" or "replace" button. Once the error message is validate, the find dialog window is open and the search action don't work and produce another error. [...] read more
exception
find
ckeditor
0votes
0answers

How to return mvc5 model via an ajax call which can then be iterated with foreach( mvc5model, function(key,value){}

I need to return a model from mvc 5 controller via an ajax call, in a ObjectArray format which can be iterated as a key value pair. I've tried stringify and 'toJSON' and @HTML.raw and serializing the model on the controller side or using cast to Json on controller side, [...] read more
jquery
json
multidimensional-array
asp.net-mvc-5
deserialization
0votes
2answers

While trying to open RadWindow from server side getting error as "null reference" in Javascript

I have created the Rad window for in the aspx page and in the button click method i have written the code for opening the radwindow in VB.Net but im getting an error and window is not opening. radWinChCode.NavigateUrl = "buildchrcd.aspx?BU=" & strBU & "&USER=" & strChgCdUser & "&HOME=N&FROMRAD=RAD" radWinChCode.OnClientClose [...] read more
asp.net
.net
vb.net
telerik
telerik-grid
0votes
2answers

Kendo.DropDownList changing datasource dynamically

I am a new user and have not been able to find an example demonstrating what I'm trying to accomplish. I need to use the same Kendo.DropDownList in two different contexts, but must update one attribute [.Name("DisbursedTo")]. At first I used a hide/show approach with two separate ddl's. It worked, [...] read more
drop-down-menu
datasource
kendo-ui
0votes
0answers

Tinymce 5.0.12 Visual Studio 2017 - cannot get content()

What should be a simple integration of tinyMCE in a Visual Studio C# application: I cannot get the HTML text after the user edits the content. I've tried all the tips and tricks I can find online. I must be missing something? FIrst using straight jQuery to read the data [...] read more
tinymce
0votes
1answer

Confirm Popup message for image button

I had a radbutton in my code and a confirm popup message.The message worked fine with the radbutton.My requirement changed and I replaced the radbutton with image button and still need a confirm popup message.I get the following error, 0x800a138f - JavaScript runtime error: Unable to get property 'set_cancel' of [...] read more
javascript
asp.net
0votes
2answers

New Angular app in Visual Studio, lots of JavaScript errors in polyfill.js

I have a new Angular app. If I run it using 'ng serve' then I don't appear to have any errors, if I run it within Visual Studio 2017 then I get lots of errors in the debug output window, e.g Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request finished in 137.0021ms 404 text/html; charset=utf-8 Exception [...] read more
angular
0votes
0answers

fullcalendar JavaScript runtime error: Unable to get property 'format' of undefined or null reference

I am trying to format a date in fullcalendar. On create I am getting an error 0x800a138f - JavaScript runtime error: Unable to get property 'format' of undefined or null reference. But on Edit it works. $('#txtStart').val(selectedEvent.start.format('DD-MMM-YYYY')); read more
format
0votes
1answer

JavaScript runtime error: Unable to get property 'add_init' of undefined or null reference displaying Microsoft Report Viewer ASPX control

BACKGROUND I have been asked to upgrade a 10-years-old ASP.Net 2.0 web application project to the latest .Net framework and Visual Studio solution. The project must display a series of SQL Server Reporting services reports via the ReportViewer web control. So, I have upgraded the project to use .Net Framework [...] read more
c#
asp.net
reporting-services
0votes
0answers

How to Printing Network Path document client side

I have documents stored in NAS network. Now I want to print those documents using javasrcipt in Internet Explorer Edge. Below is the code which I am trying to execute but its not able to print <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebPrintTest.Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> [...] read more
javascript
jquery
printing
0votes
0answers

Ajaxcontroltoolkit fileupload control

I am getting the following error message when the Ajaxcontroltoolkit ver. 15.1.4.0 fileupload control is used on a vs2013 web application project with net 4.5. 0x800a138f - javascript runtime error: unable to get property cannotdeserialuzeinvalidjson of undefined or null reference Please help read more
c#
0votes
0answers

Returning a view to an ajax call and replacing html page throws 'appendchild' exception in jquery

I'm making an ajax call like this below where I'm returning a view like this return View("Finish"); This has the entire html page as a string as the response, so I want to replace the page with it, but when I do I receive an error > Unhandled exception at [...] read more
javascript
jquery
asp.net-mvc
0votes
1answer

Using JQuery Datepicker (Elements With Duplicate IDs)

I am running into the below error when using the jquery-ui datepicker. > 0x800a138f - JavaScript runtime error: Unable to set property 'currentDay' of undefined or null reference I have read online that this is because of html tags with duplicate IDs. I am currently hiding/displaying the divs/inputs with the [...] read more
jquery
html
css
jquery-ui-datepicker
0votes
1answer

viewer.js triggers addEventListener resize at tab switch in IE 11 causing error and crashes

In chrome I got the follow scenario working: I have a webpage with multiple tabs inside it and one of them includes showing pdfs using pdfjs. When I run chrome everything is fine. In IE11 I have the following issue. When I looked at the pdf tab and load another [...] read more
javascript
internet-explorer
pdfjs
0votes
1answer

jQuery DataTable - "Processing" does not appear

I am having problem displaying the processing message in a jQuery data table. I looked around for this issue and followed all suggestions to no avail. Only one suggestion works but partially. I tried: var tblFacCert = $("#tblFacCert").on('processing.dt', function (e, settings, processing) { if (processing) { if ($('#imgLoad').length == 0) [...] read more
javascript
jquery
datatables
0votes
2answers

Issue iterating through an object via Ajax call in C# MVC Framework

I am having issues iterating through the Object returned by the controller in C# MVC framework in my AJAX script. Ajax script: function getRName(obj) { $.ajax({ url: 'resourceNamePopup', method: 'post', data: { "search": obj.value }, dataType: 'json', success: function (data) { alert('success'); $.each(data.items, function (items) { alert(items.displayName); }); } }); [...] read more
c#
json
ajax
asp.net-mvc
serialization
0votes
3answers

How To Attach Knockout Validation To A Custom Binding

I have created a Knockout custom binding to format dates using moment.js. ko.bindingHandlers.dateStringValue = { update: function (element, valueAccessor, allBindingsAccessor, viewModel) { var value = valueAccessor(), allBindings = allBindingsAccessor(); var valueUnwrapped = ko.utils.unwrapObservable(value); if (valueUnwrapped === null) { ko.bindingHandlers.value.update(element, valueAccessor, allBindingsAccessor, viewModel); $(element).val(""); } else { ko.bindingHandlers.value.update(element, valueAccessor, allBindingsAccessor, viewModel); [...] read more
javascript
knockout.js
knockout-validation
0votes
0answers

Get row data on button click in datatables

This is the my script on how to load data to datatables. $('#btnRoster').click(function(e) { $('#dataTable').dataTable().fnDestroy(); e.preventDefault(); $.ajax({ url: '@Url.Action("GetRoster", "Home")', type: 'GET', dataType: "json", success: function(response) { var table = $('#dataTable').dataTable({ data: response, columns: [{ 'data': 'Id', 'sClass': 'hidecol' }, { 'data': 'Name' }, { 'data': 'Project' }, { 'data': [...] read more
jquery
datatables
0votes
1answer

Word Add-in made with Visual Studio 2015 throws exceptions

I just created a Word Add-in in Visual Studio 2015. I did not make any code changes. When I run it (in Word 2016 x86) and click on the ribbon button, the add-in loads correctly in the task pane but i get the following errors in the console: > 'iexplore.exe' [...] read more
ms-word
office-js
0votes
2answers

Javascript- <iframe> isn't working with local file

I'm trying to display a local file in my computer using <iframe>. If I add the file as an existing item to my project it works great but if I add the path of my local file (to <iframe> src) it doesn't work. I tried creating the file as txt [...] read more
javascript
file
iframe
0votes
0answers

JavaScript runtime error: The value of the property 'WebForm_AutoFocus' is null or undefined

I have been working on a Web Forms Application project. After the recent Windows 10 update, I'm getting following JavaScript error in IE. It works fine Chrome. > Unhandled exception at line 545, column 2 in http://localhost:59508/0x800a138f - JavaScript runtime error: The value of the property 'WebForm_AutoFocus' is null or [...] read more
c#
.net
0votes
1answer

Has anyone encountered Bundles/MsAjax error: PRM_ParserErrorDetails

Unhandled exception at line 1, column 135529 in http://localhost:12719/bundles/MsAjaxJs?v=j9o3qlKdc_Bj_LUejHQUBA53P8zxsxFJpe4eufPsc6I1 > 0x800a138f - JavaScript runtime error: Unable to get property 'PRM_ParserErrorDetails' of undefined or null reference I am emulating IE8 from IE11. I am using .net 4.5.1 with the default webform template. I was requested to support IE 8. The setup [...] read more
javascript
asp.net
twitter-bootstrap
webforms
0votes
1answer

Print specific part of webpage asp.net

I am trying to print a specific part of my application. My div. It works in html single page, but not in my application. My page is in ASP.NET and c#, but as I could not embed the function in C#, i am trying through javascript. However, there is a [...] read more
javascript
c#
html
asp.net
0votes
1answer

Not able to close jQuery UI dialog when opened from a catch block

I have built a common error dialog function to get a common look and feel for my dialogs. I call that function from within the $.ajaxSetup.error function without issue. I have one button added through the call on the dialog. My button will close the dialog and the X in [...] read more
javascript
jquery
jquery-ui
dialog
catch-block
0votes
1answer

How do I link from one view to another when using aspnetboilerplate?

I have tried using the normal links that would work in a basic mvc project, as well as links similar to what I see in the pages the views but I seems to be getting an error that is only resolved when I add the view as a menu item [...] read more
asp.net-mvc
razor
c#-2.0
aspnetboilerplate
0votes
1answer

jquery length error when trying to find json file through Ajax within .Net core

I have been receiving this error within jquery: Unhandled exception at line 422, column 4 in http://localhost:59307/lib/jquery/dist/jquery.js 0x800a138f - JavaScript runtime error: Unable to get property 'length' of undefined or null reference occurred This is displayed within this jquery method: grep: function( elems, callback, invert ) { var callbackInverse, matches [...] read more
javascript
jquery
.net
ajax
0votes
1answer

Jquery Datatable - selector throws table/row undefined

I´ve searched for a solution but I didn´t clearly understand the reason why its not working. Could you please help me ? This is my code, it throws a Table undefined error, when I change var data = window.table.row($(this)).data() , to var data = window.table.row($(this)).data() , the error changes to [...] read more
jquery
html
datatables
datatables-1.10
0votes
1answer

Problems using frontend in webapages with applicationinsights

I have this problem in using application insights, the same started yesterday 08/29/2017, I already identified that occurs in the application frontend in the use of the script that is inserted in the masterpage. var appInsights = window.appInsights || Function (config) {function r (config) {t [config] = function () {var [...] read more
web-applications
0votes
2answers

Trying to get Angular form data in JSON format

var mainApp = angular.module("mainApp", []); mainApp.controller('formulierController', function($scope) { $scope.reset = function() { $scope.voornaam = "Mark"; $scope.achternaam = "Schuurman"; $scope.afdeling = "ICT"; $scope.geboortedatum = new Date("Jan, 01, 0000"); $scope.telefoon = +31412123456; $scope.inschrijvingsdatum = new Date("Jan, 01, 0000"); $scope.mobiel = +31612345678; $scope.email = "Mark@gmail.com"; } $scope.reset(); $scope.showJson = function() { $scope.json = [...] read more
html
angularjs
json
forms
0votes
1answer

Confusion Getting this Errorr Unable to get property 'checked' of undefined or null reference

In Function when i use .checked then it stop working & generate below Error. Currently im using Visual Studio 2015.Please Help function GenderValidation(sender , e) { var male = document.getElementById('RadioButton_male').Checked; var female = document.getElementById('RadioButton_female').Checked; if (male == true || female == true) { e.IsValid = true; } else { e.IsValid [...] read more
javascript
asp.net
0votes
1answer

MVC 5 - can not get globalisation running

I want to add globalization because the site asks the user for a date. And my german user want to type "31.12.1966" and not "1966-12-31". So I add the nuget-Packages "jQuery.Validation.Globalize" and "jquery-globalize" to the project. Now I am not able to configure my BundleConfig! From my research I know, [...] read more
jquery
asp.net-mvc-5
asp.net-mvc-validation
jquery-globalize
javascript-globalize
0votes
0answers

Cordova barcodescanner plugin (windowphone 10) throw error

I'm working with Cordova barcodescanner plugin. When I press a button to open the scanner, it works. But When I click the button to close, it guives me an error and crashes the app. On android that button don't appear and if I press back button, it returns to app. [...] read more
visual-studio
cordova
windows-phone
cordova-plugins
visual-studio-cordova
0votes
1answer

How can I get my javascript work in an asp.net cshtml file?

I have a html input for uploading a picture to my ftp, and I want my JS the detect changes on my button. My cshtml is: @using (Html.BeginForm("UploadFile", "Upload", FormMethod.Post, new { enctype = "multipart/form-data" })) { <input id="uploadFile" placeholder="No file..." disabled="disabled" /> <div class="fileUpload btn btn-primary"> <span>Browse</span> <input id="uploadBtn" [...] read more
javascript
c#
asp.net
asp.net-mvc
razor
0votes
1answer

Unhandled exception: 0x800a138f - JavaScript runtime error

I am getting the below mentioned exception while i am trying to add a rule to a Radiobutton List by calling rules() method. Unhandled exception at line 3747, column 3 in http://localhost:XXXXX/Scripts/jquery-2.2.3.js0x800a138f - JavaScript runtime error: Unable to get property 'jQuery223064526755237397352' of undefined or null reference I have used the [...] read more
javascript
jquery
0votes
1answer

How to stubbornly keep an old JavaScript event handler in a webform page ported to ASP.NET MVC?

Considering a single line of markup in an .ASPX file as follows: <asp:DropDownList ID="drpdownPayPlan" runat="server" onchange="javascript: document.getElementById('txtPayAmount').value = document.getElementById('drpdownPayPlan').value.replace(',', '');"> May I keep my embedded JavaScript handler code and how? I understand there are lots of other issues when porting a WebForms application to ASP.NET MVC, but I'd like to [...] read more
javascript
asp.net-mvc
event-handling
porting
0votes
1answer

jsViews checking length returns error

I am using jSViews and getting data back via JSON and then linking to the template. The template shows the data I am sending it, however I have a simple post template with an array of comments. If I try and check that the length of the array is greater [...] read more
javascript
jsrender
jsviews
0votes
2answers

JavaScript runtime error: in IE only

Am getting an error when i run my site in IE (local host) the error is as follows: Unhandled exception at line 1440, column 9 in eval code 0x800a138f - JavaScript runtime error: Unable to get property 'top' of undefined or null reference If there is a handler for this [...] read more
javascript
0votes
0answers

Unable to implement FullCalendar into ASP.NET MVC4 application getting: 0x800a138f - Microsoft JScript runtime error: Object expected

Unable to implement FullCalendar into ASP.NET MVC4 application getting: 0x800a138f - Microsoft JScript runtime error: Object expected I got the code from the website but am getting the above error. Here is the code: { ViewBag.Title = "Calendar"; } <link rel='stylesheet' href='Content/fullcalendar.css' /> <script src='lib/jquery.min.js'></script> <script src='lib/moment.min.js'></script> <script src='fullcalendar/fullcalendar.js'></script> <h2>Calendar</h2> [...] read more
fullcalendar
0votes
1answer

JavaScript runtime error: Unable to get property 'activate' of undefined or null reference

I get the following error: > 0x800a138f - JavaScript runtime error: Unable to get property 'activate' of undefined or null reference when running the following line of javascript in my UWP App: Windows.UI.Xaml.Window.activate(); Windows.UI.Xaml.Window.current.activate(); or Windows.UI.Core.CoreWindow.activate(); API Reference, Handle app activation Doc read more
javascript
uwp
windows-store-apps
0votes
1answer

UWP: How to access ApplicationData

I am trying to create a Settings Value for my UWP-JS App on Startup. I am following this Documentation. Here is what I've currently got: (function () { "use strict" //Initialization var localSettings = Windows.Storage.ApplicationData.current.localSettings; // Save value localSettings.Values["exampleSetting"] = "example"; // Retrieve value $('p').text(localSettings.Values["exampleSetting"]); })(); When I start the [...] read more
javascript
visual-studio
winapi
uwp
local-storage
0votes
0answers

How to use static class variable as initialization value for static class variable of other class with AMD in TypeScript?

please consider the following code, consisting of 3 simple classes, where I try to use a static class variable of a "common" class to initialize a static class variable of two other classes (to make sure they both use the same value). I'm using AMD in my project settings as [...] read more
typescript
amd
0votes
2answers

MVC Jquery Ajax Request error 0x800a138f - JavaScript runtime error: Object expected

I have been struggling with this function for the past hour now and i am not sure what is going wrong, I have a function that needs to call a controller action and populate a dropdown, the code seems to fail on the line where I declare the url, it [...] read more
c#
jquery
ajax
asp.net-mvc
html.dropdownlistfor
0votes
1answer

Unable to get property of undefined or null reference UWP

I have the following code in my visual studio and it works perfectly well au a UWP app on my desktop win10, albeit it does not work on my windows phone as a UWP app. I also tried running my simple webapp as from a webserver and loading it in [...] read more
javascript
windows-phone
uwp
0votes
1answer

MVC JScript Upload a Photo and Display Preview

I have a requirement for a user to be able to upload a photo of an item when creating a new record. Fine easy enough, what I'm having trouble with is previewing the upload before submittal Here is what I have so far which runs all apart the last line. [...] read more
javascript
razor
asp.net-mvc-5
image-uploading
0votes
0answers

Unable to get property 'Gallery' of undefined or null reference

I'm getting this error in Internet Explorer: > Unhandled exception at line 1, column 106 in http://localhost:50981/Scripts/bootstrap-image-gallery.min.js 0x800a138f - JavaScript runtime error: Unable to get property 'Gallery' of undefined or null reference I am using bootstrap and blue imp gallery in my website project. I've tried reordering script links to [...] read more
javascript
jquery
twitter-bootstrap
runtime
unhandled
0votes
0answers

Create jQuery behind the code and execute every time on input text change

I want to create jQuery behind the code in VB.NET and I want that code be execute each time when I change a value in my TextBox. For now I created method which is creating my function and that code look like this: Sub jQueryInsert() Dim strConnString As String = [...] read more
javascript
jquery
asp.net
vb.net
visual-studio-2012
0votes
1answer

File Input - Unable to get property 'addEventListener' of undefined or null reference

I have an input file control which I want to use to select a .csv file. I have been trying to add an event listener to the control so that a function 'csvFileSelected' is called when a file is selected. However, whenever my app tries to add the event listener [...] read more
javascript
html
dom
getelementbyid
addeventlistener
0votes
0answers

D3 Force Layout error message using Visual Studio 2013 - "Unable to get property 'force' of undefined or null reference"

Using D3 javascript to create a force directed network visualization. Why do I keep receiving the same error message (as follows) everytime I try to run the code (which I am testing to learn how it actually works) using Visual Studio 2013: > Unhandled exception at line 62, column 5 [...] read more
javascript
visual-studio
d3.js
0votes
1answer

Angular application error in IE 11. Everything works fine in Chrome

I am developing an angular application. The application is working fine in Chrome but in IE( I am using IE11) I am getting the following error. Unhandled exception at line 2930, column 1 in http://localhost:54896/Scripts/Angular/angular.js 0x800a138f - JavaScript runtime error: Unable to get property 'prototype' of undefined or null reference read more
javascript
angularjs
0votes
2answers

jQuery UI Dialog with angularjs

I am trying to write a functionality where if we pass the scope and template, it should show the given template in a jQuery UI dialog with the all working bindings from the given scope. Here is the code: HTML <div id="mainDiv" ng-controller="myCtrl"> <input type="button" value="show dialog" ng-click="showTemplateDialog()" /> </div> [...] read more
angularjs
jquery-ui
dialog
0votes
1answer

Why does the Google API not work in my Universal Windows App?

Error: 0x800a138f - JavaScript runtime error: Unable to get property 'setApiKey' of undefined or null reference Hello I'm desperatly trying to get this to work on my Universal Windows App. There is a sample for Googles URL shortener with instructions on how to use the API. https://developers.google.com/api-client-library/javascript/samples/samples All of this [...] read more
javascript
windows
google-api
win-universal-app
uwp
0votes
2answers

Set span text from Javascript function

Edited: make sure to add '' surrounding the control you're adding to the Javascript function call. I'm working with Asp.net textbox controls and setting a character countdown in a span tag. When I set did this as a jquery referencing the specific controls it worked fine. However, given that I'll [...] read more
javascript
html
asp.net
function
textbox
0votes
1answer

jQueryMobile - open a popup programmatically fails with js error

Opening a jQuery Mobile popup programmatically results in a javascript runtime error. 0x800a138f - JavaScript runtime error: Unable to get property 'nodeName' of undefined or null reference I've tested with both IE and Chrome, which have similar results. <div data-role="popup" id="myPopup" data-overlay-theme="b" data-theme="c" data-dissmissible="false" class="ui-corner-all"> <div data-role="header"><h1></h1></div> <div data-role="content" data-theme="a" [...] read more
javascript
jquery
jquery-mobile
0votes
0answers

0x800a138f - JavaScript runtime error - IE11 compatibility with d3

I'm building a d3 treemap based off of the zoomable treemap found at http://bl.ocks.org/davetaz/9954190. I have everything working fine in chrome/firefox/etc, but company standard is IE11 so it needs to be compatible. Each time I run it in IE, I get the following error: "Unhandled exception at line 70, column [...] read more
javascript
d3.js
internet-explorer-11
0votes
1answer

Javascript XML - how to return a null value

<Root> <Child1>First Child Value</Child1> <Child2> <Age>Age1 Value</Age> <Age /> <Name /> </Child2> <Child3>3-1</Child3> <Child3>3-2</Child3> <Child4>4</Child4> <Child5>5</Child5> <Child6>6</Child6> </Root> <script> var xmlDoc = xml.responseXML; var x = xmlDoc.getElementsByTagName("Root"); alert(y[0].getElementsByTagName("Age")[0].childNodes[0].nodeValue); alert(y[0].getElementsByTagName("Age")[1].childNodes[0].nodeValue); <script> I am trying to get a null value from "Root" > "Child2" > "Age[1]" but I get the message "0x800a138f [...] read more
javascript
xml
0votes
0answers

Can not access chart series datalabels in excel and add in JavaScript

I am trying to write JavaScript code to generate an excel add-in, using Visual Studio 2015. The aim of the code is to generate a chart and add labels (from text value within the spreadsheet) at specific locations on the chart. The problem with the code I have written seems [...] read more
javascript
excel
charts
add-in
0votes
1answer

0x800a138f - JavaScript runtime error: Unable to get property 'style' of undefined or null reference

I am getting a JavaScript > runtime error: Unable to get property 'style' of undefined or null reference error when running the following code. The part that it balks at is lblSatisfyQuarterEndDate.style.display = "none"; If I remove that part it runs fine. I want to get the textbox and the [...] read more
javascript
asp.net
0votes
2answers

Where can I put this Javascript that references a field that hasn't been built yet?

I have a piece of JavaScript that clears out a label (well, it sets its innertext value). The problem is, after I've clicked a button and the page posts back, the label doesn't exist when the Javascript launches. So, I get an error: > 0x800a138f - JavaScript runtime error: Unable [...] read more
javascript
c#
-1votes
2answers

Is Fullcalendar v2.6.0 able to work on jQuery-3.3.1 and MVC 5?

Is Fullcalendar v2.6.0 able to work on jQuery-3.3.1 and MVC 5? I have an old project which needs to be upgraded. I am using Visual Studio 2017 with jQuery-3.3.1, MVC 5.2.4 and moment.min.js 2.24 to recompile it, but I always got an error when I use IE 11: > Unhandled [...] read more
jquery
fullcalendar
internet-explorer-11
fullcalendar-2
-1votes
1answer

show multi file upload based on dropdown select

I am trying to run this code but I don't know why error comes with jquery when I select any item in the list here is the code <form name="myform"> <table> <td> // green underline in this line of the <td> <select name="one" onchange=" if(this.options[this.selectedIndex].value == '1') { document.myform['b'].style.visibility = [...] read more
c#
model-view-controller
-1votes
5answers

Issue with multi-dimensional arrays in JavaScript

I am trying to create a multidimensional array in javascript. The following code generates the following error: 0x800a138f - JavaScript runtime error: Unable to set property '0' of undefined or null reference var data = [["Timestamp", "kWh Produced", "kWh Used"]]; data[1][0] = "test"; I assume that I need to somehow [...] read more
javascript
arrays
multidimensional-array
-1votes
1answer

get RowIndex of Grid from a checkbox

I'm trying to get the row index of my checkbox, the current code i can get the checked value of the checkbox. the closest doesn't work and i'm stack. If i check a box on grid row 1 an alert should shows 1 $(":checkbox").change(function () { if ($(this).is(':checked')) { var [...] read more
jquery
-1votes
2answers

Json data- key values, Object.Keys error

I am trying to parse out all keys from a json data. <script type="text/javascript"> $(document).ready(function () { $.ajax({ type: "POST", url: "History.aspx/GetFTEData", dataType: "json", contentType: "application/json; charset=utf-8", success: function (data) { var returnedstring = data.d; var colHeader = Object.keys(data[0]); <---- error line } }); }); </script> However, var colHeader = [...] read more
javascript
jquery
json
-1votes
1answer

ASP.net Adding new Button to GridView give an error in jquery.dataTables.min.js

I currently have a GridView and I'm trying to add a button. I'm able to add it but when I click on it I get this weird error on this line. if(c.mData===a){var d=u(b,"sort")||u(b,"order"),e=u(b,"filter")||u(b,"search"); Error: > Unhandled exception at line 91, column 426 in http://localhost:23549/Scripts/jquery.dataTables.min.js 0x800a138f - Microsoft JScript runtime error: [...] read more
c#
jquery
asp.net
visual-studio
gridview

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0