|
-
Jun 6th, 2006, 10:15 AM
#1
Thread Starter
Fanatic Member
[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.
-
Jun 6th, 2006, 10:23 AM
#2
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.
-
Jun 6th, 2006, 10:29 AM
#3
Thread Starter
Fanatic Member
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.
-
Jun 7th, 2006, 03:42 AM
#4
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.
-
Jun 7th, 2006, 03:50 AM
#5
Thread Starter
Fanatic Member
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.
-
Jun 7th, 2006, 05:27 AM
#6
Thread Starter
Fanatic Member
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.
-
Jun 7th, 2006, 05:58 AM
#7
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.
-
Jun 7th, 2006, 06:03 AM
#8
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.
-
Jun 7th, 2006, 07:43 AM
#9
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|