0

我剛剛在VS 2012上安裝了新的Windows 7計算機。我的舊盒子是VS 2010中的Windows XP。我複製了我的項目,並且VS2012升級了項目並在運行ASP.NET MVC 3應用程序時出現以下錯誤:從舊PC和從VS2010遷移到VS2012的項目「等待操作超時。」

[Win32Exception (0x80004005): The wait operation timed out]

[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.)]

[ProviderIncompatibleException: The provider did not return a ProviderManifestToken string.]

[ProviderIncompatibleException: An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct.]

這是消息的順序。我通過EntityFramework連接(代碼優先)。連接字符串在VS2010中工作得很好:

Data Source=xxx.xxx.xxx.xxx; User ID=xxxxxx; Password=xxxxxxxxx; Initial Catalog=xxxxxxxxx; MultipleActiveResultSets=true 

我一直在尋找幾小時沒有真正的解決方案。我唯一沒有嘗試過的就是刪除VS 2012和.NET 4.5。那將是一個問題,因爲我無法編碼。我曾嘗試刪除.NET 4.5,但隨後VS2012無法啓動。我已經安裝了.NET 4.0。

我已經安裝了(僅基於我在搜索中已經看到上市的軟件):

  • VS 2012
  • 的Windows 7
  • SSMS 2010(該VS 2012後最初安裝)

我也在VS2012上做過修理。我沒有卸載並重新安裝它。

有什麼想法?我在這裏瘋了。現在我有一臺四核電腦,可以遠程桌面真正快速到我的老笨蛋。

注意:我的防火牆已關閉。我有Symantec Endpoint Protection,它連接到一個實時SQL服務器,所以我知道它正在運行。

回答

相關問題