This is a migrated thread and some comments may be shown as answers.

ASP.NET Ajax client-side framework failed to load.

3 Answers 147 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
mark baer
Top achievements
Rank 1
mark baer asked on 12 May 2011, 12:17 AM
We are trying to move our new application up to the server and we are getting this message when we hit the Login.aspx page.  I'm pretty sure it has to do with access to the Telerik Resources, but we can't figure this out.  We've added these lines to our web.config, but it didn't help:

<location path="WebResource.axd">    
<BR><system.web>      
<BR><authorization>        
<BR><allow users="*" />      
<BR></authorization>    <BR></system.web>  
<BR></location>  <BR><location 
path="ScriptResource.axd">    
<BR><system.web>      
<BR><authorization>        
<BR><allow users="*" />      
<BR></authorization>    <BR></system.web>  
<BR></location>  <BR><location 
path="Telerik.Web.UI.WebResource.axd">    
<BR><system.web>      
<BR><authorization>        
<BR><allow users="*" />      
<BR></authorization>    <BR></system.web>  
<BR></location

The server is windows 2003.  We are using ASP.NET 4.0.  Latest version of the Telerik Ajax Controls(Q1, 2001)... 

We have configured it as a Website, not a Virtual Directory.  We are using a hybrid authentication(Windows Auth + Forms Authentication)...don't ask me why...wasn't my call...

I ran Fiddler and I am getting 404 errors when it tries to access the resource files.  I'm pretty sure it's tied to security, but I'm not sure what the fix is.

Help?

Thanks

mark


3 Answers, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 12 May 2011, 12:38 PM
Hello Mark,

Have you tried troubleshooting the WebResource.axd as described in this help article:
Troubleshooting deployment on the production server

Additionally, could you please confirm what happens if you temporarily replace RadScriptManager with asp ScriptManager or set its EnableScriptsCombine property to false?

Greetings,
Tsvetina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
mark baer
Top achievements
Rank 1
answered on 12 May 2011, 07:55 PM
Okay, I tried all three things.  Added the property to the Telerik ScriptManager didn't work.  I removed the Telerik Script Manager, added the ASP.NET Script Manager AND went in to IIS to uncheck "Verify if file exists".  It is working now(the login page)...but on our Reports pages, they are now getting the "Access to Resource" error for the Telerik resource file(See attached image).

Almost home, but not quite.

Thanks

mark
0
Tsvetina
Telerik team
answered on 17 May 2011, 04:21 PM
Hi Mark,

The 500 error code is quite general one indicating a server error. If you are still fighting this error, could you please try turning AJAX temporarily off to confirm if there are no server-side exceptions thrown. If the errors are persistent only with ajax, check if the controls used on the problemmatic page can be ajafixied and if they are ajaxified correctly.
Controls Not Compatible with RadAjax for ASP.NET AJAX

Best wishes,
Tsvetina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
mark baer
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
mark baer
Top achievements
Rank 1
Share this question
or