Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 "Cannot create window" error

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

like image 653
Max Avatar asked Apr 20 '10 05:04

Max


2 Answers

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.

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

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>
like image 145
alock Avatar answered Oct 12 '22 12:10

alock


if you install and remove netframework 4.5 maybe it happens, reinstall the netframework 4.5

like image 32
zamoldar Avatar answered Oct 12 '22 12:10

zamoldar