Results 1 to 9 of 9

Thread: [RESOLVED] httpwebrequests from asp.net application

  1. #1

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Resolved [RESOLVED] httpwebrequests from asp.net application

    hi

    is it possible have httpwebrequests from an asp.net application located on a server.

    i have built an app, and put it on a server, but i dont think the requests are working because its on a server.

    the requests work fine while im working on it. not over the web.

    any thoughts guys
    it works 60% of the time, all the time.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: httpwebrequests from asp.net application

    Do you control the server? Could be that the server is preventing the ASP.NET application from accessing the outside world.

  3. #3

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: httpwebrequests from asp.net application

    yes i control the server,
    just got it set up today actually with some help from robdogg here at the vb.net forums

    it is windows server 2003
    so im hoping it must be that that is preventing the httprequests to be made.

    is there any way to check this out.
    it works 60% of the time, all the time.

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: httpwebrequests from asp.net application

    Start by disabling the firewall. Also, if possible, try stepping through the code on the server itself to see where it errors out. Quite possibly when you're attempging a connection or transmission.

  5. #5

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: httpwebrequests from asp.net application

    if run it on this pc (through .net build), it works fine.

    if i am running it on the server machines local host nothing happens also.

    ill have a wee look into it today, i will let you know

    i am unsure of how to step through the code on the server.
    Last edited by d2005; Jun 7th, 2006 at 03:58 AM.
    it works 60% of the time, all the time.

  6. #6

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: httpwebrequests from asp.net application

    ive set up a small test project to send a httpwebrequest.create (windows app)

    to see what happens.
    it seems that the outside source i am sending to may be blocking the ip address.

    i hope this is the case
    it works 60% of the time, all the time.

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: httpwebrequests from asp.net application

    Microsoft has set up a site called www.contoso.com you can use to check out basic WebRequests, GETs, POSTs, etc. which you can use.

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: httpwebrequests from asp.net application

    Btw, they didn't set the website up for you, it's just a website they've setup for this kind of stuff for people in general.

  9. #9

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: httpwebrequests from asp.net application

    lol,
    cheers mendhak

    the outside source was blocking my ip
    it works 60% of the time, all the time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width