views:

241

answers:

2

When I first launched the Visual Studio (I just installed it) I choose the default programming layout (Visual C#/Visual Basic.NET/ F#/etc) as Web Development. It gave some error that it couldn't find the layout scheme or something and now it says Cannot Open Window.

Is there some way to reset the selected layout option?

+1  A: 

I've had a similar problem with Visual Studio 2010 Express - restarting the computer solved it.

Kobi
Do you mean rebooting?
SLaks
Yes. is reset out?
Kobi
A: 

I has the same error when I installs MySql Net Connector mysql-connector-net-6.3.4.msi I think that this installer corrupt my VS 2010. But NOT.

Previous, I uninstall MySql Connector 6.3.2 and edit machine.config... this was the error!

<system.data>
        <DbProviderFactories>
            <!-- !!! añadido a mano para poderlo usar en VS2010
            <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net
                Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory,
                MySql.Data, Version=6.2.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/> -->
            <add name="Microsoft SQL Server Compact Data Provider" invariant="System.Data.SqlServerCe.3.5" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/></DbProviderFactories>
    </system.data>

The logic comments not is OK. Then, I erase all commented code and VS2010 come to the live, again!

Jorge Valencia