views:

109

answers:

2

Good Evening,

I am experiencing a strange problem. I only experience the problem when the site has been deployed to IIS 7.0. The web page renders fine when launched in VS 2010; however when viewed to IIS 7.0 the entire page gets shifted to the right.

errors only happen when this is on the .aspx page
 <telerik:RadScriptManager ID="RadScriptManager" runat="server" />

Web.config file below....

Please let me know if you need anything else.

Thanks, Brennan


Web.config ---

<authentication mode="Forms">
  <forms loginUrl="login" timeout="2880" />
</authentication>

<membership defaultProvider="WebLinkMembershipProvider">
  <providers>
    <clear/>
    <add name="WebLinkMembershipProvider" type="WebLinkUI.Providers.WebLinkMembershipProvider" applicationName="/WebLink" />
  </providers>
</membership>

<roleManager enabled="false">
  <providers>
    <clear/>
    <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
    <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
  </providers>
</roleManager>
<pages>
  <controls>
    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
  </controls>
</pages>
<httpHandlers>
  <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="RadCompression" type="Telerik.Web.UI.RadCompression" />
</httpModules>

A: 

If a site works on the ASP.NET Development server and fails on IIS 7+, then the problem might be related to the handlers/modules configuration - IIS 7 in integrated mode looks for handlers in the <system.webServer> while ASP.NET Dev server and IIS 6 look in the <system.web> section. In this case you should make sure that all handlers and modules are correctly registered in both sections, or switch your IIS application pool to classic mode instead of integrated mode.

lingvomir
A: 

When using IIS7 Integrated Mode, the following entry was required by IIS 7 in the section instead of

<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" />   

Thanks, Brennan

Brennan Mann

related questions