Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rik Helsen 670 posts 873 karma points
    Dec 17, 2010 @ 12:37
    Rik Helsen
    0

    Issue with moving 4.0.4.3 site to production environment

    We moved an Umbraco website from our staging environemnt (IIS 6 & SQL 2008, .net 4 & intgrated pipeline mode)

    to our production server (IIS 7, SQL 2008, .net 4 & intgrated pipeline mode)

    Now we have the issue of the blank trees in the backend of the website...

    I already upgraded the site from 4.0.1 to 4.0.3 but this didn't fix the issue. Checked permissions on the web folder and windows temp folder.

    does anyone see some issues with this web.config that might be causing this? I've searched the bowels of this forum and still haven't come up with a solution...

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>

    <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
    <section name="urlrewritingnet" restartOnExternalChanges="true" requirePermission="false" type="UrlRewritingNet.Configuration.UrlRewriteSection, UrlRewritingNet.UrlRewriter" />
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <section name="umbraco.presentation.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <section name="Safedriving.Webparts.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </sectionGroup>
    <sectionGroup name="OrbitOne.Elmah">
    <section name="errorLog" requirePermission="false" type="OrbitOne.Elmah.HttpModule.LogSectionHandler,OrbitOne.Elmah, Culture=neutral, PublicKeyToken=ab9cc0e617757f7b"/>
    <section name="errorFilter" requirePermission="false" type="OrbitOne.Elmah.HttpModule.FilterSectionHandler,OrbitOne.Elmah, Culture=neutral, PublicKeyToken=ab9cc0e617757f7b"/>
    </sectionGroup>
    </configSections>
    <log4net>
    <appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender">
    <bufferSize value="5"/>
    <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    <connectionString value="***"/>
    <commandText value="INSERT INTO ProMoveLog ([Date],[Thread],[Level],[Logger],[Message],[Exception]) VALUES (@log_date, @thread, @log_level, @logger, @message, @exception)"/>
    <parameter>
    <parameterName value="@log_date"/>
    <dbType value="DateTime"/>
    <layout type="log4net.Layout.RawTimeStampLayout"/>
    </parameter>
    <parameter>
    <parameterName value="@thread"/>
    <dbType value="String"/>
    <size value="255"/>
    <layout type="log4net.Layout.PatternLayout">
    <conversionPattern value="%thread"/>
    </layout>
    </parameter>
    <parameter>
    <parameterName value="@log_level"/>
    <dbType value="String"/>
    <size value="50"/>
    <layout type="log4net.Layout.PatternLayout">
    <conversionPattern value="%level"/>
    </layout>
    </parameter>
    <parameter>
    <parameterName value="@logger"/>
    <dbType value="String"/>
    <size value="255"/>
    <layout type="log4net.Layout.PatternLayout">
    <conversionPattern value="%logger"/>
    </layout>
    </parameter>
    <parameter>
    <parameterName value="@message"/>
    <dbType value="String"/>
    <size value="4000"/>
    <layout type="log4net.Layout.PatternLayout">
    <conversionPattern value="%message"/>
    </layout>
    </parameter>
    <parameter>
    <parameterName value="@exception"/>
    <dbType value="String"/>
    <size value="2000"/>
    <layout type="log4net.Layout.ExceptionLayout"/>
    </parameter>
    </appender>
    <appender name="TraceAppender" type="log4net.Appender.TraceAppender">
    <layout type="log4net.Layout.PatternLayout">
    <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
    </layout>
    </appender>
    <root>
    <level value="ALL"/>
    <appender-ref ref="AdoNetAppender"/>
    <appender-ref ref="TraceAppender"/>
    </root>
    </log4net>
    <OrbitOne.Elmah>
    <errorLog type="OrbitOne.Elmah.O1XmlFileErrorLog, OrbitOne.Elmah, Culture=neutral, PublicKeyToken=ab9cc0e617757f7b" LogPath="C:\Program Files\Orbit One\OrbitOne Elmah Agent\Logs"/>
    <errorFilter>
    <filters>
    <equal binding="HttpStatusCode" value="404" valueType="Int32" />
    </filters>
    </errorFilter>
    </OrbitOne.Elmah>
    <urlrewritingnet configSource="config\UrlRewriting.config" />
    <appSettings>
    <add key="umbracoDbDSN" value="***;database=***;integrated security=True" />
    <add key="umbracoConfigurationStatus" value="4.0.4.2" />
    <add key="umbracoReservedUrls" value="/config/splashes/booting.aspx,/install/default.aspx,/config/splashes/noNodes.aspx" />
    <add key="umbracoReservedPaths" value="/umbraco,/install/" />
    <add key="umbracoContentXML" value="/data/umbraco.config" />
    <add key="umbracoStorageDirectory" value="/data" />
    <add key="umbracoPath" value="/umbraco" />
    <add key="umbracoEnableStat" value="false" />
    <add key="umbracoHideTopLevelNodeFromPath" value="true" />
    <add key="umbracoEditXhtmlMode" value="true" />
    <add key="umbracoUseDirectoryUrls" value="true" />
    <add key="umbracoDebugMode" value="false" />
    <add key="umbracoTimeOutInMinutes" value="20" />
    <add key="umbracoDisableVersionCheck" value="true" />
    <add key="umbracoDisableXsltExtensions" value="true" />
    <add key="umbracoDefaultUILanguage" value="en" />
    <add key="umbracoProfileUrl" value="profiler" />
    <add key="umbracoUseSSL" value="false" />
    <add key="umbracoUseMediumTrust" value="false" />
    <add key="debug" value="false" />
    <add key="debugEmailAddress" value="***" />

    </appSettings>
    <system.net>
    <mailSettings>
    <smtp>
    <network host="relay.orbitone.com" />
    </smtp>
    </mailSettings>
    </system.net>

    <system.web>
    <httpRuntime requestValidationMode="2.0" />
    <!--
    <trust level="Medium" originUrl=".*" />-->

    <customErrors mode="Off">
    <error statusCode="500" redirect="500.html" />
    <error statusCode="404" redirect="404.html" />
    </customErrors>


    <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
    <sessionState mode="InProc" stateConnectionString="***" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
    <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" />
    <xhtmlConformance mode="Strict" />
    <pages enableEventValidation="false" enableSessionState="true" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" >

    <!-- ASPNETAJAX -->
    <controls>
    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add tagPrefix="umbraco" namespace="umbraco.presentation.templateControls" assembly="umbraco" />
    </controls>
    </pages>
    <httpModules>

    <!-- URL REWRTIER -->
    <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
    <add name="umbracoRequestModule" type="umbraco.presentation.requestModule" />
    <!-- UMBRACO -->
    <add name="viewstateMoverModule" type="umbraco.presentation.viewstateMoverModule" />
    <add name="umbracoBaseRequestModule" type="umbraco.presentation.umbracobase.requestModule" />
    <!-- ASPNETAJAX -->
    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </httpModules>
    <httpHandlers>
    <remove verb="*" path="*.asmx" />
    <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
    <!-- UMBRACO CHANNELS -->
    <add verb="*" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
    <add verb="*" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
    </httpHandlers>
    <compilation defaultLanguage="c#" debug="true" batch="false">
    <assemblies>
    <!-- ASPNETAJAX -->
    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    </assemblies>
    </compilation>
    <authentication mode="Forms">
    <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" />
    </authentication>
    <authorization>
    <allow users="?" />
    </authorization>
    <!-- Membership Provider -->
    <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
    <providers>
    <clear />
    <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="TestType" />
    <add name="AspNetSqlMemberShipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="LocalSqlServer" />
    <add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" />
    </providers>
    </membership>
    <!-- added by NH to support membership providers in access layer -->
    <roleManager enabled="true" defaultProvider="UmbracoRoleProvider">
    <providers>
    <clear />
    <add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider" applicationName="umbraco" />
    </providers>
    </roleManager>
    <!-- Sitemap provider-->
    <siteMap defaultProvider="UmbracoSiteMapProvider" enabled="true">
    <providers>
    <clear />
    <add name="UmbracoSiteMapProvider" type="umbraco.presentation.nodeFactory.UmbracoSiteMapProvider" defaultDescriptionAlias="description" securityTrimmingEnabled="true" />
    </providers>
    </siteMap>
    </system.web>
    <!-- ASPNET3.5 CODEDOM-->
    <system.codedom>
    <compilers>
    <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <providerOption name="CompilerVersion" value="v3.5" />
    <providerOption name="WarnAsError" value="false" />
    </compiler>
    </compilers>
    </system.codedom>
    <!-- ASPNETAJAX -->
    <system.web.extensions>
    <scripting>
    <scriptResourceHandler enableCompression="true" enableCaching="true" />
    <webServices>
    <jsonSerialization maxJsonLength="500000" />
    </webServices>
    </scripting>
    </system.web.extensions>
    <!--
    The system.webServer section is required for running ASP.NET AJAX under Internet
    Information Services 7.0. It is not necessary for previous version of IIS.
    -->
    <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">

    <!-- Asp.net 3.5 Modules-->
    <remove name="ScriptModule" />
    <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <!-- UMBRACO modules-->
    <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
    <add name="umbracoRequestModule" type="umbraco.presentation.requestModule" />
    <add name="viewstateMoverModule" type="umbraco.presentation.viewstateMoverModule" />
    <add name="umbracoBaseRequestModule" type="umbraco.presentation.umbracobase.requestModule" />

    </modules>
    <handlers accessPolicy="Read, Write, Script, Execute">
    <!-- Asp.net 3.5 handlers-->
    <remove name="WebServiceHandlerFactory-Integrated" />
    <remove name="ScriptHandlerFactory" />
    <remove name="ScriptHandlerFactoryAppServices" />
    <remove name="ScriptResource" />
    <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <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" />

    <remove name="Channels"/>
    <remove name="Channels_Word"/>
    <add verb="*" name="Channels" preCondition="integratedMode" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
    <add verb="*" name="Channels_Word" preCondition="integratedMode" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
    </handlers>
    </system.webServer>
    <!-- Ajax 1.0 Compatibility -->
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
    </dependentAssembly>
    </assemblyBinding>

    </runtime>
    <applicationSettings>
    <Safedriving.Webparts.Properties.Settings>
    <setting name="Safedriving_Webparts_WorkflowService_WebService_V1"
    serializeAs="String">
    <value>http://localhost:85/WebService_V1.asmx</value>;
    </setting>
    </Safedriving.Webparts.Properties.Settings>
    </applicationSettings>
    </configuration>

    Any other help is also greatly appreciated!

    Kind regards,

    Rik

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 17, 2010 @ 13:02
    Dave Woestenborghs
    0

    Hi Rik,

    Have you tried using Firebug or Fiddler to track down any requests that are giving an error ?

  • Thomas Stock 40 posts 70 karma points
    Dec 17, 2010 @ 13:54
    Thomas Stock
    0

    There are no requests giving errors. The GetTree.aspx (or however it is called) just returns an empty <tree></tree>...

    Note: The web.config was manually adjusted to support .NET 4.0 because of User Controls.

    Note 2: The upgrade to .NET 4.0 was done before doing a whole bunch of other things on the installation in the staging environment, and everything worked perfectly.

     

    There must be an incompability with IIS 7 that we are missing.

     

  • Rik Helsen 670 posts 873 karma points
    Dec 17, 2010 @ 15:03
    Rik Helsen
    0

    free bottle of beer for whoever points us towards a solution:

  • Comment author was deleted

    Dec 17, 2010 @ 15:27

    @Rik, did you zip the site files? and extracted them on the new server with the default windows archiver?

    Also could you check if the apptree table looks the same on both version of the site

  • Rik Helsen 670 posts 873 karma points
    Dec 23, 2010 @ 11:16
    Rik Helsen
    0

    Upgraded to 4.5.2 to resolve the issue... to many bugs in the older versions... (DFS issues)

Please Sign in or register to post replies

Write your reply to:

Draft