2013-07-26 31 views
1

我正在運行Visual Studio 2010,並嘗試使用更新嚮導更新我的實體框架項目。當我嘗試從MySql數據庫添加單個表時,添加選項卡將顯示我正在嘗試添加的表,但是當我單擊完成時,出現以下錯誤消息。Visual Studio更新嚮導MySql

Unable to generate the model because of the following exception: 'An error occurred while executing the command definition. See the inner exception for details. 
    Fatal error encountered during command execution. 
     Fatal error encountered attempting to read the resultset. 
      Reading from the stream has failed. 
       Attempted to read past the end of the stream. 

如果試圖從頭開始創建實體框架,我會得到相同的錯誤消息。另外,服務器資源管理器在我測試時顯示連接成功。

我還聯繫了託管數據庫的Host Gator,他們無法在其中看到任何問題。

回答

0

問題最終導致我們的共享服務器無法處理來自實體連接器框架的更新請求並且超時。一旦我們將數據庫移到另一臺服務器上,我們就不再有問題了。