Click here to Skip to main content
15,072,422 members

Comments by mahesh__kumar__sharma (Top 10 by date)

mahesh__kumar__sharma 2-Sep-11 7:49am View
   
I added System.Threading.Thread.Sleep(1000 * 5); before creating
System.Threading.Thread.Sleep(1000 * 5);
Document wordDocument = wordApp.Documents.Application.Documents.Open(ref file, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible, ref missing, ref missing, ref missing, ref missing);

But no Luck. :(
mahesh__kumar__sharma 2-Aug-11 12:56pm View
   
Deleted
Instead of using "SqlDataReader reader = cmd.ExecuteReader();"
fill datatable
using (SqlDataReader myReader = myCommand.ExecuteReader())
{
DataTable myTable = new DataTable();
myTable.Load(myReader);
con.Close();
return myTable;
}

And now check. You must have values in data table if credential are correct.
Thanks
Mahesh
http://helpondesk.blogspot.com/
mahesh__kumar__sharma 27-Jun-11 12:29pm View
   
No we have no cache in our application and it works fine if user hit gridview's row wiht interval of 1 or more second.

Even if i add thread.spleep it workes fine.
mahesh__kumar__sharma 27-Jun-11 12:15pm View
   
Hi,
Thanks for helping me. I improved my question for better understanding, please have a look on this.
mahesh__kumar__sharma 27-Jun-11 11:51am View
   
my problem is stop this sharing. and queries to know why sleep(500) remove this problem.
mahesh__kumar__sharma 21-Apr-11 16:41pm View
   
Thanks for your intrest if you get anything please send me.
mahesh__kumar__sharma 21-Apr-11 16:40pm View
   
yes, even it write doc file in directory but not execute more than this. and before this it was smoothly working by last 3 months.
mahesh__kumar__sharma 21-Apr-11 16:34pm View
   
i went through this possibilities but none of them is applicable.
mahesh__kumar__sharma 21-Apr-11 16:27pm View
   
yes. The OS is Windows-2003, Inerop Office 2003.
mahesh__kumar__sharma 21-Apr-11 16:24pm View
   
Thanks for your reply.
I read it but it didn't solve my problem.