Asp.net Ajax Client-Side framework failed to load

6 posts, 0 answers
  1. Deepak
    Deepak avatar
    15 posts
    Member since:
    Jun 2010

    Posted 23 Feb 2011 Link to this post

    I have windows 7, which has visual studio 2005, 2008 and 2010.
    and Telerik Asp.net Ajax controls.

    I am trying to run an visual studio 2010 asp.net application and I am getting this(shown in the image) error now days.

    I am not able to find any working solution till now.

    could you please help me out here.

    Here is my config file code.

    =============================================================================
    <?xml version="1.0"?>
    <!--
        Note: As an alternative to hand editing this file you can use the
        web admin tool to configure settings for your application. Use
        the Website->Asp.Net Configuration option in Visual Studio.
        A full list of settings and comments can be found in
        machine.config.comments usually located in
        \Windows\Microsoft.Net\Framework\v2.x\Config
    -->
    <configuration>
      <appSettings>
        <add key="ViewStateTimeout" value="61" />
        <add key="LicensesLocation" value="D:\Inetpub\www\CEMG\Licenses\" />
        <add key="UploadsLocation" value="D:\Inetpub\www\CEMG\Uploads\" />
        <add key="WebDirectory" value="D:\Inetpub\www\CEMG\" />
        <add key="BaseURL" value="https://cemgpms.cemginc.com/" />
        <add key="ExchangeAddress" value="https://gdmail.gd-ltd.com/exchange/"/>
        <add key="DomainName" value="gd-ltd"/>
        <!--This Belongs to Aaron-->
        <add key="Aaron_LicensesLocation" value="C:\Inetpub\wwwroot\CEMG\Licenses\" />
        <add key="Aaron_UploadsLocation" value="C:\Inetpub\wwwroot\CEMG\Uploads\" />
        <add key="Aaron_WebDirectory" value="C:\Inetpub\wwwroot\CEMG\" />
        <add key="Aaron_BaseURL" value="http://aaronspilman/" />
        <add key="Aaron_ExchangeAddress" value="https://gdmail.gd-ltd.com/exchange/"/>
        <add key="Aaron_DomainName" value="gd-ltd"/>
        <add key="AARONSPILMAN" value="Aaron" />
        <!--This Belongs to Deepka81-->
       <add key="Deepak_LicensesLocation" value="D:\work\CEMG Data\CEMG\Licenses\" />
        <add key="Deepak_UploadsLocation" value="D:\work\CEMG Data\CEMG\Uploads\" />
        <add key="Deepak_WebDirectory" value="D:\work\CEMG Data\CEMG\" />
        <add key="Deepak_BaseURL" value="http://DeepakYadav81/" />
        <add key="Deepak_ExchangeAddress" value="http://exch.stylus.net/exchange/"/>
        <add key="Deepak_DomainName" value="stylus"/>
        <add key="DeepakYadav81" value="Deepak" />

        
        <add key="ProductionConnectionString" value="CEMGConnectionString" />
        <add key="ChartImageHandler" value="storage=file;timeout=20;dir=D:\Inetpub\www\CEMG\images\;" />
      </appSettings>

      <system.web>
        <sessionState timeout="60" />
        <!-- Fix the Timeout issue when uploading a large file -->
        <httpRuntime maxRequestLength="512000" executionTimeout="54000" />
        <!--
                Set compilation debug="true" to insert debugging
                symbols into the compiled page. Because this
                affects performance, set this value to true only
                during development.

                Visual Basic options:
                Set strict="true" to disallow all data type conversions
                where data loss can occur.
                Set explicit="true" to force declaration of all variables.
            -->
        <!--
                Set compilation debug="true" to insert debugging
                symbols into the compiled page. Because this
                affects performance, set this value to true only
                during development.
            -->
        <compilation debug="true" strict="false" explicit="true" targetFramework="4.0">
          <assemblies>
            <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
            <add assembly="System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
            <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
            <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
          </assemblies>
          <buildProviders>
            <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
          </buildProviders>
        </compilation>
        <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
          <namespaces>
            <clear />
            <add namespace="System" />
            <add namespace="System.Collections" />
            <add namespace="System.Collections.Generic" />
            <add namespace="System.Collections.Specialized" />
            <add namespace="System.Configuration" />
            <add namespace="System.Data" />
            <add namespace="System.Data.SqlClient" />
            <add namespace="System.Text" />
            <add namespace="System.Text.RegularExpressions" />
            <add namespace="System.Web" />
            <add namespace="System.Web.Caching" />
            <add namespace="System.Web.SessionState" />
            <add namespace="System.Web.Security" />
            <add namespace="System.Web.Profile" />
            <add namespace="System.Web.UI" />
            <add namespace="System.Web.UI.WebControls" />
            <add namespace="System.Web.UI.WebControls.WebParts" />
            <add namespace="System.Web.UI.HtmlControls" />
            <add namespace="System.Linq" />
            <add namespace="System.Xml.Linq" />
          </namespaces>
          <controls>
            <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
            <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
          </controls>
        </pages>
        <!--
                The <authentication> section enables configuration
                of the security authentication mode used by
                ASP.NET to identify an incoming user.
            -->
        <!--
                The <authentication> section enables configuration
                of the security authentication mode used by
                ASP.NET to identify an incoming user.
            -->
        <authentication mode="Windows" />
        <!--
                The <customErrors> section enables configuration
                of what to do if/when an unhandled error occurs
                during the execution of a request. Specifically,
                it enables developers to configure html error pages
                to be displayed in place of a error stack trace.

            <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
                <error statusCode="403" redirect="NoAccess.htm" />
                <error statusCode="404" redirect="FileNotFound.htm" />
            </customErrors>
            -->
        <customErrors mode="Off" />
        <!--
                The <customErrors> section enables configuration
                of what to do if/when an unhandled error occurs
                during the execution of a request. Specifically,
                it enables developers to configure html error pages
                to be displayed in place of a error stack trace.

            <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
                <error statusCode="403" redirect="NoAccess.htm" />
                <error statusCode="404" redirect="FileNotFound.htm" />
            </customErrors>
            -->
        <httpHandlers>
          <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource"
            validate="false" />
          <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler"
            validate="false" />
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler"
            validate="false" />
          <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler"
            validate="false" />
          <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler"
            validate="false" />
          <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
            validate="false" />
          <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
            validate="false" />
          <add path="ImageThumbnail.ashx" verb="*" type="Thumbnails" validate="false"/>
          
        </httpHandlers>
        <httpModules />
      </system.web>
      <!--
            The system.webServer section is required for running ASP.NET AJAX under Internet
            Information Services 7.0.  It is not necessary for previous version of IIS.
        -->
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <handlers>
          <remove name="ChartImage_axd" />
          <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
          <remove name="Telerik_Web_UI_DialogHandler_aspx" />
          <remove name="Telerik_RadUploadProgressHandler_ashx" />
          <remove name="Telerik_Web_UI_WebResource_axd" />
          <remove name="ChartImageHandler" />
          <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
          <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
          <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
          <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
          <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
          <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        </handlers>
        <security>
          <requestFiltering>
            <requestLimits maxAllowedContentLength="524288000" />
          </requestFiltering>
        </security>
        <modules runAllManagedModulesForAllRequests="true" />
      </system.webServer>
    </configuration>
  2. Prangadj
    Prangadj avatar
    174 posts
    Member since:
    Jan 2008

    Posted 23 Feb 2011 Link to this post

    You do not give permission in web.config to to telerik .axd handler if using rad scriptmanager? I know about it when looking for troubleshooting tips in help, in this article.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Deepak
    Deepak avatar
    15 posts
    Member since:
    Jun 2010

    Posted 23 Feb 2011 Link to this post

    Did the steps but no change, same error
  5. Deepak
    Deepak avatar
    15 posts
    Member since:
    Jun 2010

    Posted 23 Feb 2011 Link to this post

    I just came to know that in firefox it is working fine.
    Not sure what is wrong with IE7
  6. Dominios Molinos
    Dominios Molinos avatar
    11 posts
    Member since:
    Jan 2010

    Posted 23 Feb 2011 Link to this post

    I'm having the same error
    Did you find any solution?

    BR,
    Alejandro
  7. Dominios Molinos
    Dominios Molinos avatar
    11 posts
    Member since:
    Jan 2010

    Posted 23 Feb 2011 Link to this post

    I could fix it:
    My solution

    I hope it help you
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017