Click here to Skip to main content
15,892,005 members

Comments by TapasU (Top 20 by date)

TapasU 29-Apr-14 3:36am View    
We are initializing the service instance in one seperate thread, Could this piece of code could create the exceptions??
TapasU 29-Apr-14 3:35am View    
Hey, the thing is.. we are able to figure out becaue of which code it is getting failed. Though I can share a sample piece of code which we are suspecting.
This is the Startup code

Thread threadInitializeService = new Thread(InitializeMyWebService);
threadInitializeService.Name = "thread-InitializeMyWebService";
threadInitializeService.Start();

private void InitializeMyWebService()
{
var threadId = Thread.CurrentThread.ManagedThreadId;
Service webService= new Service();
webService.TargetWebServer = "http://MyProdServer/MyVirtualDirectory/Service.asmx";
webService.PreAuthenticate = true;
webService.Credentials = System.Net.CredentialCache.DefaultCredentials;
}
TapasU 29-Apr-14 3:30am View    
Deleted
Hey, the thing is.. we are able to figure out becaue of which code it is getting failed. Though I can share a sample piece of code which we are suspecting.<BR> <BR>This is the Startup code:<BR>Thread threadInitializeService = new Thread(InitializeMyWebService);<BR>threadInitializeService.Name = "thread-InitializeMyWebService";<BR>threadInitializeService.Start();<BR> <BR>private void InitializeMyWebService()<BR>{<BR>var threadId = Thread.CurrentThread.ManagedThreadId;<BR><BR>try<BR>{<BR>Service webService= new Service();<BR>webService.TargetWebServer = "http://MyProdServer/MyVirtualDirectory/Service.asmx";<BR>webService.PreAuthenticate = true;<BR>webService.Credentials = System.Net.CredentialCache.DefaultCredentials;<BR>}<BR>catch (Exception ex)<BR>{<BR>//Do Somehting<BR>}<BR><BR>}<BR> <BR>Could this be a problem, initializing the web service instance in one seperate thread than the main one?
TapasU 3-Mar-14 1:56am View    
Hey its in the subject / Title of the post..

There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).
TapasU 23-Aug-13 1:01am View    
Hi.. THis is the only exception I am getting. The inner exception is null in this case.