2017年3月10日 星期五

[研究] [Bug?] 從 Visual Studio 2017 IDE 連線資料庫成功,但 "資料表" 無法顯示 (1)

[研究] [Bug?] 從 Visual Studio 2017 IDE 連線資料庫成功,但 "資料表" 無法顯示 (1)

2017-03-10

原本用 Visual Studio 2015 with Update 3 是正常的,升級 Visual Studio 2017 後出問題。





(下圖) 可以看到 "檢視表" 或其他內容,但是無法看到 "資料表"  (以前可以)

無法擷取此要求的資料。
無法連接到伺服器(local)。
使用者  的登入失敗。

Failed to retrieve data for this request.
Failed to connect to server (local).
使用者 'sa' 的登入失敗。

(下圖) 檢查安裝畫面,確認有勾選 "資料儲存和處理",SQL Server Data Tools 也有勾選。


********************************************************************************

(下圖) 改用 "Windows 驗證" ,就可以看到



********************************************************************************
測試幾台都如此

  • Windows Server 2016 + SQL Server 2016 + Visual Studio 2015 with Update 3,安裝 Visual Studio 2017 (兩套 Visual Studio 共存)
  • Windows Server 2016 + SQL Server 2016 + Visual Studio 2015 with Update 3,先安裝 Visual Studio 2017,後移除 Visual Studio 2015 with Update 3
  • Windows 7 x64 + SQL Server 2014 + Visual Studio 2015 with Update 3,先移除 Visual Studio 2015 with Update 3,後移除 Visual Studio 2015 with Update 3

Bug ???

(待研究)

相關

[研究] [Bug?] 從 Visual Studio 2017 IDE 連線資料庫成功,但 "資料表" 無法顯示 (5) 解決方法
http://shaurong.blogspot.com/2018/02/bug-visual-studio-2017-ide-5-2017-04-27.html

[研究] [Bug?] 從 Visual Studio 2017 IDE 連線資料庫成功,但 "資料表" 無法顯示 (4) 暫時的解決方法
http://shaurong.blogspot.com/2017/04/bug-visual-studio-2017-ide-4.html
[研究] [Bug ?] Success from Visual Studio 2017 IDE connecting SQL Server, but "Tables" can not be displayed (4) Temporary solution
http://shaurong.blogspot.com/2017/04/bug-visual-studio-2017-ide-4.html

[研究] [Bug ?] Success from Visual Studio 2017 IDE connecting SQL Server, but "Tables" can not be displayed (3) happend again
http://shaurong.blogspot.com/2017/03/bug-success-from-visual-studio-2017-ide_13.html

[研究] [Bug ?] Success from Visual Studio 2017 IDE connecting SQL Server, but "Tables" can not be displayed (2) 4th Test
http://shaurong.blogspot.com/2017/03/bug-visual-studio-2017-ide-connect-sql.html

[研究] [Bug ?] Success from Visual Studio 2017 IDE connecting SQL Server, but "Tables" can not be displayed (1)
http://shaurong.blogspot.com/2017/03/bug-success-from-visual-studio-2017-ide.html

[研究] [Bug?] 從 Visual Studio 2017 IDE 連線資料庫成功,但 "資料表" 無法顯示 (1)


5 則留言:

  1. 您好,請問這個問題有解決了嗎?我在Visual Studio 2017 Community(15.4.3)連線至SQL Server 2014(12.0.5207)也遇到這個問題。之前是可以正常連線的,好像是某次VS更新後才變成這樣。如果有勾選記住密碼,當次是可以連線,但重開VS後還是會遇到此問題。

    回覆刪除
    回覆
    1. 最近少用 Visual Studio 2017 和 SQL Server,印象是沒解決,需要更多人向微軟反映。( 甚至印象中看過哪一篇,微軟認為不算 Bug,但沒解釋原因。

      刪除
  2. 謝謝你的分享,問題已解決

    回覆刪除
    回覆
    1. 請教你是如何解決的?謝謝!

      刪除
    2. 請看上面文末的「相關」部分的

      刪除