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

Issues with deploying telerik asp.net site into IIS 7 / 8

6 Answers 122 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sambathraj
Top achievements
Rank 1
Sambathraj asked on 11 Feb 2014, 06:55 PM
Hi,
I am having issues with style sheets and the background images rendering properly in IIS 7. It seems like the Style sheets are being download but it cannot download the background images. Please see the attached images.

I used fiddler and saw 401 errors in Web requests. I have done everything said in the forums to fix these issues. I have attached my web.confg also for reference. I have tried CDN also, it doesn't work. 

Is it something to do with the windows authentication? Can you please help to solve this issue?

Thanks,
Sambath

6 Answers, 1 is accepted

Sort by
0
Sambathraj
Top achievements
Rank 1
answered on 11 Feb 2014, 06:58 PM
<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <appSettings>   
    <add key="Telerik.Web.UI.StyleSheetFolders" value="/style"/>
    <add key="Telerik.Skin" value="Silk" />
  </appSettings>
  <system.web>
    <compilation targetFramework="4.5" debug="false">
      <assemblies>
        <add assembly="Telerik.OpenAccess, Version=2013.3.1320.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342" />
      </assemblies>
    </compilation>
    <httpRuntime targetFramework="4.5" maxRequestLength="10240" />
    <pages>
      <controls>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
      </controls>
    </pages>
    <httpHandlers>
      <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
    </httpHandlers>
    <httpModules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
    </httpModules>    <authorization>
      <allow roles="domain\specificRoles" />
      <deny users="*" />
    </authorization>
    <authentication mode="Windows" />
    <anonymousIdentification enabled="false" />
  </system.web>  <connectionStrings>
    <add name="IncentiveCompDBConnection" connectionString="data source=ICAnalytics03;initial catalog=IncentiveCompDB;integrated security=True" providerName="System.Data.SqlClient" />
  </connectionStrings>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="RadUploadModule" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
      <remove name="RadCompression" />
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />    </modules>
    <handlers>
      <remove name="ChartImage_axd" />
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />      <remove name="Telerik_Web_UI_DialogHandler_aspx" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />      <remove name="Telerik_RadUploadProgressHandler_ashx" />
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />      <remove name="Telerik_Web_UI_WebResource_axd" />
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2013.3.1324.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" preCondition="integratedMode" />      <remove name="Telerik.Web.UI.WebResource" />
      <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*"    type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2013.3.1324.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode"/>      <remove name="ScriptResource" />
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </handlers>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="10485760" />
      </requestFiltering>
    </security>
  </system.webServer>
</configuration>
0
Kate
Telerik team
answered on 12 Feb 2014, 01:43 PM
Hello Sambathraj,

From the code that you provided for your web.config file it seems that you have registered the needed handlers correctly. Can you please try using the approach described in this post and check which of the resources does not load correctly?  Can you also specify if you get this exception on a specific browser only?

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Sambathraj
Top achievements
Rank 1
answered on 14 Feb 2014, 12:45 AM
Hi Kate,
Thanks for your reply. I tried to use the webform attached in the post and see what's going on with the request. However, I am getting 'Unable to Validate Data" issue (even with local host). After going through the forums and looking to issues, I could not solve it. 

I am thinking it is mostly to the authentication issue. How shall I configure for the webresource.axd to have anonymous access?
Thanks,
Sambath
0
Sambathraj
Top achievements
Rank 1
answered on 14 Feb 2014, 03:32 AM
I tested the application using firefox and everything seems to work fine. Only in IE v11.0.9600.16518 I have issues. What is the specific settings I have to use in IE to make it work properly?
Thanks
Sambath
0
Accepted
Kate
Telerik team
answered on 17 Feb 2014, 12:30 PM
Hello Sambathraj,

Please try using the approach described in this forum post and check how it goes. In case this does not help I would kindly ask you to provide a live url that I can test locally and check what is causing the issue that you currently experience.

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Sambathraj
Top achievements
Rank 1
answered on 06 Mar 2014, 04:23 PM
Hi,
This issue has been resolved. For some reason, Edge property in the IE was using the IE 7 and thus the images did not display properly. After adding <meta http-equiv="X-UA-Compatible" content="IE=edge" /> , everything worked fine.
Thanks
Sambath
Tags
General Discussions
Asked by
Sambathraj
Top achievements
Rank 1
Answers by
Sambathraj
Top achievements
Rank 1
Kate
Telerik team
Share this question
or