Search code examples
asp.netentity-framework.net-3.5iis-7dynamic-data

dynamic data website using ado.net entity framework and mysql giving an error just on the server


I have an asp.net dynamic data website .net 3.5 built on ado.net entity framework with mysql database.

Currently I have just one table in my entity model.

Everything is working fine on my local machine but when i uploaded on my server i got this error message: "More than one item in the metadata collection match the identity 'mtDBModelStoreContainer'"

How can i solve this problem?

Note that this error happen when i open the table "WebsiteAdmin/users/List.aspx"


Solution

  • Couple of things to check:

    • Are there any dll's on your machine that did not get deployed.
    • Are there any duplicate lines in your configuration file (app/web.config)