OpenNos Database Error (Database may not be up to date)

03/14/2021 09:45 m.one#1
Hey guys im trying to setting up an ON based nostale server just for testing purposes.

If i run the master server i get a database error.
Im using this source (ciapas) [Only registered and activated users can see links. Click Here To Register...]

Code:
[09:17:35][ERROR][Initialize]: [DATABASE_INITIALIZATION]Database Error
System.InvalidOperationException: The model backing the 'OpenNosContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).
   at System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
   at System.Data.Entity.Internal.InternalContext.<>c__DisplayClassf`1.<CreateInitializationAction>b__e()
   at System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
   at System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
   at System.Data.Entity.Database.Initialize(Boolean force)
   at OpenNos.DAL.EF.Helpers.DataAccessHelper.Initialize() in C:\Users\Administrator\Desktop\OpenNos-dev\OpenNos.DAL.EF\Helpers\DataAccessHelper.cs:line 78
[09:17:35][ERROR][Initialize]: [DATABASE_INITIALIZATION]Database may not be up to date. Please consider updating your database.
Im pretty sure ive setted all up correctly but i havent any clue how to fix this.

Thanks for any help.
03/14/2021 11:16 Irelia<3#2
Go on your Packet Manager write "update-database -force" Without "
03/14/2021 12:34 m.one#3
Quote:
Originally Posted by Irelia<3 View Post
Go on your Packet Manager write "update-database -force" Without "
Thank you that solved the problem.
03/14/2021 16:51 InnoTx#4
Quote:
Originally Posted by m.one View Post

Code:
[09:17:35][ERROR][Initialize]: [DATABASE_INITIALIZATION]Database may not be up to date. Please consider updating your database.
there is the error you should read next time the errors :)
03/14/2021 17:16 PenguinXD#5
if you still need help at some points write me your discord :)

If i got time i can help^^