Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Async Call Process Active Weird!!!!

Status
Not open for further replies.

FRANDAZZO

Programmer
Nov 29, 2000
60
0
0
US
Here is the situation. Within a vb application we are using a webservice. The application is using a async call to the webservice to execute a stored proc that is used to fill a report. The webmethod in the webservice returns a dataset.
When I go to run the report the first time I get the dataset back after the Async call (System.IAsyncResult) is finished and all is well. I populate my local dataset variable with the results of the webservice method.
However, if I goto run the report a second time I do not get a dataset returned. And this is after the IAsyncResult.IsCompleted comes back as true (i.e., the process is completed). At this point I ran SQL Server Profiler to check and see if the stored proc was executing and it was returning the data but seems like it is not populating the dataset in the webmethod.

Does anyone have any advice.

Thanks in advance!!!
Frandazzo

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top