惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
Y
Y Combinator Blog
Google DeepMind News
Google DeepMind News
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
V
Visual Studio Blog
Microsoft Azure Blog
Microsoft Azure Blog
MyScale Blog
MyScale Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
罗磊的独立博客
N
Netflix TechBlog - Medium
M
MIT News - Artificial intelligence
G
Google Developers Blog
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
小众软件
小众软件
Engineering at Meta
Engineering at Meta
D
DataBreaches.Net
S
SegmentFault 最新的问题
H
Help Net Security
量子位

博客园 - 叶落无痕

A generic error occurred in gdi+ error的解决方法 Debian 安装完后控制台中文乱码解决 ubuntu 7.10里装apxs2(Firebird相关) ncurses安装的问题 return code 与 exception的比较 (From C++ FAQ) What is a framework (From C++ FAQ) 可以自定义URL的前缀类型:Asynchronous Pluggable Protocols [zz]Word 2007文档中图片不显示或对象不显示的解决方法 POI_Java里访问Excel,Word等格式的文件 winsock的accept变成不阻塞的可能原因之一 Cstring与BSTR cdecl, stdcall, pascal,fastcall 都有什么区别,具体是什么调用约定? HRESULT相关 directShow调用的COM前要CoInitialize 第一个directShow程序碰到的问题 用directShow要在VS.NET2003设置的目录 CFile的Read出错? 写程序碰到困难一定要调试 55种javascript技巧
Parser Error Message: Could not load type '_Default'.
叶落无痕 · 2007-08-13 · via 博客园 - 叶落无痕

from http://cuimingda.cnblogs.com/

异常信息:Unrecognized configuration section 'connectionStrings'

这个异常信息出现在我用虚拟目录访问一个ASP.NET网站时,把Web.Config删除掉,可能还会提示下面这个信息:

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type '_Default'.

解决以后,其实问题的原因很简单,可是当时确实想了半天。原因是虚拟目录的ASP.NET版本设置成了1.1,修改为2.0即可。虽然1.1和2.0的扩展名是一样的,但是里面内容有很多都不同,以后整理一下。

问题出现在不同的操作系统下,提示的内容可能会不同,我的操作系统是Windows XP Professional SP2。

总之如果网页无法打开,先到Internet信息服务中检查一下ASP.NET的版本吧。