Click here to Skip to main content
15,909,039 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi This is Raghu

i am getting this "Specified Cast is not valid" Exception while creating New Project in MVC2
what is the solution for this i am using visual studio 2008 with mvc2,Please solve my problem as soon as possible.....
Posted
Updated 26-Feb-14 19:38pm
v2
Comments
Ramug10 27-Feb-14 1:06am    
Show me project name you entered..
Member 10629036 27-Feb-14 1:35am    
This is my Project Name "MvcApplication1"

Can you post code here.
This would happen when you are converting one object type to another but there are mismatches in this conversion.
 
Share this answer
 
Comments
Member 10629036 27-Feb-14 1:52am    
How can i send the code with out create project my problem is at the time of creating new project i got this error message "Specified Cast is not valid"
Yeahhhh..... got it
If this error is buzzing you then there is an easy solution for this. First Close all Visual Studio instances that are presently running. Open Windows registry editor (run -> regedit) and go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages. There you will find a Key called SkipLoading. Check the value, it must be 0x00000001. Change it to 0x00000000 and you are done.
Just restart the Visual Studio and enjoy...
 
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