Click here to Skip to main content
11,715,165 members (77,524 online)
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 = 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;
if (DataConnection.State != ConnectionState.Open)
catch (Exception ex)
Error = ex.Message;
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
0 Sergey Alexandrovich Kryukov 495
1 Richard MacCutchan 275
2 Maciej Los 259
3 ManasKumarM 155
4 Frankie-C 125
0 Sergey Alexandrovich Kryukov 775
1 CHill60 415
2 Richard MacCutchan 405
3 Maciej Los 389
4 OriginalGriff 320

Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 25 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100