public void Upload(string information){ int Bank = 0; for (int i = 0; i <Request.Files.Count; i++) { var httpfile = Request.Files[i]; string getFileName= httpfile.FileName; string getfile= getFileName.Substring(getFileName.LastIndexOf("."));…
博客地址 http://blog.csdn.net/foxdave 近期了解MVC4的时候弄了一个简单的小工程,使用Entity Framework作为Model,F5启动调试运行的时候没有问题,但是发布到IIS之后访问就报错 错误信息如下: The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' registered in t…