Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP.NET Ajax client-side error
Message
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01590374
Message ID:
01590536
Views:
37
>>Over the weekend I installed DOTLESS package into my ASP.NET Web Forms project. And I was testing the application without problems.
>>
>>But today when I try to run/debug the project (without any major changes) I get the following error:
>>
>>
>>0x800a139e - Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load.
>>
>>
>>The error is called by the following code:
>>
>>
>><script src="/bundles/MsAjaxJs?v=J4joXQqg80Lks57qbGfUAfRLic3bXKGafmR6wE4CFtc1" type="text/javascript"></script>
>><script type="text/javascript">
>>//<![CDATA[
>>if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
>>//]]>
>>
>>
>>Any suggestions to what causes and how to fix this issue?
>>
>>UPDATE: some additional information. When I start/debug the project in Chrome, no problem. So the problem is only when I use IE (9.0).
>
>Hmm. Seems to me there are two possible causes:
>(a) Browser doesn't find the script at the advertised URL or
>(b) The JavaScript test to determine whether it was loaded OK isn't valid (or runs too soon)
>
>Use the debugger in Chrome to check (on the Network tab) whether the script is downloaded OK.
>If it is then do the same in IE. If it downloads OK in IE then check when the 'if(typeof(Sys).....) runs.
>
>Oh, and make sure that Chrome doesn't just *appear* to be working because the script has been cached.......

I believe your suggestion was the most helpful. I do find that in Chrome the scripts load fine. But in IE no. I have Googled and I found this problem discussed since 2008 and there are thousands of solutions; each a different one. Basically I write it off as MS IE crap.
I will stop debugging and testing in IE for now. One would think that MS when designing VS would make it work flawlessly on IE but not so.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform