Copied to clipboard

Flag this post as spam?

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


  • Fredrik Esseen 610 posts 906 karma points
    Nov 16, 2009 @ 08:19
    Fredrik Esseen
    0

    Contour Installation error

    Got this message when trying out the contour trial from repository:

    Using Umbraco 4.0.2.1 and MySql

    Database could not be installed +
    umbraco.DataLayer.SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteNonQuery ---> MySql.Data.MySqlClient.MySqlException: Unknown system variable 'ANSI_NULLS' at MySql.Data.MySqlClient.MySqlStream.OpenPacket() at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) at MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(MySqlConnection connection, String commandText, MySqlParameter[] commandParameters) at MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(String connectionString, String commandText, MySqlParameter[] parms) at umbraco.DataLayer.SqlHelpers.MySql.MySqlHelper.ExecuteNonQuery(String commandText, MySqlParameter[] parameters) at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) --- End of inner exception stack trace --- at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) at Umbraco.Forms.UI.Usercontrols.Installer.Page_Load(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\39da791f9304089a\Umbraco.Forms.UI\Usercontrols\Installer.ascx.cs:line 23

  • Comment author was deleted

    Nov 16, 2009 @ 09:27

    Hi Froad,

    Currently you can only install Contour on SQL Server.

  • Fredrik Esseen 610 posts 906 karma points
    Nov 16, 2009 @ 09:54
    Fredrik Esseen
    0

    OK, must have missed that information somewhere..

    While I have you listening, Tim, could you please enlighten me about this problem: http://our.umbraco.org/forum/getting-started/questions-about-runway-and-modules/4582-Use-tags-in-Blog¤Umbraco

    Im going nuts!

  • nrek 15 posts 36 karma points
    Nov 18, 2009 @ 10:57
    nrek
    0

    I'm actually having that same error on SQL Server 2008... is 2005 the version of choice?

  • nrek 15 posts 36 karma points
    Nov 18, 2009 @ 11:18
    nrek
    0
    • Database could not be installed +
      umbraco.DataLayer.SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteNonQuery ---> System.Data.SqlClient.SqlException: Invalid object name 'dbo.cmsMacroPropertyType'. 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(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at umbraco.DataLayer.SqlHelpers.SqlServer.SqlServerHelper.ExecuteNonQuery(String commandText, SqlParameter[] parameters) at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) --- End of inner exception stack trace --- at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) at Umbraco.Forms.UI.Usercontrols.Installer.Page_Load(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\39da791f9304089a\Umbraco.Forms.UI\Usercontrols\Installer.ascx.cs:line 23
    • Formpicker could not be added +
      umbraco.DataLayer.SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteNonQuery ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_umbracoMacroProperty_umbracoMacroPropertyType". The conflict occurred in database "dbo", table "digithrive_umbarco.cmsMacroPropertyType", column 'id'. The statement has been terminated. 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(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) 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.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at umbraco.DataLayer.SqlHelpers.SqlServer.SqlServerHelper.ExecuteNonQuery(String commandText, SqlParameter[] parameters) at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) --- End of inner exception stack trace --- at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) at umbraco.cms.businesslogic.macro.MacroProperty.MakeNew(Macro M, Boolean show, String alias, String name, MacroPropertyType propertyType) at umbraco.cms.businesslogic.macro.MacroProperty.Save() at Umbraco.Forms.UI.Usercontrols.Installer.Page_Load(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\39da791f9304089a\Umbraco.Forms.UI\Usercontrols\Installer.ascx.cs:line 86
  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Nov 18, 2009 @ 12:20
    Dirk De Grave
    0

    Seems as if the db schema is different? dbo versus digithrive.umbarco! Could that be your issue?

     

    Hope this helps.

    Regards,

    /Dirk

  • nrek 15 posts 36 karma points
    Nov 18, 2009 @ 20:34
    nrek
    0

    It actually doesn't. My web config file only specifies "digithrive_umbarco" (a typo i've learned to live with); and this is on a 100% brand new installation from a completely empty database. The Umbraco install was freshly downloaded as well. So I basically fired up brand new "everything" and immediately received the above errors when I try to install Contour (with or without Runway). 

    As a precautionary measure, I've been wiping everything out, and starting from scratch to ensure I'm dealing with absolutely zero influence from variables.

    Right now; I'm removing every file from my server, and I'm dropping the database one more time. Wish me luck.

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Nov 18, 2009 @ 21:00
    Chris Houston
    0

    Hi Nrek,

    I have it installed on both Win 7 & Win 2008 server using SQL 2008.

    Cheers,

    Chris

  • nrek 15 posts 36 karma points
    Nov 18, 2009 @ 22:31
    nrek
    0

    Alright, here's what I've done:

    1. Uploaded freshly downloaded copy of Umbraco (to SoftSys, shared hosting, with SQL Server 2008)
    2. Added schema for a newly created SQL 2008 database user "dthrive_adm" > "db_owner" via SQL Server Mgmt
    3. Altered the default web.config file from download on umbraco.org to ::
    4. Updated only this line: "umbracoDbDSN"  <add key="umbracoDbDSN" value="Server=72.***;Database=dthriveUmbraco;User ID=dthrive_adm;Password=****;Trusted_Connection=False"/>
    5. Checked permission on required folders & files ... Installation - Ok
    6. (In Umbraco) clicked Developer > Packages > "Umbraco Package Repository" > Umbraco Contour
    7. Followed the simple steps, and receive:

    • Database could not be installed +
      umbraco.DataLayer.SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteNonQuery ---> System.Data.SqlClient.SqlException: Invalid object name 'dbo.cmsMacroPropertyType'. 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(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at umbraco.DataLayer.SqlHelpers.SqlServer.SqlServerHelper.ExecuteNonQuery(String commandText, SqlParameter[] parameters) at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) --- End of inner exception stack trace --- at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) at Umbraco.Forms.UI.Usercontrols.Installer.Page_Load(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\39da791f9304089a\Umbraco.Forms.UI\Usercontrols\Installer.ascx.cs:line 23
    • Added the forms datatype
    • Updated /umbraco/config/ui/create.xml
    • Added dashboard to Contour application
    • Updated web.config to use correct asp.net ajax assemblies
    • Formpicker could not be added +
      umbraco.DataLayer.SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteNonQuery ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_umbracoMacroProperty_umbracoMacroPropertyType". The conflict occurred in database "dthriveUmbraco", table "dthrive_adm.cmsMacroPropertyType", column 'id'. The statement has been terminated. 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(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) 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.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at umbraco.DataLayer.SqlHelpers.SqlServer.SqlServerHelper.ExecuteNonQuery(String commandText, SqlParameter[] parameters) at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) --- End of inner exception stack trace --- at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) at umbraco.cms.businesslogic.macro.MacroProperty.MakeNew(Macro M, Boolean show, String alias, String name, MacroPropertyType propertyType) at umbraco.cms.businesslogic.macro.MacroProperty.Save() at Umbraco.Forms.UI.Usercontrols.Installer.Page_Load(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\39da791f9304089a\Umbraco.Forms.UI\Usercontrols\Installer.ascx.cs:line 86
  • nrek 15 posts 36 karma points
    Nov 18, 2009 @ 22:47
    nrek
    0

    Oh - if for some terrible reason anyone else on Earth ever has this problem, and needs to perform uninstalls & reinstalls or regenerate the error for support after they try to install it & uninstall it -

    They may get a Primary Key error regarding a table.UmbracoUser2App record. Took a second to figure it out, but (modify and run) this:

    DELETE FROM [database].[prefix].[umbracoUser2app]
          WHERE app='contour'

    Not sure why it stays around, but it does & it produces a different error; which doens't help troubleshooting in the slightest, from what I can gather.

  • nrek 15 posts 36 karma points
    Nov 19, 2009 @ 11:27
Please Sign in or register to post replies

Write your reply to:

Draft