Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my visual studio not working....
when a open new project it gives me New Project /item dialog could not be initialize due to error

<pre>Exception Of type 
'Microsoft.VisualStudio.dailogs.DailogInitializationException' was thrown


What I have tried:

my visual studio not working....
when a open new project it gives me New Project /item dialog could not be initialize due to error

Exception Of type 
'Microsoft.VisualStudio.dailogs.DailogInitializationException' was thrown
Posted
Updated 9-Nov-17 3:05am
v2
Comments
Graeme_Grant 9-Nov-17 6:04am    
Sounds like you need to repair or re-install Visual Studio...

You could try going to the folder that devenv.exe is in, open a command window, and run devenv /safemode. This disable all extensions. If it works, then one or more extensions are crashing your installed Visual studio.
Pankaj hyderabad 9-Nov-17 6:13am    
i re-installed but still it's not working....
Karthik_Mahalingam 9-Nov-17 13:19pm    
use  Reply   button to post comments/query to the concerned user, so that the user gets notified and respond to your text.
Pankaj hyderabad 9-Nov-17 6:18am    
now what should i do.?
Graeme_Grant 9-Nov-17 6:36am    
Did you try above "/safemode"? What happened?

Search for "Microsoft.VisualStudio.Dialogs.DialogInitializationException":
not able to open new project in visual studio 2015 - Stack Overflow[^]
visual studio cannot open new project - Stack Overflow[^]

According to the above results executing this on a command prompt should fix it:
devenv.exe /resetuserdata
 
Share this answer
 
Comments
Pankaj hyderabad 9-Nov-17 8:13am    
not woking
Jochen Arndt 9-Nov-17 8:23am    
The links contain also other tips / solutions and there are more search results which contain even more.

You can not expect more help here because your system has problems which can't be reproduced by anyone. The only solution is searching the net for other's that had similar problems and trying what helped them.

As a final solution all you can do is uninstalling all VS versions completely and install again.
I run into something similar whenever I switch my laptop from docked to undocked or back.

Close Visual Studio. Use Task Manager to kill it if you can't close it normally.

Clear the Visual Studio Component Cache by going into %LOCALAPPDATA%\Microsoft\VisualStudio\version\ComponentModelCache and delete everything in there.

Relaunch Visual Studio and try again.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900