f**king the two bugs from Visual studio!

1, visual studio能正常鏈接數據庫,使用BindingSource控件,設置DataSource屬性,添加項目數據源時,出現了問題。

 

“在數據源配置嚮導”對話框的倒數第二步,出現了一個異常,原文如下“從數據庫檢索信息時發生錯誤:

 

‘Microsoft.VisualStudio.DataDesign.SyncDesigner.SyncFacade.SyncTableConfigManager’ 的類型初始值設定項引發異常。”

 

google了一下,發現microsoft提供的解決方法:

 

“This is probably caused by a failure installation of OCS in the SP1. So try remove and re-install the following two

 

   items:

1) Microsoft SQL Server Compact 3.5 Service Pack 1
2) Synchronization Services for ADO.NET version 1.0 Service Pack 1 for Windows Desktop

http://www.microsoft.com/downloads/details.aspx?familyid=DC614AEE-7E1C-4881-9C32-3A6CE53384D9&displaylang=en

 

 

  更f**king的是,我的狀況還與上面的不同,發現可能是visual studio 2010 beta版本惹的禍!再次f**king。浪費我兩個鐘頭。

 

 

2,在visual studio 2008編譯MFC程序時,會間歇性抽風,解決方案就是 項目屬性,把增量編譯那一項disable掉!

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章