ASP.NET报错:未能加载类型“_Default”
来源:互联网 发布:js replace 正则替换 编辑:程序博客网 时间:2024/05/18 04:35
参考:http://space.itpub.net/221062/viewspace-481592
一般由于版本问题
原因01:默认_Default,将"_"去掉了。
原因02:先装了VS2005,后装IIS,你在IIS上运行了项目。
方式01:文件系统打开WEB项目。
方式02:C:WINDOWSMicrosoft.NETFrameworkv2.0.50727aspnet_regiis.exe -i"
//注册IIS,防止版本或路径不正确。
方式03:"开始"->"程序"->"Microsoft Visual Studio 2005"->"Visual Studio tools"->
"Visual Studio 2005 命令提示
运行"aspnet_regiis.exe -i"
方式04:开始->设置->控制面板->管理工具->IIS->Web服务扩展
管理工具配置IIS中,ASP.net版本如果是1.1,你改一下2.0
小结:
方式02,没有测试。
问题依然存在。?? //
以后遇到类似问题,版本向下兼容。
原因:解决方案发生改变,通过复制方式。
新建解决方案,新建文件。
状态:知道原因,就知道如何解决了。已经解决。
新的工程->Web 应用程序 早期版本 20%,花卉使用的就是早期版本。
新的网站 如今版本 80%
遇到类似问题,技巧角度,补丁。技术角度|重新建立工程,非常麻烦。
- ASP.NET报错:未能加载类型“_Default”
- 未能加载类型“WebApplication1._Default”
- 未能加载类型_Default的解决方法
- asp.net未能加载类型Global
- asp.net未能加载程序集问题
- Asp.net Mvc 未能加载类型“System.Web.Mvc.ViewPage<IEnumerable...的解決方法
- Asp.net Mvc 未能加载类型“System.Web.Mvc.ViewPage 的解決方法
- Asp.net Mvc 未能加载类型“System.Web.Mvc.ViewPage 的解決方法
- Asp.net Mvc 未能加载类型“System.Web.Mvc.ViewPage 的解決方法
- ASP.NET MVC修改命名空间后报错,未能加载类型'WebApplication1.MvcApplication“
- [常见问题解答-ASP.NET]分析器错误信息: 未能加载类型“Application1.XXX”
- ASP.NET分析器错误消息: 未能加载类型的问题“ComradeSoft.Base.Admin.Login”?
- 未能加载类型 “.global”
- vs2010 未能加载类型
- 未能加载类型
- vs21 未能加载类型
- ASP.NET Ajax 客户端框架未能加载。 'Sys'未定义
- 彻底解决IE6下Asp.net Ajax客户端框架未能加载
- 关于你,关于我
- Question 13: Which of the following declarations of function main are standard or standard conforming extensions? (Please note t
- ASP.NET报错:当使用VS2005打开已有项目时常会出现“此安装不支持该项目类型”。
- ServletConfig与ServletContext的关系及使用
- 嵌入式程序员必须知道的16个问题(C语言方面)
- ASP.NET报错:未能加载类型“_Default”
- (NOT CLEAR) Question 14: What is the correct declaration for a file stream insertion operator for a class my_stuff::my_class a
- 在SQLite中使用索引优化查询速度
- 多线程服务器的适用场合
- Access数据库打包发布
- CURL 模拟登录
- Linux十五年病毒简史
- Mysql select默认不区分大小写
- Question 15: Which of the following statements describe the results of executing the code snippet below in C++?