Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. The remote server returned an error: NotFound. [modified]

The remote server returned an error: NotFound. [modified]

Scheduled Pinned Locked Moved WPF
helpcsharpwcfsysadmin
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    leone
    wrote on last edited by
    #1

    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 (wsUploader is my WCF and svluploader is silverlight project.) 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)));//<b>error occurs in this line</b> return _result; } So help me....

    modified on Monday, December 14, 2009 3:37 PM

    M M 2 Replies Last reply
    0
    • L leone

      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 (wsUploader is my WCF and svluploader is silverlight project.) 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)));//<b>error occurs in this line</b> return _result; } So help me....

      modified on Monday, December 14, 2009 3:37 PM

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      If you haven't already, maybe try turning on the includeExceptionDetailInFaults service behavior option in the web.config... <serviceDebug includeExceptionDetailInFaults="true" /> If you can't catch the exception in the debugger, you may need to use something like Fiddler to capture the fault response with the exception info in it. Regardless, it's hard to guess without more detailed error info...

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      1 Reply Last reply
      0
      • L leone

        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 (wsUploader is my WCF and svluploader is silverlight project.) 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)));//<b>error occurs in this line</b> return _result; } So help me....

        modified on Monday, December 14, 2009 3:37 PM

        M Offline
        M Offline
        Michael Eber
        wrote on last edited by
        #3

        Connect directly to your wsdl and confirm that you do not have problems with your wcf service itself. NotFound is a really poor messaging error which means basically "something's screwed up" and has nothing to do with something not being found.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups