Solved

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

Posted on 2010-11-11
8
1,117 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
This video discusses moving either the default database or any database to a new volume.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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

11 Experts available now in Live!

Get 1:1 Help Now