?
Solved

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

Posted on 2010-11-11
8
Medium Priority
?
1,134 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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 course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

719 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