Ok, sorry to hit this thread a lot but I am picking up a lot of clues and I got it operational again.
I decided to clear my internet cache and also the ASP.NET temp files (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files). Well, when I went to delete the temp files, I got an error saying some of the processes were locked. VS2008 was
already shut down so i decided to use process explorer to find the handles.
There was a worker process holding them (aspnet_wp.exe). I went ahead and tried to spike it but that didn't work. A restart of IIS killed it and now the application works again.
I am wondering whether I need to close a process in the web service calls to make sure the processes are shut down. I didn't see that in any of the examples.
wireplay
Member
44 Points
20 Posts
Re: Re: Re: calling wcf service problems
Apr 03, 2008 05:58 AM | LINK
Ok, sorry to hit this thread a lot but I am picking up a lot of clues and I got it operational again.
I decided to clear my internet cache and also the ASP.NET temp files (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files). Well, when I went to delete the temp files, I got an error saying some of the processes were locked. VS2008 was already shut down so i decided to use process explorer to find the handles.
There was a worker process holding them (aspnet_wp.exe). I went ahead and tried to spike it but that didn't work. A restart of IIS killed it and now the application works again.
I am wondering whether I need to close a process in the web service calls to make sure the processes are shut down. I didn't see that in any of the examples.
I hope the above helps someone else.
Update:
I put in the following code:
void svcs_GetDataCompleted(object sender, Savian.SavianWebSiteServices.GetDataCompletedEventArgs e)
{
SavianWebSiteServices.CommunityItem[] items = e.Result;
PapersList.ItemsSource = items;
SavianWebSiteServices.SavianWebSiteClient o = (SavianWebSiteServices.SavianWebSiteClient)sender;
o.Close();
}
....and have seen fewer problems.