【问题标题】:Visual Studio 2012 Database Project - Construction of frame content failedVisual Studio 2012 数据库项目 - 构建框架内容失败
【发布时间】:2013-05-21 22:11:25
【问题描述】:

这可能不是解决我遇到的问题的正确论坛,但是,在我解决它之前,我已经死在水里了。

我的 VS 2012 解决方案有一个数据库项目:Database.sqlproj。

今天我遇到了一个碰撞包问题,导致我重新安装和修复 Sql Server Data Tools 以消除警告。活动日志显示安装应用程序在注册表中创建了错误的名称。注册表中十多个名称的路径在“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 专业版 2012 版本 11.0.51106.01 更新 1 微软 .NET 框架 版本 4.5.50709

安装版本:专业版

适用于 Visual Studio 2012 的团队资源管理器 04938-004-0033001-02913 适用于 Visual Studio 2012 的 Microsoft Team Explorer

Visual Basic 2012 04938-004-0033001-02913 微软 Visual Basic 2012

Visual C# 2012 04938-004-0033001-02913 微软 Visual C# 2012

Visual C++ 2012 04938-004-0033001-02913 微软 Visual C++ 2012

Visual Studio 2012 SharePoint 开发工具 04938-004-0033001-02913 Microsoft Visual Studio 2012 SharePoint 开发人员工具

NuGet 包管理器 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 开发者工具 1.1.31017.0

Windows Azure 工具 2012 年 10 月 适用于 Microsoft Visual Studio 2012 的 Windows Azure 工具 - 2012 年 10 月 v1.8.51019.1603

【问题讨论】:

    标签: visual-studio-2012 database-project


    【解决方案1】:

    好的。我卸载了 VS 2012,然后重新安装了最新版本。这解决了所有问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-08-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-19
      • 2019-03-07
      • 2014-11-04
      相关资源
      最近更新 更多