Avatar of chadwixk
chadwixk
 asked on

Restore to Localhost ->ASP.NET Ajax client-side framework failed to load.

Hello,

I've restored a backup of DNN from my production server to my local machine. DNN runs...well sort of, but I get an error: "ASP.NET Ajax client-side framework failed to load." that occurs at this spot in the code: theForm.__EVENTTARGET.value = eventTarget;

The result is that my solpart menu is not displaying and the postback links don't work. I'm pretty sure I had this happen last time I restored a prod backup locally, but damned if I wrote down the fix.

Any ideas...this is driving me nuts!

Thanks in advance!
Chad
AJAXASP.NET

Avatar of undefined
Last Comment
chadwixk

8/22/2022 - Mon
David H.H.Lee

Hi Chad,
Have you repairing or upgrade .net hotfix lately? Check if this blog ease up your issue.
http://geekswithblogs.net/WillSmith/archive/2008/12/11/resolving-asp.net-ajax-client-side-framework-failed-to-load.aspx
paololabe

I thought that it was a problem about wrong asp.net ajax version but looking around I found that could be a permissions problem as explained in this http://forums.asp.net/t/1489077.aspx, even if is not directly connected to DotnetNuke, i think could be usefull.

Paolo.
chadwixk

ASKER
@Paolo: i've already looked into that solution and it wasn't that. My DNN webconfig doesn't restrict access to all users.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
chadwixk

ASKER
@x_com: I did recently upgrade asp.net framework from 3.5 to 4. But I don't the re-install is the fix as I have another instance of DNN running on this same machine and it works fine. I'm guessing it has something to do with it's webconfig file.
ASKER CERTIFIED SOLUTION
chadwixk

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
chadwixk

ASKER
More Info:

Here's the exact section. It goes within the <system.webServer> section.
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <add name="LogoffHandler*" path="Logoff.aspx" verb="*" type="DotNetNuke.Services.Authentication.LogOffHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="RSSHandler" path="RSS.aspx" verb="*" type="DotNetNuke.Services.Syndication.RssHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="LinkClickHandler" path="LinkClick.aspx" verb="*" type="DotNetNuke.Services.FileSystem.FileServerHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="CaptchaHandler" path="*.captcha.aspx" verb="*" type="DotNetNuke.UI.WebControls.CaptchaHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="UserProfilePageHandler" verb="*" path="User.aspx" type="DotNetNuke.Services.UserProfile.UserProfilePageHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="RadProgressHandler" verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode" />
      <add name="Telerik.Web.UI.WebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
      <add name="Telerik.Web.UI.ChartHttpHandler" verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
      <add name="SitemapHandler" path="Sitemap.aspx" verb="*" type="DotNetNuke.Services.Sitemap.SitemapHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="HtmTemplateFileHandler" verb="*" path="*.htmtemplate" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.HtmTemplateFileHandler, DotNetNuke.HtmlEditor.TelerikEditorProvider" preCondition="integratedMode" />
    </handlers>
Hope this helps someone else!
David H.H.Lee

Thanks for sharing your final outcome with us, chad.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
chadwixk

ASKER
SOLVED