Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Annoying error on production server: Production Ajax client-side framework failed to load

$
0
0

Hi

I have searched through lots of posts on the internet for this problem, but I haven't found a solution, so now I'll ask myself.

I have a website, where I have just started using Ajax-controls, since I wanted to use an update panel. The panel is working as planned on my local server, but when I upload my files to my production server, it doesn't work and I get the 'Ajax client-side framework failed to load'-error. What makes the error especially confusing for me, is that I have added a test website in a sub-domæne on my production server, where the Ajax-controls is working, but when I copy all the files to the production-website, it fails.

To isolate the problem, I created an empty webpage containing only the scriptmanager, but on this page I still get the problem. The page looks like this:

<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Stataa.aspx.cs" Inherits="WebGUI.Stataa" %><html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1" runat="server"><title></title></head><body><form id="form1" runat="server"><div><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager></div></form></body></html>

and my web.config looks like this:

<?xml version="1.0" encoding="utf-8"?><!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  --><configuration><connectionStrings><add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" /></connectionStrings><system.web><httpRuntime maxRequestLength="524288" /><customErrors mode="Off" /><compilation debug="true" targetFramework="4.0"><!--<assemblies><add assembly="AjaxControlToolkit, Version=4.1.60623.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />      </assemblies>--></compilation><authentication mode="Forms"><forms loginUrl="~/Account/Login.aspx" timeout="2880" /></authentication><membership><providers><clear /><add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /></providers></membership><profile><providers><clear /><add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" /></providers></profile><roleManager enabled="false"><providers><clear /><add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" /><add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /></providers></roleManager></system.web><system.webServer><modules runAllManagedModulesForAllRequests="true" /></system.webServer><system.serviceModel><bindings><basicHttpBinding><binding name="BasicHttpBinding_IService" closeTimeout="00:01:00"
          openTimeout="00:02:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferSize="6553600" maxBufferPoolSize="6553600" maxReceivedMessageSize="6553600"
          messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
          useDefaultWebProxy="true"><readerQuotas maxDepth="32" maxStringContentLength="4000000"
            maxArrayLength="4000000" maxBytesPerRead="4000000" maxNameTableCharCount="4000000" /><security mode="None"><transport clientCredentialType="None" proxyCredentialType="None"
              realm="" /><message clientCredentialType="UserName" algorithmSuite="Default" /></security></binding></basicHttpBinding></bindings><client><endpoint address="http://wcfserver.cforslund.dk/Service.svc"
                 binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService"
                 contract="ServiceReference1.IService" name="BasicHttpBinding_IService" /><!--<endpoint address="http://localhost:49756/WCFService/Service.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService"
        contract="ServiceReference1.IService" name="BasicHttpBinding_IService" />--></client></system.serviceModel><runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-1.0.10301.0" newVersion="1.0.10301.0" /></dependentAssembly></assemblyBinding></runtime><system.web.extensions><scripting><scriptResourceHandler enableCompression="false" enableCaching="true" /></scripting></system.web.extensions></configuration>

I have found a lot of suggestions on the net, which mostly suggests adding settings to the web.config, but this is working on my testsite, which contains the exact same files and should have the same setup and is placed in the same domain, so what can the probem be?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>