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

推荐订阅源

T
Tailwind CSS Blog
P
Proofpoint News Feed
V
Visual Studio Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
Vercel News
Vercel News
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
博客园 - 聂微东
D
DataBreaches.Net
酷 壳 – CoolShell
酷 壳 – CoolShell
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
美团技术团队
H
Help Net Security
aimingoo的专栏
aimingoo的专栏
C
Check Point Blog
U
Unit 42
博客园 - 叶小钗
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
MongoDB | Blog
MongoDB | Blog

博客园 - 叶落无痕

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的版本吧。