What is before the "at System."? On Apr 26, 2012 11:00 PM, "Rdebault" <rdeba...@nch.com> wrote:
> I am downloading a 100Meg file using the webclient and networkcredentials. > This works great but when I make a call to another webservice I get the > following error. I am at a loss as to what could be causing this. Any help > will be great appreciated. I have narrowed it down to this one procedure > that uses the webclient. The error makes me think that a connection is not > being reset. > * > Code Snippet….* > > System.Net.NetworkCredential t_credentials = new > System.Net.NetworkCredential(); > t_credentials.UserName="xxxxxxxx"; > t_credentials.Password="xxxxxxxxx"; > t_credentials.Domain = "xxx"; > t_wclient.Credentials = t_credentials; > Uri t_srcuri = new Uri(t_source); > t_wclient.DownloadDataAsync(t_srcuri); > > > > *Error when calling next web request…..* > > at System.Net.WebConnectionGroup.PrepareSharingNtlm > (System.Net.WebConnection cnc, System.Net.HttpWebRequest request) [0x00015] > in > > /Developer/MonoTouch/Source/mono/mcs/class/System/System.Net/WebConnectionGroup.cs:113 > at System.Net.WebConnectionGroup.CreateOrReuseConnection > (System.Net.HttpWebRequest request) [0x00062] in > > /Developer/MonoTouch/Source/mono/mcs/class/System/System.Net/WebConnectionGroup.cs:151 > at System.Net.WebConnectionGroup.GetConnection (System.Net.HttpWebRequest > request) [0x000bd] in > > /Developer/MonoTouch/Source/mono/mcs/class/System/System.Net/WebConnectionGroup.cs:100 > at System.Net.ServicePoint.SendRequest (System.Net.HttpWebRequest request, > System.String groupName) [0x00019] in > > /Developer/MonoTouch/Source/mono/mcs/class/System/System.Net/ServicePoint.cs:295 > at System.Net.HttpWebRequest.BeginGetRequestStream (System.AsyncCallback > callback, System.Object state) [0x001ba] in > > /Developer/MonoTouch/Source/mono/mcs/class/System/System.Net/HttpWebRequest.cs:707 > at System.ServiceModel.Channels.HttpRequestChannel.BeginProcessRequest > (System.ServiceModel.Channels.HttpChannelRequestAsyncResult result) > [0x0035a] in > > /Developer/MonoTouch/Source/mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs:182 > at System.ServiceModel.Channels.HttpRequestChannel.BeginRequest > (System.ServiceModel.Channels.Message message, TimeSpan timeout, > System.AsyncCallback callback, System.Object state) [0x00012] in > > /Developer/MonoTouch/Source/mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs:315 > at System.ServiceModel.Channels.HttpRequestChannel.Request > (System.ServiceModel.Channels.Message message, TimeSpan timeout) [0x00000] > in > > /Developer/MonoTouch/Source/mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs:72 > at System.ServiceModel.MonoInternal.ClientRuntimeChannel.Request > (System.ServiceModel.Channels.Message msg, TimeSpan timeout) [0x0000b] in > > /Developer/MonoTouch/Source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ClientRuntimeChannel.cs:582 > at System.ServiceModel.MonoInternal.ClientRuntimeChannel.Request > (System.ServiceModel.Description.OperationDescription od, System.Object[] > parameters) [0x00066] in > > /Developer/MonoTouch/Source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ClientRuntimeChannel.cs:537 > at System.ServiceModel.MonoInternal.ClientRuntimeChannel.DoProcess > (System.Reflection.MethodBase method, System.String operationName, > System.Object[] parameters) [0x00038] in > > /Developer/MonoTouch/Source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ClientRuntimeChannel.cs:502 > at System.ServiceModel.MonoInternal.ClientRuntimeChannel.Process > (System.Reflection.MethodBase method, System.String operationName, > System.Object[] parameters) [0x0001c] in > > /Developer/MonoTouch/Source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ClientRuntimeChannel.cs:479 > > > > > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Webclient-and-DownloadDataAsync-using-Credentials-causes-additional-service-calls-to-fail-tp4590980p4590980.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > MonoTouch@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/monotouch >
_______________________________________________ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch