我試圖教自己.Net MVC 3,並按照本教程:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/intro-to-aspnet-mvc-3,並已達到您爲之前創建的模型創建控制器的步驟(http ://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/accessing-your-model's-data-from-a-controller)。「提供程序沒有返回ProviderManifestToken字符串」
當我嘗試創建控制器時,我得到「提供程序沒有返回ProviderManifestToken字符串」錯誤。有點谷歌搜索導致我相信這是由於我的連接字符串錯誤。
事情是我沒有在本地運行SQL Server,所以我不能複製示例connectionString。這就是我現在得到:
connectionString="Data Source=1.2.3.4\MSSQLSERVER;Initial Catalog=myDBname;Integrated Security=False;User ID=myUsername;Password=myPassword"
我使用SSMS登錄到使用用戶名和密碼數據庫嘗試,和它的作品,所以這個問題是不與用戶本身。
任何想法?
這是什麼廢話 – user1006544 2013-03-21 13:29:45