Click here to Skip to main content
16,018,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Posted
Updated 15-Oct-10 1:56am
v2
Comments
Johnny J. 15-Oct-10 7:56am    
I have given your post a meaningful subject...

1 solution

So. All is very confusing. My point of view is you have some errors in your business logic or in data access layer.
 
Share this answer
 
Comments
achekraali 18-Oct-10 10:27am    
thanks for your post
yes i have a problem with the connection declaration
i make protected static sqlconnection conn =new sqlconnection ect ...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900