我用asp.net框架开发了一个entity网站。
本地PC的设置:
- Windows 8
- Visual Studio 2012 Update 3
- Install Mysql connector (library version 6.7.4)
- connect to database server MySQL using EntityFramework
和我还有另一个Windows2008Web版本服务器,其设置如下:
- .Net framework 4.5
- MySQL connector
- MySQL Server 5.6
问题是,在我完成
我在发布MVC项目时遇到了问题。当我将所有内容发布并上传到web服务器时,我会得到以下内容:
[InvalidOperationException: The view 'Index' or its master could not be found. The following locations were searched:
~/Views/Home/Index.aspx
~/Views/Home/Index.ascx
~/Views/Shared/Index.aspx
~/Views/Shared/Index.ascx]
奇怪的是,Index.aspx存在于~/Views/