Windows error 0x800A01B6, -2146827850

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 Code438 (0x01b6)

Questions

12votes
2answers

TypeScript class function not available

I'm trying to call a instance method of a TypeScript class (in an ASP.NET MVC project). However, at Runtime I get exceptions like 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'checkString'. I copied the generated JavaScript in a jsfiddle where the method seems to work. I'm [...] read more
javascript
typescript
8votes
6answers

integrating tinymce with asp .net MVC 4.0

using ASP .NET MVC 4.0 , VS2012. In one of my page, I tried to integrate a WYSIWYG editor "TinyMCE". To integrate, I followed the following URL : .tugberkugurlu.com My view page is like : @model AboutModels @using FileUploadDemo.Models <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="Scripts/tinymce/jquery.tinymce.js" type="text/javascript"></script> @{ ViewBag.Title = "About"; [...] read more
javascript
jquery
asp.net-mvc-4
tinymce
7votes
6answers

jquery 2.0.3 not working with IE

I have the following sample html file: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Example</title> <script src="../Scripts/jquery-2.0.3.js"></script> <!--<script src="../Scripts/jquery-1.7.js"></script>--> <script type="text/javascript"> $(document).ready(function () { $('#mainheader').css("color", "red"); }); </script> </head> <body> <h1 id="mainheader" class="header">Sample 1</h1> <h2 class="header info">Sample 2</h2> <h3 class="info">Sample 3</h3> </body> </html> When i run the same with jQuery version 2.0.3, [...] read more
jquery
7votes
4answers

How to use jQuery Migrate plugin

I'm using jquery 2.0 but would like to also use the jQuery migrate plugin so my website will work on older browsers. However, I've been unsuccessful at getting it to work. I have the following in the header section in my html. <head> <meta http-equiv="X-UA-Compatible" content="IE=8" /> <script src="/Scripts/jquery-2.0.3.js"></script> <script [...] read more
jquery
jquery-migrate
6votes
5answers

MVC 4 Razor and Jquery UI datepicker() "Object doesn't support property or method"

I've probably just spent the last two hours trying to figure this out. The specific error that is thrown with my MVC application is this: "0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'datepicker'" Here is my code: _Layout.cshtml: <head> ... <script type="text/javascript" src="../../Scripts/jquery-2.0.3.js"></script> <script type="text/javascript" src="../../Scripts/jquery-ui-1.10.3.js"></script> [...] read more
jquery
asp.net-mvc
jquery-ui
razor
datepicker
5votes
4answers

'Exception from HRESULT: 0X800A01B6' error in PowerShell when trying to enter login information to Facebook

I have this code written in PowerShell: $username = "xxxxxx"; $password = "xxxxxx"; $url = "www.facebook.com/login"; $ie = New-Object -com internetexplorer.application; $ie.visible = $true; $ie.navigate($url); ($ie.document.getElementsByName("email") |select -first 1).value = $username; And there is when I get this error message: Exception from HRESULT: 0x800A01B6 At line:1 char:1 + ($ie.document.getElementsByName("email") |select [...] read more
powershell
5votes
4answers

Array merge in ASP classic

I'm working on an array_merge function for ASP classic. What I have seems to be working, until one (or both) params are empty or not arrays. Here's what I have so far: function array_merge(left, right) dim total_size dim i dim merged ' Convert "left" to an array if not isArray(left) [...] read more
arrays
function
asp-classic
merge
5votes
4answers

Object doesn't support property or method "focus"

I am using the tagsinput text field on my website from this project. And I am trying to set focus to the text field but it isn't working. It is giving me the following error: Unhandled exception at line 37, column 9 in LOCALDOMAIN-LINK-REMOVED 0x800a01b6 - JavaScript runtime error: Object [...] read more
javascript
jquery
html
dom
4votes
3answers

Angular `ng-click` not working in DataTables table row

I have an angular application that is also using jquery.dataTables. When I use datatables to build a dynamic table with the ng-click angular directive in the table data, it does not fire the ng-click event. I suspect that I need to use the angular $compile service, but I have not [...] read more
angularjs
datatables
4votes
2answers

Trying to use getElementById in Powershell with IE 11, error Exception from HRESULT: 0x800A01B6

I'm trying to automate logging in on a website, but I can't seem to use getElementById. getElementsByClassName("whatever")[0] seems to work, but the elements I need don't have class names and I can't change that. I'm using PS 5, IE 11. Here's an example of my code, and the resulting exception. [...] read more
powershell
internet-explorer-11
powershell-5.0
4votes
1answer

How to bind property on parent object with knockoutjs?

I'm developing a application with knockout.js framework. I have one viewmodel like that: var MyViewModel= { Id: ko.observable(), CountryCode: ko.observable(), NormalizedAddress: { COUNTRY_CODE: ko.computed(function () { return this.CountryCode(); }), Street: ko.observable(), ZipCode: ko.observable(), AreaCode: ko.observable(), Town: ko.observable(), Description: ko.observable() } When I run my application, I obtain one exception like [...] read more
javascript
knockout.js
computed-observable
3votes
1answer

UWP WebView Javascript "Object doesn't support property or method"

I need JavaScript in a UWP (Windows 10) WebView to call a C# method. I followed the instruction on how to use AddWebAllowedObject, but when JavaScript calls the C# function, I get this javascript error: > 0x800a01b6 - JavaScript runtime error: Object doesn't support property or > method 'getAppVersion' As [...] read more
javascript
c#
windows
webview
uwp
3votes
1answer

Bing maps v8 not loading for IE11

I'm doing a pretty standard loading of a map, like: map = new Microsoft.Maps.Map(document.getElementById('map_canvas')); In Chrome it works fine, but in IE11, I get an exception in the map code: 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'matchMedia' The line within the Bing maps code is: [...] read more
javascript
bing-maps
3votes
1answer

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'tabs'

I have the following code: <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.9.1.js"></script> <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script> <link rel="stylesheet" type="text/css" href="style.css" /> <div id="tabsWithStyle" class="style-tabs"> <ul> <li><a href="#facebook">Facebook</a></li> <li><a href="#twitter">Twitter</a></li> </ul> <div id="facebook"> content about Facebook here </div> <div id="twitter"> content about Twitter here </div> </div> <script type="text/javascript"> $(document).ready(function () { $('#tabsWithStyle').tabs(); }); </script> For [...] read more
javascript
asp.net-mvc-4
c#-4.0
2votes
2answers

How do I create a basic JavaScript extension method which outputs the string 'Hello World'?

Not sure if the word 'extension method' is appropriate or not. I want to extend the JavaScript language to allow me to call .helloWorld() on any object and it will always return the string 'Hello World'. I have tried ... Object.prototype.helloWorld = function () { return "Hello World"; } ... [...] read more
javascript
2votes
1answer

UWP: How to call WinAPI Method

My question is simple. How can I call a WinAPI Method like emptyClipboard in an UWP app? I included the 'Windows Desktop Extensions for the UWP' The method is listed under Windows API Index / Data Exchange / Clipboard Reference / Clipboard Functions I've tried the following (js): Windows.emptyClipboard(); Windows.WinAPI.emptyClipboard(); [...] read more
javascript
windows
winapi
methods
uwp
2votes
2answers

Closing bootstrap modal from asp.net code-behind

I found this answer, but get the following error: script: <script type="text/javascript"> function Closepopup() { debugger; $('#myModal').modal('close'); } </script> code-behind: ScriptManager.RegisterStartupScript(Me, Me.GetType, "Close Modal Popup", "Closepopup();", True) error: Unhandled exception at line 6, column 13594 in http://localhost:1230/Scripts/bootstrap.min.js 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'close' Any [...] read more
javascript
asp.net
twitter-bootstrap
2votes
1answer

Download an image from website

I ran this powershell script to download an image from a website (to download it, certain steps had to be made, that's why I used IE navigate). I put a random string with a space between 4 and 4 characters. But I get an error and it doesn't even start [...] read more
powershell
2votes
0answers

Error: Object doesn't support property or method 'slice'

$("#grid").kendoGrid({ height: 400, width: 400, columns: [{ field: "id" },{ field: "question" },{ field: "order" },{ field: "type" },{ command: [ "edit" , "destroy"], width: 280 }], dataSource: { type: "Data", transport: { read: { url: "@Url.Action("getAlldetails","IPPFnew")" } } } }); This is my code but I get the below [...] read more
javascript
jquery
2votes
1answer

Dialog Jquery not working

index.cshtml code <link href="~/Content/jquery-ui.css" rel="stylesheet" type="text/css" /> <script src="~/Scripts/jquery-1.10.2.js" type="text/javascript"></script> <script src="~/Scripts/jquery-ui.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $("#finestra").dialog({ autoOpen: false }); }); </script> <div> <p> JQuery Dialog Test </p> <div id="finestra" title="Test"> <div>content</div> </div> </div> I am getting a 0x800a01b6 - JavaScript runtime error: Object doesn't support property or [...] read more
jquery
asp.net-mvc
razor
1vote
2answers

Setup TinyMce editor in C# MVC 4 - Visual Studio 2012

Always get this error: get: 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'tinymce' By Nuget: PM> Install-Package TinyMCE.MVC.JQuery newest version Model Class: using System.Web.Mvc; using System.ComponentModel.DataAnnotations; namespace Familytree.Models { public class TinyMCEModelJQuery { [AllowHtml] [UIHint("tinymce_jquery_full")] public string Content { get; set; } } } Controller: using [...] read more
c#
asp.net-mvc-4
1vote
3answers

What is am Doing wrong in ASP

In PHP I am using this if(!f || !f2) Now I am converting this code into ASP like this If Not f OR Not f2 Then but it gives me an error: Error Type: Microsoft VBScript runtime (0x800A01B6) Object doesn't support this property or method What I can do now? read more
vbscript
asp-classic
1vote
0answers

jquery-1.11.2.min.js to jquery-3.5.1.min.js : Object doesn't support property or method

recently i changed my cshtml page refers been replaced from jquery-1.11.2.min.js TO https://code.jquery.com/jquery-3.5.1.min.js after that the below code returns error as "Unhandled exception at line 2, column 84827 in https://code.jquery.com/jquery-3.5.1.min.js 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'indexOf' " May i know how to resolve this [...] read more
javascript
jquery
angularjs
jquery-mobile
1vote
0answers

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'forEach'

There are 2 dropdowns. One is Category and another subcategory. Once i select a category in the drop down, i am firing a JS where it brings all the subcategories for the selected category. I got the values but when trying to bind the array data, i am getting the [...] read more
javascript
jquery
asp.net-mvc
asp.net-core
asp.net-ajax
1vote
1answer

jquery unhandled exception how to handle this exception

Unhandled exception at line 3, column 147 in http://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'addEventListener' Code : <!DOCTYPE html> <html lang="en"> <head> <title> Login form </title> <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <style type="text/css"> body { margin: 0; padding: 0; background-color: #17a2b8; [...] read more
jquery
html
bootstrap-4
1vote
1answer

jQuery and Bootstrap dialog not coming up

Currently have a FullCalendar Application which keeps tracks of appointments. Recently changed the layout around which somehow helped get my dialog working. So whenever I click an appointment on the calendar, it comes up with the details in a dialog. I have switched some things around and now it doesn't [...] read more
javascript
jquery
twitter-bootstrap
razor
fullcalendar
1vote
1answer

Object doesn't support property or method 'igGrid' occurred

I get an error when trying to render an Infragistics grid and I cannot find the cause of this, googled it, searched forums etc… Unhandled exception at line 1423, column 16 in eval code ‘0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'igGrid' occurred’ in a run [...] read more
asp.net
model-view-controller
infragistics
ignite-ui
iggrid
1vote
1answer

.find() Jquery Function Is not supported in IE11?

Working with a Kendo grid, I need a method that checks data for a specific cell on the grid. I want to return the column name of which the cell is located on. The columns have a static field name, but dynamic title. I need to retrieve the title, based [...] read more
javascript
jquery
asp.net-mvc
kendo-ui
kendo-grid
1vote
0answers

Success and Error on the same AJAX call

I thought twice before writing this title, but that's the case. This question is related to DistanceMatrix AJAX query on Google directions Service route returns error, but i managed to get the success working. The event is fired when an input is clicked in the MVC View: <input onclick="initMap()"> Then, [...] read more
javascript
json
ajax
google-distancematrix-api
1vote
2answers

.Net pass a list of objects to JQuery as parameter

Hi I tried to pass a list of self-defined objects to JQuery as parameter and expect jQuery recognise it as the specific object and loop through it. The class is: public class PriceSummary{ public string ItemName { get; set; } public string ItemPrice { get; set; } } The backend [...] read more
c#
jquery
.net
1vote
2answers

Knockout.js viewmodel changes, but check marks don't change on published site

I am working with a Razor page that utilizes Knockout.js for the interface handling. While the viewmodel changes the values, and the database stores them correctly upon saving, the check marks do not change when clicked upon. I researched into similar questions and found this answer. Unfortunately, while making the [...] read more
javascript
visual-studio
visual-studio-2013
knockout.js
1vote
0answers

Understanding Powershell HRESULT: 0x800A01B6 Error getElementById

For the following question, $doc is the .Document of a -ComObject "InternetExplorer.Application" I'm using Powershell 5.1, Windows 10. What is the difference between methods: $doc.getElementById("divdetails") and $doc.IHTMLDocument3_getElementById("divdetails") ? The former worked for a day. The next morning, no change to the script and .getElementById() resulted in error: HRESULT: 0x800A01B6 every [...] read more
powershell
internet-explorer
getelementbyid
1vote
1answer

Getting HRESULT: 0x800A01B6 Exception while getting elements from InternetExplorerMedium website

I'm trying to make some code on VB.net that opens a website and logs in, and after that runs a report. Everything has been working fine when I try to get any of the from the website, but the ones that have this instruction within the OnClick property = "return [...] read more
vb.net
vba
hresult
1vote
3answers

Receiving error 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'modal', when using Bootstrap 3 modal

I have created a simple MVC 5 project to demonstrate the issue I had using Visual Studio 2013 (New > Project > ASP.NET Web Application (4.5) > Empty (MVC)). I then created the a basic controller and action for a simple view: public class HomeController : Controller { public ActionResult [...] read more
jquery
asp.net-mvc
twitter-bootstrap
modal-dialog
1vote
1answer

MVC4 and datepicker: "0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'datepicker'"

I have an MVC application that gives the above error. the application defaulted to referencing jquery-1.8.2.js in the Scripts folder. With NuGet, I added jquery-ui-1.11.4.js. Here are the relevant code sections: BundleConfig.cs: public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/jquery").Include( "~/Scripts/jquery-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include( "~/Scripts/jquery-ui-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include( "~/Scripts/jquery.unobtrusive*", "~/Scripts/jquery.validate*")); // Use [...] read more
javascript
jquery
asp.net-mvc
asp.net-mvc-4
datepicker
1vote
1answer

Does anyone know why using 'fileEntry.file' keeps failing in my Windows 8 app when trying to read a file?

Does anyone know why using 'fileEntry.file' keeps failing in my Windows 8 app? If I use the following code it fails: Windows.Storage.StorageFile.getFileFromApplicationUriAsync(new Windows.Foundation.Uri(cordova.file.applicationDirectory + 'www/assets/pages/en/navigation.html')).done(usethisfile, fail); function usethisfile(fileEntry) { console.log("Im going to use the file... " + fileEntry.path); fileEntry.file(function (file) { var reader = new FileReader(); reader.onloadend = function() { [...] read more
javascript
cordova
windows-8
cordova-plugin-file
1vote
1answer

Tablesorter widgets StickyHeaders widget not working in ajax loaded mvc partial view

I am using tabelsorter (fork) & widgets for filtering & sorting. It works absolutely fine. Now I wanted to use stickyheader but somehow its not working. It gives me the following error Unhandled exception at line 2140, column 8 in http://localhost:51815/scripts/jquery.tablesorter.widgets.js 0x800a01b6 - JavaScript runtime error: Object doesn't support property [...] read more
jquery
asp.net-mvc-4
tablesorter
1vote
0answers

ASP .NET MVC Kendo Window close exception

I have view @{ ViewBag.Title = "Page Title"; } @(Html.Kendo().Window() .Name("activate-window") .Title("Car selection") .Content ( @<h5>cars:</h5>+ @Html.Kendo().AutoComplete() .HtmlAttributes(new { style = "width:100%" }) .Name("vehicle") .DataTextField("Name") .DataSource(ds => { ds.Read(r => { r.Action("GetVehicleList", "Home").Data("getVehicle"); }).ServerFiltering(true); }) .Filter("contains") .MinLength(3).ToHtmlString() + "<h5>Device:</h5>"+ @Html.Kendo().MultiSelect() .Name("device") .DataTextField("Name") .DataValueField("Id") .AutoBind(false) .DataSource(ds => { ds.Read(r => { [...] read more
javascript
asp.net
asp.net-mvc
kendo-ui
1vote
0answers

Windows App Error: Object doesn't support property or method 'validate'

I'm developing a Windows 8.1 App in Javascript and HTML5. While running it in the emulator I am getting the following error: > 0x800a01b6 - JavaScript runtime error: Object doesn't support property or > method 'validate'. It is highlighting to the below line of code: jQuery(function($) { $("#CommentForm").validate({ submitHandler: function(form) [...] read more
javascript
jquery
windows
1vote
0answers

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'compareDocumentPosition'

I have below piece of code using jQuery file upload control. As per below code, added input type of file. And my requirement is after displaying file upload user interface, when you click on the Browse, it should call the Web API controller. But with below piece of code I [...] read more
jquery
1vote
1answer

Encountered a Data Table Error when running my MVC Web App in an IE Browser

As I run the project I get this error sent back to me. Unhandled exception at line 257, column 1 in http://localhost:54123/Scripts/Custom/custom-validation.js 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'DataTable' And below is the part of the code it's referring to.. $('.dtable-fd').DataTable({ "aoColumnDefs": [{ 'bSortable': false, [...] read more
javascript
c#
asp.net-mvc
asp.net-mvc-4
1vote
2answers

Jquery time picker, .selector is not working

I have used time picker code from the http://www.jqueryscript.net/time-clock/Easy-Time-Selector-with-jQuery-jQuery-UI-timeselect.html <link rel="stylesheet" type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/flick/jquery-ui.min.css" /> <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script> <script type="text/javascript" src="~/Scripts/date-en-US.js">&lt;/script> <script type="text/javascript" src="~/Scripts/jquery.ui.timeselect.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#<%=txtTimePicker.ClientID%>').timeselect({ autocompleteSettings: { autoFocus: true } } ); }); <script> <asp:TextBox ID="txtTimePicker" runat="server" /> I am getting the following error: 0x800a01b6 [...] read more
jquery
asp.net
1vote
1answer

Kendo grid json post

I have an MVC application using a Kendo grid as follows: var products = [{ ProductID: 1, FullName: "Chai", IsHeadmaster: "T" }]; $("#teachers").kendoGrid({ dataSource: { type: "json", transport: { read: function (e) { // on success e.success(products); // on failure //e.error("XHR response", "status code", "error message"); }, update: { type: [...] read more
javascript
jquery
json
asp.net-mvc
kendo-grid
1vote
0answers

Select2 - Object does not support the method

I've downloaded JQuery select2 library, in order to use its Multiselect (looks like tags). I have an MVC application, framework 4.5, and I'm also using bootstrap. I've tried all kind of solutions, but out of some reason, my application falls on > 0x800a01b6 - JavaScript runtime error: Object doesn't support [...] read more
jquery
twitter-bootstrap
asp.net-mvc-4
runtime-error
jquery-multiselect
1vote
1answer

How do I create dynamic objects from config data using Ext js

I'm using Ext Js to create a web app that needs to be dynamic. I make an AJAX call to the server to get the data to be displayed but don't really know what it is until I get the data back. I've seen some samples in which the dynamic [...] read more
javascript
extjs
1vote
0answers

Datepicker ERROR 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'datepicker'

I have some problem when i want to put datetimepicker into textbox in cshtml page my bundleconfig look like this bundles.Add(new ScriptBundle("~/js").Include( "~/Content/bower_components/jquery/dist/jquery.min.js", "~/Content/bower_components/bootstrap/dist/js/bootstrap.min.js", "~/Content/bower_components/metisMenu/dist/metisMenu.min.js", "~/Scripts/jquery-1.9.1.js", "~/Scripts/jquery-1.9.1.min.js", "~/Scripts/jquery-ui.js", "~/Scripts/jquery-ui.min.js", "~/Scripts/jquery-migrate-{version}.js", "~/Scripts/site.js", "~/Scripts/jquery.validate.js", "~/scripts/jquery.validate.unobtrusive.js", "~/Scripts/jquery.validate.unobtrusive-custom-for-bootstrap.js" )); And i believe that the problem is in the rendering order My layout page looks [...] read more
jquery
asp.net
asp.net-mvc-4
0votes
2answers

Powershell: IE Web Form - Can't Identify Input Box's for entering data

I'm trying to fill out some text input/drop-down boxes in IE with a PowerShell (PoSH) script, and I've been using examples provided on the Internet, including here, and here. However, I haven't been able to get or identify the text boxes via GetElementsByTagName() - I think it acts like they're [...] read more
powershell
internet-explorer
webforms
0votes
0answers

summernote editor not working error "0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'edit'"

My Masterpage code @ViewBag.Title <link rel="stylesheet" type="text/css" href="~/Content/css/bootstrap.min.css" /> <!-- animate --> <link rel="stylesheet" type="text/css" href="~/Content/css/animate.css" /> <!-- fontawesome --> <link rel="stylesheet" type="text/css" href="~/Content/css/font-awesome.css" /> <!-- themify --> <link rel="stylesheet" type="text/css" href="~/Content/css/themify-icons.css" /> <!-- flaticon --> <link rel="stylesheet" type="text/css" href="~/Content/css/flaticon.css" /> <!-- slick --> <link rel="stylesheet" type="text/css" href="~/Content/css/slick.css"> <!-- REVOLUTION [...] read more
bootstrap-4
summernote
0votes
0answers

IE BHO DWebBrowserEvents2_Event.BeforeScriptExecute don't have webbrower.Document on page Refresh

I am writing a BHO for IE11. In the BHO I have exposed some methods using IExtension interface to be called by the JavaScript. The Code is below IWebBrowser2 _webBrowser2; int IObjectWithSite.SetSite(object site) { try { _site = site; if (site != null) { var serviceProv = (IServiceProvider)_site; var guidIWebBrowserApp [...] read more
c#
windows
internet-explorer-11
bho
0votes
1answer

C# The object [textBox] does not support the 'datepicker' property or method

I'm having trouble with an association of a textbox with a datapicker. Error: > Unhandled exception at line 60, column 13 in > http://localhost:54293/my-path/my-file.aspx 0x800a01b6 - JavaScript runtime > error: The object does not support the 'datepicker' property or method > occurred I need to associate a data picker to [...] read more
javascript
c#
asp.net
0votes
0answers

Word Office JS Addin - GET Request - Object doesn't support property or method 'apply'

I'm trying to get some data from a Web API through a Word Office JavaScript addin using an ajax request. However, I am getting the following error when I make the call: 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'apply' Here is my code: Office.onReady(function () [...] read more
javascript
ajax
ms-word
office-js
word-addins
0votes
0answers

Website Login Automation and Output STatus

I am trying to automate a task to login and verify or not login is success in a nutshell I am able to create. $username = "XXXX" $password = "XXXXXXXX" $ie = New-Object -com InternetExplorer.Application $ie.visible=$true $ie.navigate("https://com/login") while($ie.ReadyState -ne 4) {start-sleep -m 100} $ie.document.getElementById("user_email").value= "$username" $ie.document.getElementById("user_password").value = "$password" $ie.document.getElementById("Loginform").submit() start-sleep [...] read more
powershell
0votes
0answers

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'getClientRects' while use jquery autocomplete

This is my JQuery $(document).ready(function () { $("#txtId").autocomplete({ source: function (request, response) { $.ajax({ type: "POST", url: '@Url.Action("ActionName", "Controller")', dataType: 'json', data: "{ 'mode': 'mode','prefix': '" + request.term + "' }", contentType: "application/json;charset=utf-8", success: function (data) { var transformed = $.map(data, function (item) { return item.Name; }); response(transformed); }, error: [...] read more
javascript
jquery
jquery-ui
0votes
0answers

Click a button with a span class

I'm trying to click on this link (to the side of it there's an icon with a download button) "Save / Print this bill (pdf) I appreciate any help, as this is the final steps and thank you in advance. I tried: ($ie.Document.IHTMLDocument3_getElementByID(‘save_desktop’) | select -first 1).click() ($ie.document.getElementById("save_desktop") | select [...] read more
html
powershell
0votes
0answers

fullcalendar dayClick function not working from ajax call json data

I can get the dayClick function to work when the data is included in the $('#calendar').fullCalendar({ header : {} etc.... }) but the dayClick function will not work from an ajax returned data $('#calendar').fullCalendar(JSON.parse(data)) even though the data is near identical to the typed in data. I get a javascript [...] read more
json
fullcalendar
0votes
1answer

How to get 'Commands' button working in Office Addins?

I have issue that any function I use for button does not work + I don't know how to debug Office Commands. Excel Version 1904 (build 11527.20004) When I use F12 debugger and attach to the IE process for my addin (task pane), then when I click the button I'll [...] read more
javascript
office-js
0votes
2answers

WebBrowser fails on subsequent uses? WebBrowser1_DocumentCompleted not work

A VB.Net windows form using "WebBrowser" and HTMLDocument, HTMLTable, HTMLTableRow to retrieve innerText of the HTML Table row, column. It only works in the first time but fails on subsequent. Private Sub WebBrowser1_DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted Dim stockNo As String = "" Dim stockName String Dim [...] read more
vb.net
winforms
0votes
2answers

Javascript runtime error - object doesn't support property or method 'DataTable'

I'm working with ASP.Net MVC and Bootstrap, which I'm fairly new to, and I'm trying to use DataTables on a page I'm working on. I'm getting the above error on a page with which I'm trying to use DataTables. I've seen the reference to this error in the DataTables FAQ, [...] read more
jquery
asp.net-mvc
twitter-bootstrap
datatables
0votes
4answers

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'getElementsByTagName'

I have a simple MVC application in which i want to show location dynamically from Google map. I am getting this Error in this file---- Unhandled exception at line 16, column 59007 in https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'getElementsByTagName' The View page contains [...] read more
javascript
jquery
google-maps
asp.net-mvc-4
0votes
3answers

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'SumoSelect'

I'm getting the above error message when trying to call the SumoSelect function against a select option element on an aspx page. I have the following references in my web page: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js" type="text/javascript"></script> <script src="jquery.sumoselect.js" type="text/javascript"></script> <link href="sumoselect.css" rel="stylesheet" /> With the files taken from: https://github.com/HemantNegi/jquery.sumoselect/zipball/master At present I [...] read more
javascript
jquery
html
sumoselect.js
0votes
1answer

In UWP, 'getHostEnvironmentValue' giving an exception by invoking via JavaScript

In My UWP project, I am using a Javascript to get the os-sku value, MainWindows.xaml.cs: public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); //Load local html file using 'Navigate' method WebBrowserName.Navigate(new Uri("ms-appx-web:///HTMLPage1.html")); } async void WebBrowserName_ScriptNotify(object sender, NotifyEventArgs e) { if (e.Value.StartsWith("SomeValue")) { Windows.UI.Popups.MessageDialog dialog = [...] read more
uwp
uwp-xaml
0votes
1answer

Dotnetnuke Module Javascript Namespace

I have two dotnetnuke Modules with referring Javascript function calling. I wanted to work with this namespace Solution from this Answer Stackoverflow881515 from Jaco Pretorius, which goes back to this Document: Javascript Habits But my implementation is not working. I've been searching for hours, but can't find the problem. If [...] read more
javascript
jquery
dotnetnuke
dotnetnuke-module
0votes
3answers

Dialog method supported in one page but not in another

I have 2 .NET web pages that have the same popup box in both pages The JavaScript is exactly the same in both pages, I copied the code from the page that works to the other page and it doesn't work. the one that doesn't work gives me the error [...] read more
javascript
jquery
asp.net
jquery-ui-dialog
0votes
2answers

Bootstrap Modal breaks with FullCalendar

Error I recieve: 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'modal' The minute I apply the links for the fullcalendar, modals break. Any reason for this? I also did verify modals only broke when the javascript/stylesheets were added [I tested the calendar without and modal ran] [...] read more
javascript
asp.net
twitter-bootstrap-3
modal-dialog
fullcalendar
0votes
0answers

Angular4 JavaScript runtime error and SourceMap read failed

I am getting a lot of error on my angular2 pages, on the debug output, i can see lots of JavaScript runtime error and SourceMap read failed. The pages are working fine, only see them in debug mode, not in the console when debug in chrome, but i think because [...] read more
javascript
typescript
0votes
1answer

jQuery error in Internet Explorer - Object doesn't support property or method 'addEventListener' occurred

I have a simple HTML file with jQuery script calling a web service. <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script type="text/javascript"> function makeRequest(url, messageString) { return $.ajax({ url, headers: { 'Authorization': 'Bearer XXXXX', 'Content-Type': 'application/json' }, method: 'POST', dataType: 'json', data: messageString, }); } function request1() { var messageString = '{"data":{"sample_data":"4.40%"}}'; const [...] read more
javascript
jquery
0votes
0answers

Getting error for master page 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'datepicker'

I am getting error for jQuery datepicker with master page and content page. The same jQuery datepicker is working without any issue in page which is independent without/ not part of master page. Tried various solution provided with online but did not help. Please help me to resolve the issue. [...] read more
javascript
c#
jquery
asp.net
.net
0votes
1answer

Having trouble injecting functions into the native window

I'm trying to inject a getStatus function into window. Specifically I want to stick it on windows returned by window.open: window.open = function (open) { return function (url, name, opts) { var windowObj = open.call(window, url, name, opts); windowObj.getStatus = function () { return 1; }; return windowObj; }; }(window.open) [...] read more
javascript
visual-studio
visual-studio-2015
0votes
2answers

Getting 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'jqGrid'

First of all, yes I know that there is almost the same question on Stackoverflow, but i still can't get it to work. Even with the provided solution, which I found there: Getting 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'jqGrid' * I want to get [...] read more
jqgrid
0votes
0answers

CreateObject("InternetExplorer.Application") getelementbyname after navigate to another page

This will work fine. (VB.NET) Dim InternetExplorer = CreateObject("InternetExplorer.Application") With InternetExplorer .Visible = True .Navigate("www.test.com") .document.getElementsByName("value")(0).Value = "test" end With But if i navigate to another page and try to "getElementsByName" again, i will become this error "HRESULT: 0x800A01B6". How can i fix it? I am grateful for every suggestion. read more
vb.net
internet-explorer
0votes
1answer

Exception 0x800A01B6 using getElementById after the first load

I have created a ribbon for Powerpoint with visual studio XML ribbon. This ribbon has a button that, simplifying, does this: * opens an IE browser * search an element (hiddenfield) in the code by his id * get the value of this element * Print the value in the [...] read more
vb.net
getelementbyid
ribbon
0votes
0answers

"System.Dynamic - Invalid argument" on second and succeeding Document.ExecCommand

Have a WPF app using the WebBrowser control. It uses Document.ExecCommand() to copy the HTML of the displayed page to the clipboard and then stores that in a variable: XAML <WebBrowser x:Name="browser"... /> Code-behind browser.Source = new Uri(selectedUrl); dynamic document = browser.Document; document.ExecCommand("SelectAll", true, null); document.ExecCommand("Copy", true, null); document.ExecCommand("Unselect", true, [...] read more
c#
wpf
webbrowser-control
execcommand
0votes
1answer

Error: object doesn't support 'autocomplete'

I have this function using the jquery autocomplete widget, that I am getting the following error:0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'autocomplete' On my html page, in the head section I have included the following tags. <script src="Scripts/jquery-1.10.2.min.js"></script> <script src="Scripts/jquery-ui-1.11.4.min.js"></script> The function is called by [...] read more
javascript
jquery
jquery-ui-autocomplete
0votes
0answers

mshtml.IHTMLDocument returning nothing

I have the below code trying to access a webpage and the program is erroring out at a test for the innerHTML property. Below is the code: iex = GetObject("new:{D5E8041D-920F-45e9-B8FB-B1DEB82C6E5E}") iex.visible = True iex.navigate("https://url.aspx") While iex.readystate <> 4 Or iex.busy Application.DoEvents() End While Dim htdoc As mshtml.IHTMLDocument = iex.Document Dim [...] read more
vb.net
0votes
0answers

Jquery datepicker control is not working inside child control of master page

Jquery datepicker is working in normal webpage but not with master page concept.It's throwing error saying "0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'datepicker'". Tried following approaches but no luck. 1st Approach: $('#<%= datepicker.ClientID %>').datepicker(); 2nd Approach: $(".datepicker").datepicker(); 3rd Approach: Placed jquery script files in master [...] read more
c#
jquery
asp.net
master-pages
jquery-ui-datepicker
0votes
1answer

How can I use VB to click button on webpage

I've looked at several other similar questions but I haven't been able to get any of their solutions to work for this page. I'm trying to write VB code to change the year drop down, fill in the address field, and then click search. So far I'm able to fill [...] read more
html
vba
0votes
0answers

Trying to get webpage source a second time throws exception - vb.net

> Error message - NotSupportedException was unhandled {"Exception from HRESULT: > 0x800A01B6"} Above error is encountered even if the same url is being tried to get the webpage source a second time to variable Strj. Please assist if there is a way around. I have already tried: source = New [...] read more
vb.net
internet-explorer
0votes
0answers

hresult 0x800a01b6 on seccond pass

I get an hresult 0x800a01b6 on the seccond passing of my code. When it runs the first time it works but fails seccond time around. IE opens then program stops. Dim pID As String Dim mesg As String Dim pw As String Dim Id As String Dim ie As Object [...] read more
visual-studio
visual-studio-2010
vbscript
0votes
0answers

Object doesn't support property or method 'i18n' when trying to display datatable buttons in MVC5

I'm trying to get the jquery datatable export buttons to display on an cshtml view in my MVC application. The error is > 0x800a01b6 - JavaScript runtime error: Object doesn't support property or > method 'i18n' Unhandled exception at line 13, column 363 in > http://localhost:52104/Scripts/buttons.html5.min.js which points to the [...] read more
javascript
jquery
html
datatables
0votes
1answer

typeahead Autocomplete Throwing error

Hi I am trying to implement Auto Complete Text Box using "typeahead.js" something like http://sriniavatar.com/bootstrap-typeahead-in-asp-net-mvc/ in my MVC Project My Script are bellow <script type="text/javascript"> var substringMatcher = function (strs) { return function findMatches(q, cb) { var matches, substringRegex; matches = []; substrRegex = new RegExp(q, 'i'); $.each(strs, function (i, [...] read more
javascript
jquery
asp.net-mvc
typeahead.js
0votes
1answer

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'call'

I got an error.( 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'call' ) I've searched about this error. but I couldn't find the solution I want. the Error Location: ~/Scripts/jquery-ui.min-1.11.1.js How can I solve this problem? _Layout.vbhtml <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> [...] read more
javascript
jquery
asp.net-mvc
vb.net
0votes
0answers

Error: MVC 5 mobile modal window

Error Pup Up Dialog ASP.MVC 5 I am developing a modal window for my application. I 'm doing all that is necessary for the display, but an error is generated at run-time. I used two methods: data-role = " Dialog" and data-role = " Pupup " but both generate an [...] read more
jquery-mobile
asp.net-mvc-5
runtime-error
0votes
0answers

bootstrapTable is not supported

I Have tables in my site that have to much columns and I found BootstrapTable so I have a function that uses the jquery resize event. when the window with is equal to or small then 887px it should change the tables to card view. but when I run the [...] read more
javascript
jquery
asp.net
twitter-bootstrap-3
bootstrap-table
0votes
0answers

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'multiselect' at this point

I am trying this fiddle http://jsfiddle.net/iminfo/txnot4h1/ I am using ASP MVC VS13. I am getting the error 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'multiselect' at this point. <script type="text/javascript"> $(document).ready(function () { $('#ddlCars').multiselect(); $('#ddlCars1').multiselect({ numberDisplayed: 2, }); $('#ddlCars2').multiselect({ includeSelectAllOption: true, enableFiltering: true }); $('#ddlCars3').multiselect({ nonSelectedText: [...] read more
javascript
asp.net-mvc
twitter-bootstrap-3
0votes
3answers

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

I am trying to do this example http://jsfiddle.net/pmrotule/w7aakdbb/54/ There I am getting this exception 0x800a138f - JavaScript runtime error: Unable to get property 'fn' of undefined or null reference. and 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'multiselect' . It is throwing error at this point [...] read more
javascript
asp.net-mvc
twitter-bootstrap-3
multi-select
0votes
0answers

Web parsing issue using VB

I am very new to VB.NET and currently learning how to scrape and parse websites. My problem in a nutshell is - if I use “getElementsByClassName” more than one time in my code, it will only work the first time. Same situation with “getElementsByTagName”. And even when I just parse [...] read more
vb.net
web-scraping
0votes
2answers

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'timepicker'

While running my project in Internet Explorer i caught up with this message " 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'timepicker'" and indicated that the error occurs on one of js files that is attached to the project. the error points to this line on [...] read more
javascript
internet-explorer-11
timepicker
0votes
0answers

Embedded Google StreetView and Google maps is throwing Error

Exception was thrown at line 75, column 38 in https://maps.googleapis.com/maps-api-v3/api/js/23/7/util.js 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'hasAttribute' This runs inside a forms.webbrowser the window.external..... is being populated from the vb.net code and is appering to work correctly. some functions are called from that vb.net code [...] read more
javascript
vb.net
google-maps
google-street-view
0votes
0answers

How to insert a dropdownlist in the header of a kendo ui grid to adjust its column value

I am trying to insert a dropdownlist on the title of a kendo ui grid. Essentially I am following this sample: http://dojo.telerik.com/@rkonstantinov/afOxa The following is my code. <div id="grid"></div> <script type="text/x-kendo-template" id="myFileCount"> <input type="search" id="fileCountValue" style="width: 150px"/> </script> $("#grid").kendoGrid({ dataSource: dataSource, columns: [ { hidden: true, field: "ID", }, { [...] read more
asp.net-mvc
kendo-ui
0votes
1answer

How do I resolve video.js 5.6.0 runtime error - Object doesn't support this property or method?

I recently switched to using video.js version 5.6.0 (was previously using a 4.x version), and noticed that I now consistently get the following error using the non-minified version of video.js: Exception was thrown at line 811, column 5 in http://vjs.zencdn.net/5.6.0/video.js 0x800a01b6 - JavaScript runtime error: Object doesn't support this property [...] read more
javascript
video
runtime-error
video.js
0votes
1answer

DatePicker gives Object doesn't support property or method 'datepicker' in full view but NOT in Modal form

In case the title gets cut off, I am receiving the following error: 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'datepicker' The datepicker works fine in a Modal form returned as a PartialView, but it throws that error when trying to use it in a full [...] read more
javascript
jquery
jquery-ui
datepicker
jquery-ui-datepicker
0votes
1answer

MVC jquery grid is not working

I was trying to use a plug in for jquery grid (gijgo.com) in my mvc application. I have carefully completed all the steps mentioned on c-sharpcorner and/or codeproject but when I run the application, I got javascript runtime error: Unhandled exception at line 40, column 9 in http://localhost:36552/Default1/Index 0x800a01b6 - [...] read more
javascript
jquery
.net
asp.net-mvc
0votes
2answers

Can't find method in Angular Service

I have written a basic angular JS controller and service to inject in, code as follows. Controller app.controller("SEFlexHomeController", ["$scope", "$http", "$modal", "$log", "$element", "JobService", "$rootScope", "SEApplicationService", function ($scope, $http, $modal, $log, $element, $rootScope, SEApplicationService) { $scope.isDataLoading = false; $scope.configvalues = SEApplicationService.getCloudConfigParams(); } ]); Service app.factory("SEApplicationService", ["$log", "$http", "$timeout", function($log, $http, [...] read more
javascript
asp.net
angularjs
asp.net-mvc
0votes
2answers

Jquery Validation 'validate' undefined error

I have an MVC page that i am trying to add validation to but i keep getting the following error: Unhandled exception 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'validate' Any ideas why? My code is below. <script src="~/Scripts/jquery-1.10.2.js"></script> <script src="~/Scripts/jquery.validate.js"></script> <script src="~/Scripts/jquery.validate.unobtrusive.js"></script> <script> $(document).ready(function () [...] read more
jquery
validation
0votes
1answer

Javascript throwing a error after adding and running google places autocomplete code

I added the code below to my MVC application and although google places autocomplete in my text field works, some JavaScript file throws an error now when one of the javascript files gets used or rendered. here is the error in visual studio. It errors occurs when I hit the [...] read more
javascript
c#
asp.net-mvc
asp.net-mvc-4
0votes
0answers

hammer.js Object doesn't support property or method 'create'

I using hammer.js on my web site, it's working great on chrome , but not working on IE11. I got this error : > Unhandled exception at line 25, column 9 in > http://localhost:59764/js/hammer.js > > 0x800a01b6 - JavaScript runtime error: Object doesn't support property or > method 'create' It's [...] read more
javascript
jquery
hammer.js
0votes
2answers

Exception while trying to get context of a canvas in windows 8 app

I am just installed vs 2012 on windows 8 and create a sample javascript app for windows 8 now when I try to run following code <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>App1</title> <!-- WinJS references --> <link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" /> <script src="//Microsoft.WinJS.1.0/js/base.js"></script> <script src="//Microsoft.WinJS.1.0/js/ui.js"></script> <!-- App1 references --> [...] read more
javascript
canvas
windows-8
html5-canvas
0votes
1answer

Auto-Complete input field in asp.net MVC5

I'm trying to add auto-complete to input field in MVC5 project. The form located in Layout.cshtml, and i want to use autocomplete for "School" input field. so as I understand, I have made to following steps: 1. I installed jQuery UI widget via NuGet packages manager. 2. In the bottom [...] read more
jquery
asp.net
asp.net-mvc
asp.net-mvc-4
razor
0votes
1answer

How to call a function in Windows 8 app?

I created a function like this: text: function () { document.getElementById("id").innerText = "Hello"; } I tried to call this function from another function like this and it doesn't work: anotherFunction: function () { this.text(); } The error I get: Unhandled exception at line 89, column 21 in ms-appx://b9f1ea0e-9eeb-41e4-a788-92c282715e21/pages/game/game.js 0x800a01b6 - [...] read more
javascript
html
windows-store-apps
windows-8.1
-2votes
1answer

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'get_id'

enter image description here [https://i.stack.imgur.com/M4IPu.png] var windowTelerikId = this.get_id(); read more
c#
jquery
telerik

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