Inhalte aufrufen

Profilbild

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

Entity Framework Migration

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
3 Antworten zu diesem Thema

#1 david.williams

david.williams

    Newbie

  • Members
  • 2 Beiträge

Geschrieben: 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
  • 3317 Beiträge

Geschrieben: 04 December 2018 - 13:15

Delete the database and let the installation create it.


Schöne Grüße aus Düsseldorf,
Marcus Gesing


#3 david.williams

david.williams

    Newbie

  • Members
  • 2 Beiträge

Geschrieben: 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
  • 3317 Beiträge

Geschrieben: 06 December 2018 - 11:53

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


Schöne Grüße aus Düsseldorf,
Marcus Gesing