Setup failed: An exception was thrown while activating

1 Jahr weitere
hello there i need help im new to nopcommerce
i started the nop.web.exe and i was trying to install it and got this error

Setup failed: An exception was thrown while activating Nop.Data.Migrations.MigrationManager -> λ:System.Lazy`1[[FluentMigrator.Runner.IVersionLoader, FluentMigrator.Runner, Version=3.3.2.0, Culture=neutral, PublicKeyToken=aacfc7de5acabf05]] -> λ:FluentMigrator.Runner.IVersionLoader.
1 Jahr weitere
Hi
which nopCommerce version are you trying?

please check these 2 post it might be helpful to you

https://github.com/nopSolutions/nopCommerce/issues/4888

https://www.nopcommerce.com/en/boards/topic/92458/an-exception-was-thrown-while-activating-%CE%BBfluentmigratorrunneriversionloader-on-debian-11-bullseye/page/2
1 Jahr weitere
im using the no source windows 4.60.0
1 Jahr weitere
vostro123 wrote:
hello there i need help im new to nopcommerce
i started the nop.web.exe and i was trying to install it and got this error

Setup failed: An exception was thrown while activating Nop.Data.Migrations.MigrationManager -> λ:System.Lazy`1[[FluentMigrator.Runner.IVersionLoader, FluentMigrator.Runner, Version=3.3.2.0, Culture=neutral, PublicKeyToken=aacfc7de5acabf05]] -> λ:FluentMigrator.Runner.IVersionLoader.

Hello, same with me, I used latest version 4.60.0, Windows Server 2019 Standard, Sql Server Express version 16.0.1000.6, after fill-in fields in install page, click Install it throw exception.
P/S: I created database and add user correctly
1 Jahr weitere
It could be related to this issue
https://github.com/nopSolutions/nopCommerce/issues/6528

Modify your code with that change, or of you have a custom plugin, then change from "MigrationProcessType.NoMatter" to "MigrationProcessType.Installation"
1 Jahr weitere
If I run the web in debug mode in visual studio, it work fine: it created the database, the setting files... but for the publish version (release mode), it throws the exception above
11 Monate weitere
Any solution for this issue?
11 Monate weitere
What DB / version ?
Do you have a custom plugin?  (see above about migration)
11 Monate weitere
No plugins or anything it was a freshly downloaded source code.

After a lot of searching I tried my luck with updating a package in `Nop.Data`:
`Microsoft.Data.SqlClient` from `5.0.1` to `5.1.1`

Then published the files again to my local IIS and it went well !
11 Monate weitere
For Linux users, be sure to use pre-compiled Linux distribution:

sudo wget https://github.com/nopSolutions/nopCommerce/releases/download/release-4.60.3/nopCommerce_4.60.3_NoSource_linux_x64.zip