2013-05-21 113 views
2

這可能不是我遇到的問題的正確論壇,但是,我已經死在水中,直到我能解決它。Visual Studio 2012數據庫項目 - 構建框架內容失敗

我的VS 2012解決方案有一個數據庫項目:Database.sqlproj。

今天我碰到一個碰撞包問題,導致我重新安裝和修復Sql Server數據工具以消除警告。活動日誌顯示安裝應用程序在註冊表中創建了不正確的名稱。 「註冊表中的十個+名稱具有在」程序文件(86)\ Visual Studio 11.0「和」Common7「之間沒有反斜槓的路徑。在活動日誌中的錯誤顯示的路徑是這樣的:

C:\Program Files (x86)\Microsoft Visual Studio 11.0Common7 

我搜索,並在註冊表中糾正這些錯誤,沒有錯誤打開VS 2012和我的項目,我這樣想着。 我發現我不能'發佈'數據庫項目。展望SQL Server的對象資源管理器和活動日誌我現在看到這一點:

Construction of frame content failed. Frame identifier: 
ST:0:0:{fbcae063-e2c0-4ab1-a516-996ea3dafb72} Frame caption: SQL Server Object 
Explorer Exception details: System.ArgumentException: The parameter is 
incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at 
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 
errorCode, IntPtr errorInfo) at 
System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at 
Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 
id, ProvideToolWindowAttribute tool) at 
Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 
id, Boolean create, ProvideToolWindowAttribute tool) at 
    Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.Create ToolWindow(Guid& 
toolWindowType, UInt32 id) at 
Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent() 

感謝任何幫助,

阿諾德

安裝信息

Windows 7專業版

Microsoft Visual Studio Professional 2012 版本11.0.51106.01更新1 的Microsoft .NET Framework版本 4.5.50709

安裝的版本:專業

團隊資源管理器的Visual Studio 2012 04938-004-0033001-02913 微軟團隊資源管理器的Visual Studio 2012

的Visual Basic 2012 04938-004-0033001-02913 的Microsoft Visual Basic 2012

的Visual C#2012 04938-004-0033001-02913 的Microsoft Visual C#2012

的Visual C++ 2012 04938-004-0033001-02913 微軟的Visual C++ 2012

的Visual Studio 2012的SharePoint開發工具04938-004-0033001-02913 微軟的Visual Studio 2012的SharePoint開發工具

的NuGet包管理器2.2.40116.9051 Visual Studio中的NuGet Package Manager。有關NuGet的更多信息,請訪問http://docs.nuget.org/

SQL Server數據工具11.1.21208.0 Microsoft SQL Server數據工具

Telerik的OpenAccess的ORM 2012.3.1404.1 Telerik的OpenAccess的ORM版權所有©1996-2012 Telerik的AD 的OpenAccess是微軟的最終數據訪問層的解決方案。 NET數據庫應用。 www.telerik。COM/ORM

Web開發工具1.1.31017.0

的Windows Azure工具2012年10月 的Windows Azure工具爲Microsoft Visual Studio 2012年至2012年十月v1.8.51019.1603

回答

1

確定。我卸載了VS 2012,然後重新安裝了最新版本。這照顧到了所有的問題。

相關問題