Solved

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

Posted on 2010-11-11
8
1,118 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:chadwixk
  • 5
  • 2
8 Comments
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 34117735
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
0
 
LVL 8

Expert Comment

by:paololabe
ID: 34118487
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.
0
 

Author Comment

by:chadwixk
ID: 34120162
@Paolo: i've already looked into that solution and it wasn't that. My DNN webconfig doesn't restrict access to all users.
0
 

Author Comment

by:chadwixk
ID: 34120179
@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.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Accepted Solution

by:
chadwixk earned 0 total points
ID: 34121522
SOLVED

My local machine uses IIS7.5.
The DNN version I was having issues with was 5.2.3.
I installed another DNN instance with the latest 5.5.1
I compared the 2 web.config files and saw a section in the 5.5.1 version related to a section that is just for IIS7 and it is the <handlers> section.

So I added this section (copied it from the 5.5.1 version to the 5.2.3 version). And all is well.

Hope this helps someone else!
0
 

Author Comment

by:chadwixk
ID: 34121556
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!
0
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 34128448
Thanks for sharing your final outcome with us, chad.
0
 

Author Closing Comment

by:chadwixk
ID: 34153309
SOLVED
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now