Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: SQL
The website is sometimes missing the data. If we are login at that time, it will automatically logged out, and if we wait for 2 min and click again in any link it will automatically log in. I think the database connection is missing for some time,after that it will connect automatically.i had set the Job in the server. I am using SQL Server 2008..What will be the issue. Please help me.
Posted 24-Jan-13 23:23pm
Member 9492907 at 25-Jan-13 5:40am
I am using Session. this was not the session issue..All the data are missing for sometime. all the dropdownlists are show as empty lists in all the all the user accounts.
aspnet_regiis -i at 25-Jan-13 6:24am
virus problem on the server.... you are doomed...
Member 9492907 at 25-Jan-13 6:28am
But how can we found if it is a virus problem. All the users are logged out at the same time, and the log in after same time if we refresh the page..please give me a solution
Member 9492907 at 28-Jan-13 1:08am
I found ,why the issue is happening. Some times if there is multiple users in the website, the data from one module is replace with the other module i think the issue is related to the DAL structure.. My Function structure is like this public static DataTable ABC(string UserName, out string Error) { Error = string.Empty; objDataTable.Clear(); objDataTable = new DataTable(); DataCommand.CommandText = "SELECT restId FROM tblRestaur AS rb JOIN tblOwner AS o ON rb.ownerId = o.ownerId WHERE o.ownerUserName = @UserName"; DataCommand.Parameters.AddWithValue("@UserName", UserName); DataCommand.CommandType = CommandType.Text; try { if (DataConnection.State != ConnectionState.Open) DataConnection.Open(); DataAdapter.Fill(objDataTable); } catch (Exception ex) { Error = ex.Message; } finally { DataCommand.Parameters.Clear(); DataConnection.Close(); } return objDataTable; } What will be my mistake..plz help me

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

  Print Answers RSS
Your Filters
0 Sergey Alexandrovich Kryukov 680
1 OriginalGriff 379
2 Manas Bhardwaj 350
3 Abhinav S 293
4 Sampath Lokuge 245
0 Sergey Alexandrovich Kryukov 7,647
1 OriginalGriff 4,287
2 Peter Leow 3,681
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107

Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 25 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid