在MVC2中创建新项目时,指定的Cast无效 [英] Specified Cast is not valid Exception while creating New Project in MVC2

查看:69
本文介绍了在MVC2中创建新项目时,指定的Cast无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨这是Raghu



i我在MVC2中创建新项目时出现指定演员无效异常

什么是我正在使用带有mvc2的visual studio 2008的解决方案,请尽快解决我的问题.....

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.....

推荐答案

你能在这里发布代码吗? br />
当你将一个对象类型转换为另一个对象类型时会发生这种情况,但这次转换中存在不匹配。
Can you post code here.
This would happen when you are converting one object type to another but there are mismatches in this conversion.


Yeahhhh .....得到它

如果这个错误让你烦恼,那么就有一个简单的解决方案。首先关闭当前正在运行的所有Visual Studio实例。打开Windows注册表编辑器(运行 - > regedit)并转到HKEY_CURRENT_USER \Software \ Microsoft /\\VisualStudio \ .9.0 \ Package。在那里你会找到一个名为SkipLoading的Key。检查值,它必须是0x00000001。将其更改为0x00000000并完成。

只需重新启动Visual Studio即可享受......
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...


这篇关于在MVC2中创建新项目时,指定的Cast无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆