We understand that your ecommerce site is crucial to the success of your business, from time to time issues and questions can arise and you need to have the assurance there will be someone on hand to help resolve these in a timely fashion so you can spend your time driving your own business forward.

So if you are looking for faster responses to your questions or would like the assurance there is someone on hand for you to contact, fear not we have a number of paid support options that are available to you that can give your organisation the peace of mind knowing a member from the Cart Viper team will always be available to assist!

Purchase a Support Plan

Community Support

HomeHomeIssues and Supp...Issues and Supp...Installation & ...Installation & ..."Invalid column name 'additionalFreeShipping'" on CV 3.0.2 to 3.5.9 upgrade"Invalid column name 'additionalFreeShipping'" on CV 3.0.2 to 3.5.9 upgrade
Previous
 
Next
New Post
6/30/2016 10:59 PM
 
My client's website is running DNN v7.4.2 and Cart Viper v3.0.2. I went to upgrade to Cart Viper 3.5.9 and got a number of errors starting with "Invalid column name 'additionalFreeShipping'". 

After the upgrade, the Host > Extensions says all the Cart Viper modules are 3.5.9 with the exception of "Cart Viper Admin" which is still at v3.0.2.

I tried doing a "Repair Install" of the Cart Viper v3.5.9 module but got the same errors and same result.

The store is basically running OK however the "Checkout" problem reported in my previous post still persists. 

How can I complete the upgrade?

I've emailed Nigel Host credentials for the website.

Below are some more details about the installation errors:

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 - CartViperAdmin
Info Starting Installation - Script
Info Begin Sql execution
Info Created - 03.01.01.SqlDataProvider
Info Executing 03.01.01.SqlDataProvider
Info Start Sql execution: 03.01.01.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'additionalFreeShipping'. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) ClientConnectionId:d24b32a5-67a6-4ced-b8fa-a60d1530d7e0 Error Number:207,State:1,Class:16 alter procedure dbo.[CVStore_InsertUpdateCouponInformation] ( @couponId int, @couponCode nvarchar(255), @description nvarchar (255), @minSubTotal decimal (18,2), @ispercentagediscount bit, @discount decimal (18,2), @canUseMultipleTimes bit, @expiryDate datetime, @hasBeenUsed bit, @portalId int, @emailAddress nvarchar(255), @startDate datetime, @productSku nvarchar(255), @couponType nvarchar(50), @categoryId nvarchar(max), @remainingNumberOfUses int, @additionalFreeShipping bit ) as set nocount on if exists(select null from dbo.[CVStore_Coupons] where couponId = @couponId) begin update dbo.[CVStore_Coupons] set couponCode = @couponCode, description = @description, MinimumSubTotal =@minSubTotal, IsPercentageDiscount = @IsPercentageDiscount, discount = @discount, canUseMultipleTimes = @canUseMultipleTimes, expiryDate = @expiryDate, hasBeenUsed = @hasBeenUsed, portalId = @portalId, customerEmailAddress =@emailAddress, couponStartDate = @startDate, productSku = @productSku, couponType =@couponType, categoryId = @categoryId, RemainingNumberOfUses = @RemainingNumberOfUses, additionalFreeShipping = @additionalFreeShipping where couponId = @couponId SELECt @couponId end else insert into dbo.[CVStore_Coupons] (couponCode, description, MinimumSubTotal, isPercentageDiscount, discount, canUseMultipleTimes, expiryDate, hasBeenUsed, portalId, customerEmailAddress, couponStartDate, productSku, couponType, categoryId, RemainingNumberOfUses,additionalFreeShipping) values (@couponCode, @description, @MinSubTotal, @isPercentageDiscount, @discount, @canUseMultipleTimes, @expiryDate, @hasBeenUsed, @portalId, @emailAddress, @startDate, @productSku, @couponType, @categoryId, @RemainingNumberOfUses, @additionalFreeShipping) SELECT SCOPE_IDENTITY() System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'additionalFreeShipping'. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) ClientConnectionId:d24b32a5-67a6-4ced-b8fa-a60d1530d7e0 Error Number:207,State:1,Class:16 alter procedure dbo.[CVStore_InsertUpdateCouponInformation] ( @couponId int, @couponCode nvarchar(255), @description nvarchar (255), @minSubTotal decimal (18,2), @ispercentagediscount bit, @discount decimal (18,2), @canUseMultipleTimes bit, @expiryDate datetime, @hasBeenUsed bit, @portalId int, @emailAddress nvarchar(255), @startDate datetime, @productSku nvarchar(255), @couponType nvarchar(50), @categoryId nvarchar(max), @remainingNumberOfUses int, @additionalFreeShipping bit, @NoTimesBeenUsed int ) as set nocount on if exists(select null from dbo.[CVStore_Coupons] where couponId = @couponId) begin update dbo.[CVStore_Coupons] set couponCode = @couponCode, description = @description, MinimumSubTotal =@minSubTotal, IsPercentageDiscount = @IsPercentageDiscount, discount = @discount, canUseMultipleTimes = @canUseMultipleTimes, expiryDate = @expiryDate, hasBeenUsed = @hasBeenUsed, portalId = @portalId, customerEmailAddress =@emailAddress, couponStartDate = @startDate, productSku = @productSku, couponType =@couponType, categoryId = @categoryId, RemainingNumberOfUses = @RemainingNumberOfUses, additionalFreeShipping = @additionalFreeShipping, NoTimesBeenUsed = @NoTimesBeenUsed where couponId = @couponId end else insert into dbo.[CVStore_Coupons](couponCode, description, MinimumSubTotal, isPercentageDiscount, discount, canUseMultipleTimes, expiryDate, hasBeenUsed, portalId, customerEmailAddress, couponStartDate, productSku, couponType, categoryId, RemainingNumberOfUses,additionalFreeShipping,NoTimesBeenUsed) values (@couponCode, @description, @MinSubTotal, @isPercentageDiscount, @discount, @canUseMultipleTimes, @expiryDate, @hasBeenUsed, @portalId, @emailAddress, @startDate, @productSku, @couponType, @categoryId, @RemainingNumberOfUses, @additionalFreeShipping, @NoTimesBeenUsed)
Info End Sql execution: 03.01.01.SqlDataProvider file
Info Finished Sql execution
Failure Installation Failed - Script
Info Installation Failed - CartViperAdmin
Info Starting Installation - CartViperAccount
Info Starting Installation - Module
Info Module registered successfully - Cart Viper Account
Info Component installed successfully - Module
Info Starting Installation - File
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - CartViperAccount
Info Starting Installation - CartViperCatalog
Info Starting Installation - Module
Info Module registered successfully - Cart Viper Catalog
Info Component installed successfully - Module
Info Starting Installation - File
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - CartViperCatalog
Info Starting Installation - CartViperMiniCart
Info Starting Installation - Module
Info Module registered successfully - Cart Viper Mini Cart
Info Component installed successfully - Module
Info Starting Installation - File
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - CartViperMiniCart
Info Starting Installation - CartViperMenu
Info Starting Installation - Module
Info Module registered successfully - Cart Viper Menu
Info Component installed successfully - Module
Info Starting Installation - File
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - CartViperMenu
Info Starting Installation - CartViperNewsletterSubscription
Info Starting Installation - Module
Info Module registered successfully - Cart Viper Newsletter Subscription
Info Component installed successfully - Module
Info Starting Installation - File
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - CartViperNewsletterSubscription
Info Starting Installation - CartViperProductWidget
Info Starting Installation - Module
Info Module registered successfully - Cart Viper Product Widget
Info Component installed successfully - Module
Info Starting Installation - File
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - CartViperProductWidget
Info Starting Installation - CartViperRecentlyViewedItems
Info Starting Installation - Module
Info Module registered successfully - Cart Viper Recently Viewed Items
Info Component installed successfully - Module
Info Starting Installation - File
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - CartViperRecentlyViewedItems
Info Starting Installation - CartViperSearch
Info Starting Installation - Module
Info Module registered successfully - Cart Viper Search Module
Info Component installed successfully - Module
Info Starting Installation - File
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - CartViperSearch
Info Starting Installation - CartViperEventsCalendar
Info Starting Installation - Module
Info Module registered successfully - Cart Viper Events Calendar
Info Component installed successfully - Module
Info Starting Installation - File
Info Component installed successfully - File
Failure Package Installation aborted
Info Installation Failed - CartViperEventsCalendar
Info Deleted temporary install folder
EndJob Installation Failed

Return

 
New Post
7/1/2016 9:39 AM
Accepted Answer 
Hi,

As you're using Paypal its a good idea to upgrade so you're using the most secure protocols. 

Prior to upgrading run the SQL in the below file via host -> sql

http://www.cartviper.com/portals/0/03.00.02.SqlDataProvider.txt

Once you have done that you should be able to upgrade as normal, after you have upgraded I would suggest merging your old CSS files into the new as you're missing a ton of the new CSS classes especially in the buttons / cart.

Regards
Nigel. 
 
New Post
7/1/2016 11:31 AM
 
Thanks again Nigel! Running the SQL script went smoothly. Then doing a Repair Install of CV 3.5.9 proceeded flawlessly after that. This in turned cleared up other errors seen on Checkout after restoring the Anonymous user account.

One question about the merging the CSS files... I believe you're referring to the CSS files in, for example, the /Portals/0/CVStore/Templates folder and sub-folders. If we wanted to start with "fresh" v3.5.9 versions of these files, what's the best way to achieve that? Unzip the CV module .zip file locally and FTP up the relevant folders inside of Resources.zip? Or is there a simpler way?
 
New Post
7/1/2016 5:22 PM
 
Hi,

If you just want to use the base templates without modifying just remove the "portal templates" setting.

However the
base files are located in the below if you are not using the responsive templates

DesktopModules\cartviper\Templates

or the below if you are using responsive:

DesktopModules\cartviper\ResponsiveTemplates

Regards
Nigel.

 
Previous
 
Next
HomeHomeIssues and Supp...Issues and Supp...Installation & ...Installation & ..."Invalid column name 'additionalFreeShipping'" on CV 3.0.2 to 3.5.9 upgrade"Invalid column name 'additionalFreeShipping'" on CV 3.0.2 to 3.5.9 upgrade


 

We use cookies on our website to improve our service to you, by continuing you agree to our use of cookies. However you are able to update your settings at any time.

Cookie Policy

A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is a piece of data stored by a website within a browser, and then subsequently sent back to the same website by the browser. Cookies were designed to be a reliable mechanism for websites to remember things that a browser had done there in the past, which can include having clicked particular buttons, logging in, or having read pages on that site months or years ago.

Strictly Necessary Cookies

These cookies cannot be disabled

These cookies are necessary for the website to function and cannot be switched off. They are normally set in response to your interactions on the website e.g. logging in etc.

Cookies:
  • .ASPXANONYMOUS
  • .DOTNETNUKE
  • __RequestVerificationToken
  • authentication
  • CV_Portal
  • CV_Store_Portal_Cart_0
  • CV_USER
  • dnn_IsMobile
  • language
  • LastPageId
  • NADevGDPRCookieConsent_portal_0
  • userBrowsingCookie

Performance Cookies

These cookies allow us to monitor traffic to our website so we can improve the performance and content of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited or how you navigated around our website.

Cookies:
  • _ga
  • _gat
  • _gid

Functional Cookies

These cookies enable the website to provide enhanced functionality and content. They may be set by the website or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.

Cookies:

Currently we are not utilizing these types of cookies on our site.

Targeting Cookies

These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Cookies:

Currently we are not utilizing these types of cookies on our site.

Feedback