Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP.NET Ajax client-side error
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01590374
Message ID:
01590491
Vues:
46
>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.');
>//]]>
>
>

I am trying to find the place in my application what has the above code (script src ...). is "stored" or "generated". This section appears dynamically when I start the project (debug it). And I would like to disable the bundling all together until I figure what is going on. But I can't find the place.
The only thing I see is that Global.asax.cs has code:
      void Application_Start(object sender, EventArgs e)
        {
            // Code that runs on application startup
            BundleConfig.RegisterBundles(BundleTable.Bundles);
            AuthConfig.RegisterOpenAuth();
And I think that the code above somehow generates the script src line but how I don't get it.

TIA.
"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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform