发生服务器错误/通信错误 [英] Server error/Communication error occured

查看:187
本文介绍了发生服务器错误/通信错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们正在将我们的Web应用程序调用到其他Web应用程序中.
但是问题是,当我们的Web应用程序正在加载该错误时,此错误(iDB2CommErrorException)不会连续发生.我们使用的前端是asp.net2.0,后端使用的是AS400数据库.
请帮助我,如果有人在您的应用程序中遇到此问题或有任何想法.

预先感谢,
Venkat.

Hi,

we are calling our web application into some other web application.
But the thing is when our web application is loading that time this error(iDB2CommErrorException) happening not continuously. we have used front end is asp.net2.0 and back end we have used AS400 database.
pleas help me,If anyone facing this issue in your application or any one have idea.

Thanks in advance,
Venkat.

推荐答案

可能是您的连接字符串中的某些内容

Possibly something in your connection string

DATA SOURCE=MYISERIES;USER ID=USR;PASSWORD=PWD;CheckConnectionOnOpen=true;



CheckConnectionOnOpen解决了以下问题:在iSeries上发生诸如系统IPL之类的操作之后,池化连接终止.它通过向.Net发送一些数据来迫使.Net检查它们是否还活着.

它可以解释为什么您的问题是间歇性的

在这里阅读...

http://www-01.ibm.com/support/docview.wss?uid=nas27991a4b3199aca2086256fa600422170 [ ^ ]



The CheckConnectionOnOpen fixes a problem where pooled connections are ended after something like a system IPL on the iSeries. It forces .Net to check they are still alive by sending a bit of data to them

It would explain why your problems are intermittent

Read this here...

http://www-01.ibm.com/support/docview.wss?uid=nas27991a4b3199aca2086256fa600422170[^]


这篇关于发生服务器错误/通信错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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