关于csdn博客的一个小问题

AI权益加码!Claude Code、Cursor等20+工具免费用! 购周边限时加赠Coding Plan Lite,畅享主流AI工具!学习进阶更高效! 阅读详情

csdn blog功能最近更新的比较多,自然相应的也暴露出一些问题。在一次访问的时候,我得到了下面的抱错信息。感觉有几个地方应该做一些小小的处理,贴在这里,瑞江不要骂我啊

1 应该捕获connection timeout异常
2 所有系统异常应该跳转到特定的页面,以便隐藏系统信息
  上面直接暴露了源程序的位置,操作系统, .net版本信息
3 不知道是否由于sql server是正版,连接数量有限制,我觉得应该自己实现连接池,最好不要有上限,但是有一个自动回收机制,当多余的连接空闲的时候,自动将超过上限的连接关闭。
4 很多时候连接池是不会饱和的,出现这种现象可能是由于某些访问产生了死锁,需要对sqlserver进行进一步的排查

 

Server Error in '/' Application.
--------------------------------------------------------------------------------

Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in

use and max pool size was reached.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the

error and where it originated in the code.

Exception Details: System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may

have occurred because all pooled connections were in use and max pool size was reached.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be

identified using the exception stack trace below. 

Stack Trace:


[InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all

pooled connections were in use and max pool size was reached.]
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +1184505
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.SqlClient.SqlConnection.Open() +111
   Dottext.Framework.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in

D:/CSDN Web Site/Csdn Blog/Src/Library/Data Providers/Dottext.SqlDataProvider/SQLHelper.cs:871
   Dottext.Framework.Data.SqlDataProvider.GetPreferences(Int32 blogId) in D:/CSDN Web Site/Csdn Blog/Src/Library/Data

Providers/Dottext.SqlDataProvider/SqlDataProvider.cs:3939
   Dottext.Framework.Components.Preferences.Get(Int32 blogId) +91
   Dottext.Admin.Pages.AdminPage.get_Preferences() in D:/CSDN Web Site/Csdn Blog/Src/Library/Dottext.Admin/WebUI/AdminPage.cs:167
   Dottext.Admin.Pages.Feedback.Page_Load(Object sender, EventArgs e) in D:/CSDN Web Site/Csdn Blog/Src/Web/writeblog_app.csdn.net/Feedback.aspx.cs:31
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   Dottext.Admin.Pages.AdminPage.OnLoad(EventArgs e) in D:/CSDN Web Site/Csdn Blog/Src/Library/Dottext.Admin/WebUI/AdminPage.cs:74
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210  



Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1656030


mysql max pool_asp.net连接mysql得到错误all pooled connections were in use and max pool size was reach... asp.net连接mysql数据库时,得到以下错误信息MySql.Data.MySqlClient.MySqlException (0×80004005): error connecting: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may hav... 阅读详情

相关推荐

mysql 连接池 频率,MySQL连接池数

I have started to receive an error with my VB.NET application:Timeout Expired. The timeout elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections ...

weixin_32584807的博客 349

【数据库-MySql】 MySqlConnection error connecting: Timeout expired. (1)

error connecting: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was r

少莫千华 7037

SQL Server, Timeout expired.all pooled connections were in use and max pool size was reached

错误信息: Server Error in '/xxxxx' Application. Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were...

weixin_34419326的博客 936

CSDN 博客版块问题解决日志

摘要:本篇博客主要记录用户反馈有关CSDN 博客版块的bug及解决日志。

产品周报 1419

CSDN博客版权不明问题而无法发表博客

审核不通过的问题解决

chenxing631的博客 758

如何处理CSDN博客主页404问题

当碰到CSDN博客主页404问题时,尝试写一篇博客,刷新后观察,问题解决。

weixin_39587835的博客 2448

csdn博客是不是有问题

csdn博客是不是有问题 

ccnu425的专栏 956

CSDN博客存在的一些问题

第一次使用CSDN博客,有几个地方一直处理不好,是CSDN的bug吗?谁知道正确的方法,来解答一下。先谢过了。         问题1、段落的首行缩进         段落的首行缩进不知道在哪能设置。用Tab和空格自己来设置,也不行,不是总能成功。         问题2、文章显示不完全         我的第三篇文章,怎么都显示不完整。在编辑的时候是可以看到完整的文章的。

ustb_md的专栏 387

JavaEye中导入Csdn博客问题

导入Csdn博客出现如下状况(Csdn博客中有文章):     希望知道原因的朋友给予帮助。

anlisten滴博客 199

解决CSDN因版权不明而无法发布博客问题

解决CSDN因版权不明而无法发布博客问题

qq_51447436的博客 1万+

CSDN博客发布问题

CSDN的可视化博客发布实在是太糟糕了,最近发布了几篇文章都不能正常显示回车换行,害的我每次还都要手动添加回车标记,希望CSDN可以赶快修正这个缺陷。

重剑无锋,大巧不工。。。 1153

CSDN博客的换行问题终于解决了

 前一阵子CSDN博客总是把发表的文章中的所有换行都去掉,让文章缩成一疙瘩。连续几天都没解决。今天来看,终于解决了。可喜可贺。刚刚看到下面有一行字,编辑器原来用的是什么OpenSoft。

lq1600k的专栏 1670

CSDN无法写博客问题

今天复习完所学习的知识以后,想打开csdn总结一下近期所学习的知识,发现打不开写博客的界面,总是跳转进入:您的博客已开通,地址是叉叉叉,退出后再次登录还是不行 这个时候更换浏览器就好了

行则将至 960

发现CSDN博客的一问题!

发现CSDN博客一登录验证码问题,欢迎大家前台验证!我用我的域名绑定我的CSDN博客地址,点击发布博客时登录,无论怎么输入验证码都是错误的!如果用原来的博客URL地址就不会出现上述问题,难道CSDN博客的验证码还和URL有关吗?

Assionsoft(杨春来)的专栏 590

CSDN博客界面显示问题

 刚刚开始用CSDN博客,发现在firefox下左边栏左边会被截掉若干像素,于是在自定义CSS里面加了一个#csdnblog_sidebar {  min-width: 200px;}至少在自己浏览器上解决问题了,不知道其他人那里怎么样……显示有问题的童鞋请给我留言,谢谢!另外发现博客在IE下面奇丑无比……回头再慢慢调整了。

冥王星人 - Snow_Young 637

CSDN博客访问量问题

亲测,发现CSDN博客访问量算法有问题。 随意打开自己任意一片博客,刷新,都算一次访问了,但短时间内持续刷新没有算访问量。 过几分钟,重新刷新,又算一次访问量,访问量又 +1。 话说CSDN,这个访问量的算法是否应该优化一下呢?否则排名,积分还有什么意义可言?...

积跬步,成千里。 2788
上一篇: 纯基于PHP的单点登陆
下一篇: web应用中使用缓存提升性能的8种武器
softstars
博客等级 码龄19年 90粉丝 5213原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值