Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 19:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



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

Discussion on OpenNos Database Error (Database may not be up to date) within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2021
Posts: 3
Received Thanks: 1
OpenNos Database Error (Database may not be up to date)

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)

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.
m.one is offline  
Old 03/14/2021, 11:16   #2
 
Irelia<3's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 243
Received Thanks: 59
Go on your Packet Manager write "update-database -force" Without "
Irelia<3 is offline  
Thanks
1 User
Old 03/14/2021, 12:34   #3
 
elite*gold: 0
Join Date: Mar 2021
Posts: 3
Received Thanks: 1
Quote:
Originally Posted by Irelia<3 View Post
Go on your Packet Manager write "update-database -force" Without "
Thank you that solved the problem.
m.one is offline  
Thanks
1 User
Old 03/14/2021, 16:51   #4
 
InnoTx's Avatar
 
elite*gold: 100
Join Date: Dec 2016
Posts: 342
Received Thanks: 82
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
InnoTx is offline  
Old 03/14/2021, 17:16   #5
 
PenguinXD's Avatar
 
elite*gold: 0
Join Date: Oct 2018
Posts: 300
Received Thanks: 218
if you still need help at some points write me your discord

If i got time i can help^^
PenguinXD is offline  
Reply

Tags
database error, opennos


Similar Threads Similar Threads
[OpenNos] Database connection error
01/31/2019 - Nostale - 3 Replies
Well I kinda forgot the discord server name from lucifer's discord.... My Problem is : https://gyazo.com/1e436b4b623907a1b5d9aa7e6927957 4 Pretty much saying "System couldnt find the following file" also "can't connect to localhost" either I forgot to install something or I fucked up at the tutorial from opennos :/
[OpenNos] ¿How to select the project OpenNos.DAL.EF?
05/04/2018 - Nostale - 4 Replies
Hello, I have a problem with my visual studio 2017, it turns out that to be able to give the update-database command I must have the project OpenNos.DAL.EF But the thing is that in my visual studio there is no option to select the project ... I need help!:D:D
Error update-database Visual Studio [OpenNos]
09/01/2017 - Nostale - 2 Replies
Hello, I have a question. How do I update the database in visual studio, when I write in NuGet, update-database -Verbose tells me something about Migrations, I have written add-migrations and in the Text of migration I have written enable-migrations and nothing ... I do not know if someone would explain to me how to update the database. :confused::confused::confused::confused:
[opennos]The project 'OpenNos.Login' failed to build.
08/03/2017 - Nostale - 9 Replies
Hello I have a problem with the package manager console to run the update- database command to opennos soon as I executes the command, he said: The project ' opennos.login ' failed to build What to do? I made the updates to Microsoft Visual Studio thank you ..
kung cnu man may acc na may gold ak na may engraving trade ko!!!!!!!!!!read plss
12/27/2009 - Trading - 11 Replies
kung cnu man may acc na may gold ak at engraving psg1 pwede ba itrade ko sa major ko yellow na may 7 baril at may 210 ecoin pa tpus may 100k sp nid ko plsss!!!!!!!!!! just add me josephlouisfaurill06o sa ym kung interesado kayu,.,.,.,.no SCAM



All times are GMT +1. The time now is 19:33.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.