Saro
Saro

Reputation: 160

ASP.NET Boilerplate SqlException at first run

After download/restore zip template for ABP v2.3.0 i had the following exception raised after the first application run

stack track herehttps://pastebin.com/g2XYAwp1

Before first execution I did the following steps:

  1. Opened solution on Visual Studio 2015
  2. Changed the database connection string
  3. Restored nuget packages for the solution
  4. Select the 'Web' project as startup project
  5. Run the EntityFramework's 'Update-Database' command

(database created successfully)

Run the application

Unfortunately I don't have the ability to work with VS2017 (and then to use ABP 3.0 template generated online)

It's possibile to download ABP v2.3.0 template as generated here ?

Upvotes: 0

Views: 373

Answers (1)

aaron
aaron

Reputation: 43098

After download/restore zip template for ABP v2.3.0 i had the following exception raised after the first application run

The exception is from a missing foreign key reference in AbpSettings.

Remove invalid entries in that table and your application should run fine.

It's possibile to download ABP v2.3.0 template as generated here ?

You can only choose the project version for premium startup templates.

You can build your own from module-zero-core-template/releases/tag/v2.5.1.

Upvotes: 1

Related Questions