[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
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.
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.
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.
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. :ehh:
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
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.
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.
Re: httpwebrequests from asp.net application
lol,
cheers mendhak
the outside source was blocking my ip