多用户情况下的SQL Server问题 [英] SQL Server problem in multi-user situation
问题描述
你好
我的应用程序出现问题:如果一个用户连接,它可以正常工作,但是当3个或更多用户登录时,我会在屏幕上看到以下错误:
--->该表没有主键.
--->无法将类型为"System.Int32"的对象转换为类型为"System.String".
--->索引超出数组的范围.
--->超时时间已到.操作完成之前已过超时时间,或者服务器没有响应.
---> System.Data.SqlClient.SqlException:正在关闭.
用户"######"登录失败
每页给我一个不同的错误
感谢您的帮助
Hello
I have a problem in my application: If one user connects it works fine, but when 3 or more users log on I get errors displayed on the screen kind of:
---> The table has not a primary key.
---> Unable to cast object of type ''System.Int32'' to type ''System.String''.
---> The index is outside the bounds of the array.
---> Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
--->System.Data.SqlClient.SqlException: SHUTDOWN is in progress.
Login failed for user ''######''
Each page gives me a different error
Thank you for your help
推荐答案
所以.一切都很混乱.我的观点是您的业务逻辑或数据访问层中存在一些错误.
So. All is very confusing. My point of view is you have some errors in your business logic or in data access layer.
这篇关于多用户情况下的SQL Server问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!