Webscheduler 4 runtime & web.config

12 replies. Last post: February 9, 2014 9:29 PM by Bernard Xiang
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Frank GaryMember

Gentlemen,

I succesfully migrated my webscheduler 3 to a licensed webscheduler 4. On my local dev machine everything works perfectly in both vs2010 and in IIS localhost with runtime.

I modified my webconfig and changed only my webscheduler version and runtime license settings.

However, when I deploy to my production server, I am getting webconfigerrors when trying to load the site. If I comment out the webconfig lines 40,41 and 42I then receive an apppool login error.

Attachment are as follows;

webconfig_error1 > displayys the error messages when running in IIS production

vs2010references > my visial studio 2010 project references

My web.config file is as follows;

<?xml version="1.0" encoding="utf-8"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings>
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
<add key="ISNet.WebUI.WebScheduler.v4_0_1000.MaxJsonLength" value="2147483647" />
<add key="ISNet.WebUI.ISRes_Registered" value="true" />
<add key="ISNet.WebUI.WebScheduler.v4_0_1000.RunTimeLicenseKey" value="XXXX-XXXX-XXXXX" />
<add key="ISNet.WebUI.ISDataSource.v1_0_1500.RunTimeLicenseKey" value="XXXX-XXXX-XXXXX" />
</appSettings>
<connectionStrings>
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="Data Source=X;Initial Catalog=X;Integrated Security=True;" providerName="System.Data.SqlClient" />
<add name="X" connectionString="Data Source=X;Initial Catalog=X;Persist Security Info=True;User ID=X;Password=X;" providerName="System.Data.SqlClient" />
<add name="XConnectionString" connectionString="Data Source=X;Initial Catalog=X;Integrated Security=True" providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<globalization culture="en-US" uiCulture="en-US" fileEncoding="utf-8" />
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false" targetFramework="4.0">
<assemblies>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=B1F2A8511635667A" />
<add assembly="ISNet.ActiveReports.Exporting, Version=5.0.7200.1, Culture=neutral, PublicKeyToken=B1F2A8511635667A" />
<add assembly="ISNet, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=B1F2A8511635667A" />
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="ISNet.WebUI.ISDataSource, Version=1.0.1500.1, Culture=neutral, PublicKeyToken=C4184EF0D326354B" />
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms loginUrl="~/Pages/Home.aspx" />
</authentication>
<authorization>
<allow users="?" />
</authorization>
<roleManager enabled="true" />
<siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
<providers>
<add name="XmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="Web.sitemap" securityTrimmingEnabled="true" />
</providers>
</siteMap>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages theme="eRezCommerce_Rez" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
<controls>
<!--Data Aquarium Framework and AjaxControlToolkit references-->
<add tagPrefix="act" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
<add tagPrefix="act" namespace="AjaxControlToolkit.HTMLEditor" assembly="AjaxControlToolkit" />
<add tagPrefix="aquarium" namespace="eRezCommerce_Rez.Web" />
<add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</controls>
</pages>
<httpHandlers>
<add verb="*" path="*.xml" type="System.Web.HttpForbiddenHandler" />
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
<add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
<add path="ISRes.axd" verb="GET" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" validate="true" />
</httpHandlers>
<httpModules>
<remove name="FormsAuthentication" />
<add name="ExportAuthentication" type="eRezCommerce_Rez.Security.ExportAuthenticationModule" />
<add name="FormsAuthenticationModule" type="System.Web.Security.FormsAuthenticationModule" />
</httpModules>
<webServices>
<protocols>
<remove name="Documentation" />
</protocols>
</webServices>
<httpRuntime executionTimeout="999999" />
</system.web>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.x. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
<remove name="FormsAuthentication" />
<add name="ExportAuthentication" type="eRezCommerce_Rez.Security.ExportAuthenticationModule" />
<add name="FormsAuthenticationModule" type="System.Web.Security.FormsAuthenticationModule" />
</modules>
<handlers>
<add name="All_XML" verb="*" path="*.xml" type="System.Web.HttpForbiddenHandler" resourceType="Unspecified" />
<add name="Reserved_ReportViewerWebControl_axd" path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" resourceType="Unspecified" />
<remove name="ChartImageHandler" />
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add name="IntersoftResource" path="ISRes.axd" verb="GET" preCondition="integratedMode" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" />
</handlers>
</system.webServer>
<system.web.extensions>
<scripting>
<webServices>
<authenticationService enabled="true" />
<jsonSerialization maxJsonLength="524288" />
</webServices>
</scripting>
</system.web.extensions>
<location path="Pages">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>

Please advise and thanks -

Frank Gary

All times are GMT -5. The time now is 3:37 PM.
Previous Next