Visual Studio 2010“无法创建窗口"错误

Visual Studio 2010“无法创建窗口

问题描述:

当我启动 Visual Studio 2010 Ultimate 时,我收到错误无法创建窗口".你知道有什么解决办法吗?

When I launch Visual Studio 2010 Ultimate, I get the error "Cannot create window". Do you know of any solutions?

就我而言,它正在安装 IBM Client Access v6.1 服务包 SI37891.当它安装 .NET 4 数据提供程序时,它破坏了 XML 文件.

In my case, it was installing IBM Client Access v6.1 service pack SI37891. When it installed the .NET 4 data provider it broke the XML file.

相关文件可以在这里找到:C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config

The file in question can be found here: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config

安装了一个额外的数据提供者,错误地添加了一个虚假的 XML 结束标记:

An additional data provider was installed and a spurious XML close tag was added incorrectly:

<DbProviderFactories>
<add name="IBM DB2 for i5/OS .NET Provider" ...... /></DbProviderFactories>
<add name="Microsoft SQL Server Compact Data Provider" ....../>
</DbProviderFactories>