Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-11-11
8
Medium Priority
?
1,138 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

927 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