ASP.NET冻结了一段时间 [英] ASP.NET freezes after a while

查看:70
本文介绍了ASP.NET冻结了一段时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好



我在.NET 4.5中创建了一个ASP.NET网站。



该网站离线运行所有必要的东西离线存储。



几个人开始使用该网站后,它会慢下来停止。



我最终不得不重新启动服务器/ services / iis网站等来解决问题。



我的网站正在运行IP例如:192.168.0.150



SQL连接使用localhost。



我使用子网255.255 .192.0



可能是什么问题?



有什么想法吗?



谢谢

Hello

I created an ASP.NET Website in .NET 4.5.

The site runs offline with all necessary things stored offline.

After a couple of people start using the site, it slows down to a halt.

I end up having to restart the server/services/iis site etc to solve the issue.

I have the site running on an IP eg: 192.168.0.150

The SQL connection uses localhost.

I am using the subnet 255.255.192.0

What could be the issue??

Any ideas?

Thanks

推荐答案

问题是我忘了在我的一个命令中为sql连接添加一个close语句。是的,急于编码不是最好的主意:)



所有排序和运行就像一个梦想:)



谢谢你们
The issue was I forgot to put a close statement for the sql connection in one of my commands. Yea, rush coding is not the best idea :)

All sorted and running like a dream :)

Thanks guys


这篇关于ASP.NET冻结了一段时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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