网站无法在服务器上正常工作.

编程入门 行业动态 更新时间:2024-10-19 16:32:37
本文介绍了网站无法在服务器上正常工作.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在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

更多推荐

网站无法在服务器上正常工作.

本文发布于:2023-11-01 12:48:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1549375.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:器上   工作   网站

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!