Jump to content

Photo
- - - - -

Setup failed: Column name 'IsSystemProduct' does not exist in the target table or view.

Entity Framework Migration

  • Please log in to reply
3 replies to this topic

#1 david.williams

david.williams

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 04 December 2018 - 13:06

Hi I've downloaded to latest version of SmartStore source code and opened the solution in Visual Studio 2017.  I can build the solution OK but when I try and run the solution (SmartStore.Web set as the start up project), I get the above error message.  The target database is Sql Server 2012 running on localhost.  I've tried creating the target database first and also let the installation process create the target database but I still get the same error.

 

SmartStore falls over on line 38 of InstallDatabaseInitializer.cs: migrator.Update();

 

Can you suggest what the issue is?

 

Regards

 

Dave.



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3823 posts

Posted 04 December 2018 - 13:15

Delete the database and let the installation create it.


Marcus Gesing

Smartstore AG


#3 david.williams

david.williams

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 04 December 2018 - 13:18

I've tried that but it I still get the same error message.



#4 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3823 posts

Posted 06 December 2018 - 11:53

It was a bug and has been fixed now. Please Git-pull again.


Marcus Gesing

Smartstore AG