vs2012超时中的常见错误已过期.... [英] Frequently error in vs2012 Timeout expired....

查看:144
本文介绍了vs2012超时中的常见错误已过期....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的SQL SERVER 2012工作正常,但我不知道为什么我的vs 2012的winForm频繁地向我显示此错误,并且我的应用程序在任何数据库操作时都会变慢。真的很担心。一段时间不工作,如果工作,然后减慢我的应用程序。当我使用sql server 2012时没有错误



用户未处理的sql异常

超时已到期。在操作完成之前经过了超时时间或服务器没有响应

解决方案

此错误的原因很多。检查这些



肮脏的方式

增加 SQL连接 [ ^ ]

增加SQL命令 [ ^ ]。



好方法

使用 SQL Server Profiler [ ^ ]

如何识别SQL Server的性能问题,通过分析事件探查器输出? [的 ^ ]

SQL Server最佳实践 [ ^ ]



优化数据库

在SQL Server中优化数据访问的十大步骤:第一部分(使用索引) [ ^ ]

优化SQL Server数据访问的十大步骤:第二部分(重新考虑TSQL并应用最佳实践) [ ^ ]

在SQL Server中优化数据访问的十大步骤:第III部分(应用高级索引和非规范化) [ ^ ]

前10名在SQL Server中优化数据访问的步骤:第IV部分(诊断数据库性能问题) [ ^ ]

优化的十大步骤在SQL Server数据存取:第一部分V(优化的数据库文件,并应用分区) [ ^ ]

my SQL SERVER 2012 working and running fine but i don't know why my vs 2012's winForm showing me this error frequently and my application slow down whenever any database operation perfrom. really worry about it. some time not work and if work then slow down my application. No error when i am using sql server 2012
"
sql exception wan unhandled by user
Timeout expired. This timeout period elapsed prior to completion of the operation or the server is not responding"

解决方案

Many reasons for this error. Check these

Dirty ways
Increase timeout for SQL connection[^]
Increase timeout for SQL command[^].

Good ways
Use SQL Server Profiler[^]
How to identify SQL Server performance issues, by analyzing Profiler output?[^]
SQL Server Best Practices[^]

Optimize the database
Top 10 steps to optimize data access in SQL Server: Part I (use indexing)[^]
Top 10 steps to optimize data access in SQL Server: Part II (Re-factor TSQL and apply best practices)[^]
Top 10 steps to optimize data access in SQL Server: Part III (Apply advanced indexing and denormalization)[^]
Top 10 steps to optimize data access in SQL Server: Part IV (Diagnose database performance problems)[^]
Top 10 steps to optimize data access in SQL Server: Part V (Optimize database files and apply partitioning)[^]


这篇关于vs2012超时中的常见错误已过期....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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