网站无法在服务器上正常工作. [英] web site not working on server properly.

查看:78
本文介绍了网站无法在服务器上正常工作.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在modalpopup中使用了文件上传,当我从文件上传的浏览器中选择一个视频文件但未保存时,我通过单击modal popup的cancel按钮取消了modulpopup,然后取消了modal popup,但网站停止了工作.
请给我有效的解决方案.

I have use a file upload in modalpopup and when I select a video file from browser of file upload without saving I cancel the modulpopup by click on cancel button of modal popup then modal popup is canceled but web site stops working.
pls give me effective solution.

推荐答案

不可能为您提供包含这么多信息的解决方案.

按下弹出窗口上的取消"按钮后,尝试调试代码-代码会引发一些错误吗?
有一些代码可以关闭您的数据库连接吗?
Impossible to give you a solution with this much information.

Try debugging through your code after the cancel button on the popup is hit - does the code throw some error?
Is there some code that closes your db connection?


HI nira

请检查以下几点

1)连接关闭
2)应用程序池
3)重新启动IIS
4)如果您正在使用dataadapter,请处置dataadapter
5)配置阅读器并关闭阅读器

您主要是在Web配置文件中定义页面大小的吗?您可以上传多少
因为当您上传文档时,总大小=页面大小+文档大小

我认为您的工作进程正在变得卑鄙,意味着在上传文档时重新启动iis

如果您有任何
,请告诉我们
谢谢
HI nira

Please check the following points

1)Connection close
2)Application pool
3)Restart IIS
4)if you are using dataadapter then dispose the dataadapter
5)dispose the reader as well as close the reader

the main thing have you define the page size in the web config file how much you can upload
because when you upload the document the total size=pagesize + document size

I think your workers process is getting currpted mean while uploading the document restart the iis

please let us know if you have any

Thanks


这篇关于网站无法在服务器上正常工作.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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