如何将mvc3应用程序上传到服务器

时间:2011-04-14 06:13:20

标签: asp.net-mvc entity-framework c#-4.0

你能帮我解决一下如何将asp.net mvc3应用程序安装到server.i有本地机器的dove lope mvc3应用程序使用实体框架它在本地机器上工作正常,我上传到服务器并测试它显示像

这样的错误
Unable to load the specified metadata resource.

"Description: An unhandled exception occurred during the execution of the current web request. 
Please review the stack trace for more information about the error and where it originated in the code. 
Exception Details: System.Data.MetadataException: Unable to load the specified metadata resource.
Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

我只上传了发布文件......

为什么它会显示错误,请帮助我......

2 个答案:

答案 0 :(得分:0)

答案 1 :(得分:0)

看起来像实体框架例外。这link可能会有所帮助。您是否在此mvc应用程序中使用Entity Framework?