cancel
Showing results for 
Search instead for 
Did you mean: 
New

Hosting issue

After uploading published code to godaddy, i getting this error  "model backing the 'DataContext' context has changed since the database was created. " . Can anybody guide to revolve this?

1 REPLY 1
Helper II

Re: Hosting issue

Since you give no context, people can only guess how to answer.

 

This suggest that you have a mismatch between the database schema when the database was created + now.

 

In other words, your schema (model backing the DataContext) has changed since you created whatever code you're using.

 

This sounds like some sort of data driven templating system, so keep in mind...

 

Each time you change your database schema, you must also update all the code which uses this model (schema).

 

BTW, if you post your entire context (all software you're using), likely someone can answer better than my random guess.