After publishing asp.net mvc project to product server, getting:
MetadataException: Unable to load the specified metadata resource
This means that the application is unable to load the EDMX.
There are several things which can cause this, but most likely, due to invalid connection string. Please make sure you have updated connection string with proper value after publishing to product server.