WebException

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stephen H.

    WebException

    Hello,

    I'm developing a ppc-application that consumes a webservice on my local
    machine. For testing the service is the HelloWorld service and the app is
    just a form with a button that calls the webmethod. The problem is that when
    I call the method I instantly get a WebException with no further information.
    The method can be called from IE and from a Windows.Forms app. How can I find
    out the reason for the exception?

    Regards
    Stephen
  • Stephen H.

    #2
    RE: WebException

    Hi,

    thanks for your answers. The IP Address is not the problem, it worked many
    times before. The exception wouldn't just be a WebException without further
    comments. I found a 'solution' to the problem myself: I changed on the ppc
    Settings/Connections/My network card connects to:/work to .../The Internet.
    The old setting worked before, now the new one works. If you can explain
    this, feel free to do so.

    Regards
    S.

    "Rama.NET" wrote:
    [color=blue]
    > My bad, I missed the link, it is on GotDotNET, at
    > http://www.gotdotnet.com/Community/U...4-45e13b37cc0c
    >
    >
    > "Rama.NET" wrote:
    >[color=green]
    > > Hi Stephen
    > > One more thing, you could try my sample on PocketMap.NET, which uses the
    > > .NET CF, Winforms, webservices + MapPoint.NET, in that I actually mentioned
    > > about this issue.
    > > HTH
    > >
    > >
    > > "Stephen H." wrote:
    > >[color=darkred]
    > > > Hello,
    > > >
    > > > I'm developing a ppc-application that consumes a webservice on my local
    > > > machine. For testing the service is the HelloWorld service and the app is
    > > > just a form with a button that calls the webmethod. The problem is that when
    > > > I call the method I instantly get a WebException with no further information.
    > > > The method can be called from IE and from a Windows.Forms app. How can I find
    > > > out the reason for the exception?
    > > >
    > > > Regards
    > > > Stephen[/color][/color][/color]

    Comment

    Working...