Copied to clipboard

Flag this post as spam?

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


  • Adrian Lloyd 25 posts 125 karma points
    Feb 21, 2013 @ 11:59
    Adrian Lloyd
    0

    Error after upgrade to 4.11.4

    Hi, we copied our staging site (files & db) to replace our dev site in order that they matched again. Once this was complete, we upgraded to v4.11.4 from v4.9.1. We also upgraded Contour to v3.0.6. We have Courier 2.7.1. The server is 2008 R2 standard, IIS 7.5, asp.net 4.0 integrated.

    Now we are getting an error when a node is published (on both sites) and after a few of these errors the app pool stops.

    This was found in the UmbracoTraceLog.txt:

    2013-02-21 09:52:02,421 [6] ERROR umbraco.DataLayer.SqlHelper`1[[System.Data.SqlClient.SqlParameter, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] - [Thread 7] Error executing query Select [value] from cmsDataTypeprevalues where id in ()

    System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near ')'.

       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)

       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)

       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()

       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)

       at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()

       at System.Data.SqlClient.SqlDataReader.get_MetaData()

       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)

       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)

       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)

       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)

       at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)

       at umbraco.DataLayer.SqlHelpers.SqlServer.SqlServerHelper.ExecuteReader(String commandText, SqlParameter[] parameters)

       at umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters)

    ClientConnectionId:497445b9-af65-4769-8442-32e3f3e519c7

     

    There are 2 errors in IIS:

    Event ID 5011: A process serving application pool '[our_app_pool]' suffered a fatal communication error with the Windows Process Activation Service. The process id was '4620'. The data field contains the error number.

    Event ID 5009: A process serving application pool '[our_app_pool]' terminated unexpectedly. The process id was '2820'. The process exit code was '0xff'.

    The only error in the db log at around the same time is:

    Error adding to SiteMapProvider in loadNodes(): System.InvalidOperationException: Multiple nodes with the same URL '/' were found. XmlSiteMapProvider requires that sitemap nodes have unique URLs.     at System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode)     at umbraco.presentation.nodeFactory.UmbracoSiteMapProvider.loadNodes(String parentId, SiteMapNode parentNode)

    Has anyone seen this before?

  • Adrian Lloyd 25 posts 125 karma points
    Feb 21, 2013 @ 14:12
    Adrian Lloyd
    100

    Hi, I didn't take in to account that copying an instance of the staging site would upset Courier. I found the IIS errors disappeared when I uninstalled Courier (except log4net.dll, Umbraco.Courier.Core.dll and Umbraco.Courier.Providers.dll) and reinstalled Courier on both sites. 

    This means the app pools no longer stop and there's no errors in the db log now.

    The slq error remains in the UmbracoTraceLog.txt though if anyone has any ideas about that?

  • Adrian Lloyd 25 posts 125 karma points
    Feb 21, 2013 @ 15:32
    Adrian Lloyd
    0

    Hi, the sql error has stopped so I'm assuming it was all Courier related. Lesson learned: make sure to cover all bases when moving sites!

    Thanks,

    Adrian.

  • Adrian Lloyd 25 posts 125 karma points
    Mar 07, 2013 @ 17:32
    Adrian Lloyd
    0

    Turns out this wasn't Courier related, more to do with checkboxlist datatypes and is fixed in 4.11.5 

Please Sign in or register to post replies

Write your reply to:

Draft