Last post May 11, 2017 07:17 PM by A2H
May 11, 2017 03:24 AM|TheRedGuy1990|LINK
Why does this error come up when following the instructions on msdn's website exactly?
After testing the Login page, this error is all that shows up on Edge.
All I did was follow instructions from the site listed above ad verbatim.
May 11, 2017 07:17 PM|A2H|LINK
You may get this exception if your project is targeting 4.5 and project doesnt have a scriptResourceMapping. There are couple of solutions for this problem
if you dont have any Jquery Validation for your project then an easy fix will be to disable the validation using web.config file setting like below
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
However if you dont want to disable the UnObtrusive validation and still want to fix the issue the one suggestion is to add the scriptresource mapping in Global.asax page Application Start method
protected void Application_Start(object sender, EventArgs e)
string JQueryVer = "1.7.1";
ScriptManager.ScriptResourceMapping.AddDefinition("jquery", new ScriptResourceDefinition
Path = "~/Scripts/jquery-" + JQueryVer + ".min.js",
DebugPath = "~/Scripts/jquery-" + JQueryVer + ".js",
CdnPath = "http://ajax.aspnetcdn.com/ajax/jQuery/jquery-" + JQueryVer + ".min.js",
CdnDebugPath = "http://ajax.aspnetcdn.com/ajax/jQuery/jquery-" + JQueryVer + ".js",
CdnSupportsSecureConnection = true,
LoadSuccessExpression = "window.jQuery"