mvc db context error

I was following the MVC Movie example, and decided at one point not to follow the directions strictly. (http://www.asp.net/mvc/tutorials/getting-started-with-mvc3-part7-cs)

I got the error: “The model backing the ‘MovieDBContext’ context has changed since the database was created. “

There is a fix described at http://stackoverflow.com/questions/3552000/entity-framework-code-only-error-the-model-backing-the-context-has-changed-sinc

But, I just deleted the table from movies.sdf that had the index definitions in it, and things started working again.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.