HomeHome Product Discus... Product Discus...SmithCartSmithCartinstallation failed for 2.97 (upgrade from 2.96)installation failed for 2.97 (upgrade from 2.96)
Previous
 
Next
New Post
7/11/2010 11:19 PM
 

I receeived this error when trying to install the latest release:

Package Installation Report

See below for the results of the package installation
Error loading files from temporary folder - see below
StartJob Starting Installation
Info Starting Installation - Smith.BuyNow
Info Starting Installation - Script
Info Begin Sql execution
Info Created - 02.97.00.SqlDataProvider
Info Executing 02.97.00.SqlDataProvider
Info Start Sql execution: 02.97.00.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: 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(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 DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) CREATE PROCEDURE dbo.Smith_AddCustomer @FirstName varchar(50) = NULL, @LastName varchar(50) = NULL, @Address1 varchar(50) = NULL, @Address2 varchar(50) = NULL, @City varchar(50) = NULL, @Country varchar(50) = NULL, @State varchar(50) = NULL, @Zip varchar(50) = NULL, @HomePhone varchar(50) = NULL, @WorkPhone varchar(50) = NULL, @Email varchar(50) = NULL, @Login varchar(50) = NULL, @Contact bit = null , @IPAddress varchar(50) = NULL , @UDF varchar(50) = NULL, @UDTB1 varchar(50) = NULL, @UDTB2 varchar(50) = NULL, @CompanyName varchar(50) = NULL, @PortalID int, @UDDate DateTime ) AS INSERT INTO Smith_Customer ( [FirstName], [LastName], [Address1], [Address2], [City], [Country], [State], [Zip], [HomePhone], [WorkPhone], [Email], [DNNLogin], [Contact], [IPAddress], [UDF], [UDTB1], [UDTB2], [CompanyName], PortalID, UDDate) VALUES ( @FirstName, @LastName, @Address1, @Address2, @City, @Country, @State, @Zip, @HomePhone, @WorkPhone, @Email, @Login, @Contact, @IPAddress, @UDF, @UDTB1, @UDTB2,@CompanyName,@PortalID, @UDDate ) SELECT CAST(SCOPE_IDENTITY() as INT)
Info End Sql execution: 02.97.00.SqlDataProvider file
Info Finished Sql execution
Failure Installation Failed - Script
Info Installation Failed - Smith.BuyNow
Info Starting Installation - Smith.AffiliateTracking
Info Starting Installation - Module
Info Module registered successfully - Smith.AffiliateTracking
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly updated - bin\App_Web_affiliatetrackingsettings.ascx.9167e184.dll
Info Creating backup of previous version - bin\App_Web_affiliatetrackingsettings.ascx.9167e184.dll
Info Created - bin\App_Web_affiliatetrackingsettings.ascx.9167e184.dll
Info Assembly updated - bin\App_Web_trackaffiliateid.ascx.9167e184.dll
Info Creating backup of previous version - bin\App_Web_trackaffiliateid.ascx.9167e184.dll
Info Created - bin\App_Web_trackaffiliateid.ascx.9167e184.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Creating backup of previous version - AffiliateTrackingSettings.ascx
Info Created - AffiliateTrackingSettings.ascx
Info Creating backup of previous version - TrackAffiliateId.ascx
Info Created - TrackAffiliateId.ascx
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - Smith.AffiliateTracking
Info Starting Installation - Smith.CategoryMenu
Info Starting Installation - Module
Info Module registered successfully - Smith.CategoryMenu
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly updated - bin\App_Web_categorymenu.ascx.dd2a0b6c.dll
Info Creating backup of previous version - bin\App_Web_categorymenu.ascx.dd2a0b6c.dll
Info Created - bin\App_Web_categorymenu.ascx.dd2a0b6c.dll
Info Assembly updated - bin\App_Web_catmenusettings.ascx.dd2a0b6c.dll
Info Creating backup of previous version - bin\App_Web_catmenusettings.ascx.dd2a0b6c.dll
Info Created - bin\App_Web_catmenusettings.ascx.dd2a0b6c.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Creating backup of previous version - CategoryMenu.ascx
Info Created - CategoryMenu.ascx
Info Creating backup of previous version - CategoryMenu.css
Info Created - CategoryMenu.css
Info Creating backup of previous version - CatMenuSettings.ascx
Info Created - CatMenuSettings.ascx
Info Creating backup of previous version - tv_collapser.gif
Info Created - tv_collapser.gif
Info Creating backup of previous version - tv_expander.gif
Info Created - tv_expander.gif
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - Smith.CategoryMenu
Info Starting Installation - Smith.FeaturedProducts
Info Starting Installation - Module
Info Module registered successfully - Smith.FeaturedProducts
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly updated - bin\App_Web_featuredproducts.ascx.338729a9.dll
Info Creating backup of previous version - bin\App_Web_featuredproducts.ascx.338729a9.dll
Info Created - bin\App_Web_featuredproducts.ascx.338729a9.dll
Info Assembly updated - bin\App_Web_featuredsettings.ascx.338729a9.dll
Info Creating backup of previous version - bin\App_Web_featuredsettings.ascx.338729a9.dll
Info Created - bin\App_Web_featuredsettings.ascx.338729a9.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Creating backup of previous version - FeaturedProducts.ascx
Info Created - FeaturedProducts.ascx
Info Creating backup of previous version - FeaturedProducts.css
Info Created - FeaturedProducts.css
Info Creating backup of previous version - FeaturedSettings.ascx
Info Created - FeaturedSettings.ascx
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - Smith.FeaturedProducts
Info Starting Installation - Smith.MiniCart
Info Starting Installation - Module
Info Module registered successfully - Smith.MiniCart
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly updated - bin\App_Web_minicart.ascx.d1cb3a5.dll
Info Creating backup of previous version - bin\App_Web_minicart.ascx.d1cb3a5.dll
Info Created - bin\App_Web_minicart.ascx.d1cb3a5.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Creating backup of previous version - checkout.gif
Info Created - checkout.gif
Info Creating backup of previous version - MiniCart.ascx
Info Created - MiniCart.ascx
Info Creating backup of previous version - minicart.css
Info Created - minicart.css
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - Smith.MiniCart
Info Starting Installation - Smith.MyAccount
Info Starting Installation - Module
Info Module registered successfully - Smith.MyAccount
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly updated - bin\App_Web_myaccountinvoice.ascx.e7220eaf.dll
Info Creating backup of previous version - bin\App_Web_myaccountinvoice.ascx.e7220eaf.dll
Info Created - bin\App_Web_myaccountinvoice.ascx.e7220eaf.dll
Info Assembly updated - bin\App_Web_myaccountmanageorders.ascx.e7220eaf.dll
Info Creating backup of previous version - bin\App_Web_myaccountmanageorders.ascx.e7220eaf.dll
Info Created - bin\App_Web_myaccountmanageorders.ascx.e7220eaf.dll
Info Assembly updated - bin\App_Web_myaccountsettings.ascx.e7220eaf.dll
Info Creating backup of previous version - bin\App_Web_myaccountsettings.ascx.e7220eaf.dll
Info Created - bin\App_Web_myaccountsettings.ascx.e7220eaf.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Creating backup of previous version - myaccount.css
Info Created - myaccount.css
Info Creating backup of previous version - MyAccountInvoice.ascx
Info Created - MyAccountInvoice.ascx
Info Creating backup of previous version - MyAccountManageOrders.ascx
Info Created - MyAccountManageOrders.ascx
Info Creating backup of previous version - MyAccountSettings.ascx
Info Created - MyAccountSettings.ascx
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - Smith.MyAccount
Info Deleted temporary install folder
EndJob Installation Failed

 
New Post
7/12/2010 11:56 AM
 

The install script for v2.97 has been fixed and the updated version is available on the downloads page.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
7/12/2010 12:48 PM
 

Still not working... new error:

Error loading files from temporary folder - see below
StartJob Starting Installation
Info Starting Installation - Smith.BuyNow
Info Starting Installation - Script
Info Begin Sql execution
Info Creating backup of previous version - 02.97.00.SqlDataProvider
Info Created - 02.97.00.SqlDataProvider
Info Executing 02.97.00.SqlDataProvider
Info Start Sql execution: 02.97.00.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'Sku' in table 'dbo.Smith_ProductVariant' is specified more than once. 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 DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Smith_ProductVariant ADD Sku varchar(50) Default('') Null System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'QtyOnHand' in table 'dbo.Smith_ProductVariant' is specified more than once. 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 DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Smith_ProductVariant ADD QtyOnHand int Null System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'ConditionalGroupID' in table 'dbo.Smith_ProductVariant' is specified more than once. 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 DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Smith_ProductVariant ADD ConditionalGroupID int Null System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'Hide' in table 'dbo.Smith_ProductVariantGroup' is specified more than once. 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 DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.Smith_ProductVariantGroup ADD Hide bit Default(0) Null
Info End Sql execution: 02.97.00.SqlDataProvider file
Info Finished Sql execution
Failure Installation Failed - Script
Info Installation Failed - Smith.BuyNow
Info Starting Installation - Smith.AffiliateTracking
Info Starting Installation - Module
Info Module registered successfully - Smith.AffiliateTracking
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly already registered - bin\App_Web_affiliatetrackingsettings.ascx.9167e184.dll
Info Creating backup of previous version - bin\App_Web_affiliatetrackingsettings.ascx.9167e184.dll
Info Created - bin\App_Web_affiliatetrackingsettings.ascx.9167e184.dll
Info Assembly already registered - bin\App_Web_trackaffiliateid.ascx.9167e184.dll
Info Creating backup of previous version - bin\App_Web_trackaffiliateid.ascx.9167e184.dll
Info Created - bin\App_Web_trackaffiliateid.ascx.9167e184.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Creating backup of previous version - AffiliateTrackingSettings.ascx
Info Created - AffiliateTrackingSettings.ascx
Info Creating backup of previous version - TrackAffiliateId.ascx
Info Created - TrackAffiliateId.ascx
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - Smith.AffiliateTracking
Info Starting Installation - Smith.CategoryMenu
Info Starting Installation - Module
Info Module registered successfully - Smith.CategoryMenu
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly already registered - bin\App_Web_categorymenu.ascx.dd2a0b6c.dll
Info Creating backup of previous version - bin\App_Web_categorymenu.ascx.dd2a0b6c.dll
Info Created - bin\App_Web_categorymenu.ascx.dd2a0b6c.dll
Info Assembly already registered - bin\App_Web_catmenusettings.ascx.dd2a0b6c.dll
Info Creating backup of previous version - bin\App_Web_catmenusettings.ascx.dd2a0b6c.dll
Info Created - bin\App_Web_catmenusettings.ascx.dd2a0b6c.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Creating backup of previous version - CategoryMenu.ascx
Info Created - CategoryMenu.ascx
Info Creating backup of previous version - CategoryMenu.css
Info Created - CategoryMenu.css
Info Creating backup of previous version - CatMenuSettings.ascx
Info Created - CatMenuSettings.ascx
Info Creating backup of previous version - tv_collapser.gif
Info Created - tv_collapser.gif
Info Creating backup of previous version - tv_expander.gif
Info Created - tv_expander.gif
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - Smith.CategoryMenu
Info Starting Installation - Smith.FeaturedProducts
Info Starting Installation - Module
Info Module registered successfully - Smith.FeaturedProducts
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly already registered - bin\App_Web_featuredproducts.ascx.338729a9.dll
Info Creating backup of previous version - bin\App_Web_featuredproducts.ascx.338729a9.dll
Info Created - bin\App_Web_featuredproducts.ascx.338729a9.dll
Info Assembly already registered - bin\App_Web_featuredsettings.ascx.338729a9.dll
Info Creating backup of previous version - bin\App_Web_featuredsettings.ascx.338729a9.dll
Info Created - bin\App_Web_featuredsettings.ascx.338729a9.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Creating backup of previous version - FeaturedProducts.ascx
Info Created - FeaturedProducts.ascx
Info Creating backup of previous version - FeaturedProducts.css
Info Created - FeaturedProducts.css
Info Creating backup of previous version - FeaturedSettings.ascx
Info Created - FeaturedSettings.ascx
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - Smith.FeaturedProducts
Info Starting Installation - Smith.MiniCart
Info Starting Installation - Module
Info Module registered successfully - Smith.MiniCart
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly already registered - bin\App_Web_minicart.ascx.d1cb3a5.dll
Info Creating backup of previous version - bin\App_Web_minicart.ascx.d1cb3a5.dll
Info Created - bin\App_Web_minicart.ascx.d1cb3a5.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Creating backup of previous version - checkout.gif
Info Created - checkout.gif
Info Creating backup of previous version - MiniCart.ascx
Info Created - MiniCart.ascx
Info Creating backup of previous version - minicart.css
Info Created - minicart.css
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - Smith.MiniCart
Info Starting Installation - Smith.MyAccount
Info Starting Installation - Module
Info Module registered successfully - Smith.MyAccount
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly already registered - bin\App_Web_myaccountinvoice.ascx.e7220eaf.dll
Info Creating backup of previous version - bin\App_Web_myaccountinvoice.ascx.e7220eaf.dll
Info Created - bin\App_Web_myaccountinvoice.ascx.e7220eaf.dll
Info Assembly already registered - bin\App_Web_myaccountmanageorders.ascx.e7220eaf.dll
Info Creating backup of previous version - bin\App_Web_myaccountmanageorders.ascx.e7220eaf.dll
Info Created - bin\App_Web_myaccountmanageorders.ascx.e7220eaf.dll
Info Assembly already registered - bin\App_Web_myaccountsettings.ascx.e7220eaf.dll
Info Creating backup of previous version - bin\App_Web_myaccountsettings.ascx.e7220eaf.dll
Info Created - bin\App_Web_myaccountsettings.ascx.e7220eaf.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Creating backup of previous version - myaccount.css
Info Created - myaccount.css
Info Creating backup of previous version - MyAccountInvoice.ascx
Info Created - MyAccountInvoice.ascx
Info Creating backup of previous version - MyAccountManageOrders.ascx
Info Created - MyAccountManageOrders.ascx
Info Creating backup of previous version - MyAccountSettings.ascx
Info Created - MyAccountSettings.ascx
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - Smith.MyAccount
Info Deleted temporary install folder
EndJob Installation Failed

 
New Post
7/12/2010 1:02 PM
 

I received the same error when installed after the first install failed. The problem is that even though the first install failed dnn still created all the table changes for 2.97. Then when you try to install again it trys to run the same alter tables that were already executed. You will need to roll back to 2.96 then install 2.97.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
7/12/2010 1:07 PM
 

What do you mean by rollback? The only way I know of woud be to restore a DNN instance backup. Is that what you mean?

 
New Post
7/12/2010 1:18 PM
Accepted Answer 

Yes most servers are automatically backed up nightly by your hosting company you can request a restore from last nights backup and that should put you back to version 2.96. Another solution for you is to delete the 4 fields and one table that are created in the 2.97 sqlprovider file. Delete the table "Smith_OrderDiscounts" and remove the following fields added in the 2.97 install:

ALTER TABLE {databaseOwner}{objectQualifier}Smith_ProductVariant ADD Sku varchar(50) Default('') Null
GO

ALTER TABLE {databaseOwner}{objectQualifier}Smith_ProductVariant ADD QtyOnHand int Null
GO

ALTER TABLE {databaseOwner}{objectQualifier}Smith_ProductVariant ADD ConditionalGroupID int Null
GO

ALTER TABLE {databaseOwner}{objectQualifier}Smith_ProductVariantGroup ADD Hide bit Default(0) Null
GO


ALTER TABLE {databaseOwner}{objectQualifier}Smith_Customer ADD UDDate datetime Null
GO

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
7/12/2010 2:28 PM
 

I deleted the items you listed above and was then able to re-install 2.97 without any errors.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartinstallation failed for 2.97 (upgrade from 2.96)installation failed for 2.97 (upgrade from 2.96)