get “cannot create the window” error when start visual studio 2010

all of a sudden, visual studio hates my user account. Getting the error “cannot create the window” when I launch vs2010. Works if I run as administrator.  Since last week have not been able to start VS2010 under my user account. So I installed win7 and
vs2010 on a 2nd PC, added it to the domain and now I get this “cannot create the window” error.  After the reinstall, I did copy the visual studio directory from My Documents in the users folder to this new PC. Started VS2010 and got the error. Renamed
the visual studio 2010 folder. Get the same error.

Here is my activity log after running with the /log option:



 
    1
   
    Information
   VisualStudio
    Microsoft Visual Studio 2010 version: 10.0.30319.1
 

 
    2
   
    Information
   VisualStudio
    Running in User Groups: Users
 

 
    3
   
    Information
   VisualStudio
    Available Drive Space: C: drive has 214014312448 bytes
 

 
    4
   
    Information
   VisualStudio
    Internet Explorer Version: 8.0.7600.16700
 

 
    5
   
    Information
   VisualStudio
    .NET Framework Version: 4.0.31106.0
 

 
    6
   
    Information
   VisualStudio
    MSXML Version: 6.30.7600.16385
 

 
    7
   
    Information
   VisualStudio
    Creating PkgDefCacheNonVolatile
 

 
    8
   
    Information
   VisualStudio
    Double-checking master pkgdef file
 

 
    9
   
    Information
   VisualStudio
    PkgDefManagement initialized
 

 
    10
   
    Information
   VisualStudio
    RootFolder
    C:Program FilesMicrosoft Visual Studio 10.0  

 
    11
   
    Information
   VisualStudio
    ShellFolder
    C:Program FilesMicrosoft Visual Studio 10.0  

 
    12
   
    Information
   VisualStudio
    PkgDefSearchPath
    C:Program FilesMicrosoft Visual Studio 10.0\Common7IDEExtensions;C:Program FilesMicrosoft Visual Studio 10.0\Common7IDECommonExtensions;C:Program FilesMicrosoft Visual Studio 10.0\Common7IDEdevenv.admin.pkgdef  

 
    13
   
    Information
   VisualStudio
    ApplicationExtensionsFolder
    C:Program FilesMicrosoft Visual Studio 10.0\Common7IDEExtensions  

 
    14
   
    Information
   VisualStudio
    "ZeroImpact" = dword:0, "MergeRegistry" = dword:1
 

 
    15
   
    Information
   VisualStudio
    Searching for PkgDefs from search path
    C:Program FilesMicrosoft Visual Studio 10.0\Common7IDEExtensions;C:Program FilesMicrosoft Visual Studio 10.0\Common7IDECommonExtensions;C:Program FilesMicrosoft Visual Studio 10.0\Common7IDEdevenv.admin.pkgdef  

 
    16
   
    Information
   VisualStudio
    Missing folder or file during PkgDef scan
   


80030002

    C:Program FilesMicrosoft Visual Studio 10.0\Common7IDEdevenv.admin.pkgdef  
 
    17
   
    Information
   VisualStudio
    Discovered 11 PkgDef files
 

 
    18
   
    Information
   VisualStudio
    Newest node in pkgdef cache
    SoftwareMicrosoftVisualStudio10.0_Config  

 
    19
   
    Information
   VisualStudio
    Current pkgdef cache timestamp is valid
 

 
    20
   
    Information
   VisualStudio
    Checking age of HKEY_LOCAL_MACHINE vs PkgDef cache
    SoftwareMicrosoftVisualStudio10.0  

 
    21
   
    Information
   VisualStudio
    Newest node in merge source
    EntityModelCodeGenerator  

 
    22
   
    Information
   VisualStudio
    PkgDef configuration cache is OK
 

 
    23
   
    Information
   VisualStudio
    PkgDefManagement startup complete
 

 
    24
   
    Information
   VisualStudio
    AppId setting up registry detouring
 

 
    25
   
    Information
   VisualStudio
    Adding detour rule 1: from HKLM
    SoftwareMicrosoftVisualStudio10.0  

 
    26
   
    Information
   VisualStudio
    Detour to HKCU
    SoftwareMicrosoftVisualStudio10.0_Config  

 
    27
   
    Information
   VisualStudio
    Adding detour rule 2: from HKLM
    SoftwareMicrosoftVisualStudio10.0  

 
    28
   
    Information
   VisualStudio
    Detour to HKCU
    SoftwareMicrosoftVisualStudio10.0_Config  

 
    29
   
    Information
   VisualStudio
    AppId starting registry detouring
 

 
    30
   
    Information
   VisualStudio
    Entering function CVsPackageInfo::HrInstantiatePackage
    {5E56B3DB-7964-4588-8D49-D3523AB7BDB9}
 

 
    31
   
    Information
   VisualStudio
    Begin package load [Environment Package Window Management]
    {5E56B3DB-7964-4588-8D49-D3523AB7BDB9}
 

 
    32
   
    Information
   VisualStudio
    End package load [Environment Package Window Management]
    {5E56B3DB-7964-4588-8D49-D3523AB7BDB9}
 

 
    33
   
    Information
   VisualStudio
    Entering function CVsPackageInfo::HrInstantiatePackage
    {F384B236-B4A9-401B-BC58-3106E3ACA3EC}
 

 
    34
   
    Information
   VisualStudio
    Begin package load [Shell Common UI Package]
    {F384B236-B4A9-401B-BC58-3106E3ACA3EC}
 

 
    35
   
    Information
   VisualStudio
    End package load [Shell Common UI Package]
    {F384B236-B4A9-401B-BC58-3106E3ACA3EC}
 

 
    36
   
    Information
   VisualStudio
    Entering function VBDispatch::GetTypeLib
 

 
    37
   
    Information
   VisualStudio
    Entering function LoadDTETypeLib
 

 
    38
   
    Information
   VisualStudio
    Leaving function LoadDTETypeLib
 

 
    39
   
    Information
   VisualStudio
    Leaving function VBDispatch::GetTypeLib
    {80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}
 

 
    40
   
    Information
   VisualStudio
    Entering function VBDispatch::GetTypeLib
 

 
    41
   
    Information
   VisualStudio
    Leaving function VBDispatch::GetTypeLib
    {18BEB7F2-CA98-11D1-B6E7-00A0C90F2744}
 

 
    42
   
    Information
   VisualStudio
    Entering function VBDispatch::GetTypeLib
 

 
    43
   
    Information
   VisualStudio
    Leaving function VBDispatch::GetTypeLib
    {80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}
 

 
    44
   
    Information
   VisualStudio
    Entering function VBDispatch::GetTypeLib
 

 
    45
   
    Information
   VisualStudio
    Leaving function VBDispatch::GetTypeLib
    {80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}
 

 
    46
   
    Information
   VisualStudio
    AppId stopped registry detouring
 

 
    47
   
    Information
   VisualStudio
    Shutting down pkgdef registry
 

 
    48
   
    Information
   VisualStudio
    Released pkgdef cache usage tracker
 

 
    49
   
    Information
   VisualStudio
    PkgDef registry shutdown complete
 

 

 

 

get the same error when I create another user account, login and start vs2010.