这可能不是我遇到的问题的正确论坛,但是,在我解决之前,我已经死在水中。
我的VS 2012解决方案有一个数据库项目:Database.sqlproj。
今天我遇到了一个碰撞包问题导致我重新安装和修复Sql Server数据工具以消除警告。活动日志显示安装应用程序在注册表中创建了错误的名称。注册表中的十个+名称具有在“Program Files(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的Microsoft Team Explorer
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 Microsoft Visual C ++ 2012
Visual Studio 2012 SharePoint开发人员工具04938-004-0033001-02913 Microsoft Visual Studio 2012 SharePoint开发人员工具
NuGet Package Manager 2.2.40116.9051 Visual Studio中的NuGet包管理器。有关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是Microsoft .NET数据库应用程序的终极数据访问层解决方案。 www.telerik.com/orm
Web Developer Tools 1.1.31017.0
Windows Azure Tools 2012年10月 适用于Microsoft Visual Studio 2012的Windows Azure工具 - 2012年10月v1.8.51019.1603
答案 0 :(得分:1)
行。我卸载了VS 2012,然后重新安装了最新版本。这解决了所有问题。