Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Can't create product group

Can't create product group

Lars Larsen
Lars Larsen
Reply

Hi

I have a DW9.1 website running and tries to create the first product group in order to create products. But when I tries to create the product group I get this errormessage:

Server Error in '/' Application.


Invalid column name 'EcomOrderLineFieldsSorting'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Data.SqlClient.SqlException: Invalid column name 'EcomOrderLineFieldsSorting'.

Source Error: 
 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 
 

[SqlException (0x80131904): Invalid column name 'EcomOrderLineFieldsSorting'.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +3278868
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +791
   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4927
   System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +92
   System.Data.SqlClient.SqlDataReader.get_MetaData() +102
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +552
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest) +3114
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +554
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +98
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +307
   Dynamicweb.Data.Database.CreateDataReader(IDbCommand command, CommandBehavior behavior) +1063
   Dynamicweb.Data.Database.CreateDataReader(String sql, IDbConnection connection, IDbTransaction transaction, CommandBehavior behavior, Int32 commandTimeout, Dictionary`2 sqlParams) +266
   Dynamicweb.Data.Database.CreateDataReader(String sql, IDbConnection connection, IDbTransaction transaction, Int32 commandTimeout, Dictionary`2 sqlParams) +246
   Dynamicweb.Ecommerce.Orders.OrderLineField.get_AllOrderLineFields() +345
   Dynamicweb.Admin.eComBackend.EcomGroupEdit.InitOrderLineContextMenu(IEnumerable`1 excludeFields) +83
   Dynamicweb.Admin.eComBackend.EcomGroupEdit.GetOrderLineFieldInheritedHtml() +1400
   Dynamicweb.Admin.eComBackend.EcomGroupEdit.HandlePostBack() +1063
   Dynamicweb.Admin.eComBackend.EcomGroupEdit.Page_Load(Object sender, EventArgs e) +1631
   System.Web.UI.Control.OnLoad(EventArgs e) +109
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4498

How can I get around this error? I need to create one product group and some products in it.


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1073.0


Replies

 
Lars Larsen
Lars Larsen
Reply

Hi

The field "EcomOrderLineFieldsSorting" was missing in the table "EcomOrderLineFields". After adding the field as an integer I was able to create the first product group.

 

 

You must be logged in to post in the forum