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

Deployment issue with IIS 7

4 Answers 204 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 30 Sep 2008, 04:09 PM
Hi,

we have developed an ASP.NET application which uses Telerik Rad Controls. The app works pervectly with the VS2008 development server. When I try to deploy it on IIS7
I get the error "sys is undefined".
A code-snippet from the debugger is attached below. 
<script src="/MyApp-dev/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ScriptManager1_HiddenField&amp;compress=1&amp;_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3ade-DE%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3a52817a7d%3a67c678a8%3bTelerik.Web.UI%2c+Version%3d2008.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3a2b1b618c-2ad2-4d4e-8b5a-afa3e17baf61%3a393f5085%3bTelerik.Web.UI%2c+Version%3d2008.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3a2b1b618c-2ad2-4d4e-8b5a-afa3e17baf61%3a34f9d57d%3bTelerik.Web.UI%2c+Version%3d2008.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3a2b1b618c-2ad2-4d4e-8b5a-afa3e17baf61%3a526d426%3bTelerik.Web.UI%2c+Version%3d2008.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3a2b1b618c-2ad2-4d4e-8b5a-afa3e17baf61%3a4b40c3e6%3bTelerik.Web.UI%2c+Version%3d2008.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3a2b1b618c-2ad2-4d4e-8b5a-afa3e17baf61%3a9703c1f0%3bTelerik.Web.UI%2c+Version%3d2008.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3a2b1b618c-2ad2-4d4e-8b5a-afa3e17baf61%3a80c4ad6d%3bTelerik.Web.UI%2c+Version%3d2008.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3a2b1b618c-2ad2-4d4e-8b5a-afa3e17baf61%3a527acb41%3bTelerik.Web.UI%2c+Version%3d2008.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3a2b1b618c-2ad2-4d4e-8b5a-afa3e17baf61%3aa9723048%3bTelerik.Web.UI%2c+Version%3d2008.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3a2b1b618c-2ad2-4d4e-8b5a-afa3e17baf61%3aa3f85c94%3bTelerik.Web.UI%2c+Version%3d2008.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ade-DE%3a2b1b618c-2ad2-4d4e-8b5a-afa3e17baf61%3a819163f9" type="text/javascript"></script> 
<script type="text/javascript"
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('Fehler beim Laden des clientseitigen ASP.NET Ajax-Frameworks.');
//]]> 
< 

The Telerik.Web.UI.WebResource.axd is not available (404) when I call it directly from the browser.
Does anyone have an idea what's wrong here?
Best regards,
Robert

4 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 30 Sep 2008, 05:07 PM
Hi again,

I did some reasearch and found out, that everything is fine until I start using
RadScriptManager.
When I use RadAjaxManager together with the asp ScriptManager it works.
As soon as I replace it with RadScriptManager it breaks, no matter if I register
WebResource.axd.

Best regards,
Robert
0
Erjan Gavalji
Telerik team
answered on 01 Oct 2008, 07:14 AM
Hi Robert,

Indeed, this is the result of a bug we fixed in the RadControls for ASP.NET Ajax Q2 SP2 release (scheduled for later today or tomorrow). Please, bear with us some more - we are in the final stabilizing phase. In the meantime, you can continue using RadScriptManager, but set it's EnableScriptCombine to false - it will fall back to the default ScriptManager behavior.

Best regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Peter
Top achievements
Rank 1
answered on 11 Oct 2008, 03:48 PM
Hi,

i faced the same problem and updated to the new SP2 release. but now when i use a RadScriptManager with EnableScriptCombine set to true the server logs a 500 internal server error for calls to WebResources.axd and the controls stop working because they miss their scripts.
0
Erjan Gavalji
Telerik team
answered on 13 Oct 2008, 07:29 AM
Hi Peter,

Could you check what the server error message is? (For IE you can do this by Fiddler2 and for Firefox Firebug is the tool to help).

Did you check the Troubleshooting section of the Online Documentation? It contains some helpful resources about similar problems...

Regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Erjan Gavalji
Telerik team
Peter
Top achievements
Rank 1
Share this question
or