About Silverlight and WCF [modified]
-
I am try to upload files from my computer to a server machine using WCF in Silverlight. Often i can achieve this but sometimes there occurs a problem and stops uploading. Silverlight error is: "The remote server returned an error: NotFound." and at the status bar of the web page there is a black exclamation mark in yellow triangle says error at page. This is details of it: unhandled error in silverlight 2 application at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallBack beginMethod, Object state) at Syste.Net.Browser.BrowserHttpWebRequest.EndGetResponse (IAsyncResult asynResult) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse (IAsyncResult result) at .... And after i found where error occurs public svlUploader.wsUploader.UploadResponse EndUpload(System.IAsyncResult result) { object[] _args = new object[0]; svlUploader.wsUploader.UploadResponse _result = ((svlUploader.wsUploader.UploadResponse)(base.EndInvoke("Upload", _args, result)));//error occurs in this line return _result; } SO help me...
modified on Monday, December 14, 2009 3:30 PM
-
I am try to upload files from my computer to a server machine using WCF in Silverlight. Often i can achieve this but sometimes there occurs a problem and stops uploading. Silverlight error is: "The remote server returned an error: NotFound." and at the status bar of the web page there is a black exclamation mark in yellow triangle says error at page. This is details of it: unhandled error in silverlight 2 application at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallBack beginMethod, Object state) at Syste.Net.Browser.BrowserHttpWebRequest.EndGetResponse (IAsyncResult asynResult) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse (IAsyncResult result) at .... And after i found where error occurs public svlUploader.wsUploader.UploadResponse EndUpload(System.IAsyncResult result) { object[] _args = new object[0]; svlUploader.wsUploader.UploadResponse _result = ((svlUploader.wsUploader.UploadResponse)(base.EndInvoke("Upload", _args, result)));//error occurs in this line return _result; } SO help me...
modified on Monday, December 14, 2009 3:30 PM
Response on Silverlight board[^]
Mark Salsbery Microsoft MVP - Visual C++ :java: