Home All Groups Group Topic Archive Search About

HttpWebRequest - Timeout

Author
4 May 2006 7:13 PM
rzaleski
I am trying to do a HttpWebRequest/HttpWebResponse handshake.  When I
do it on my local computer, it works fine.  When I execute the same
code on the server, I get a timeout.  I tried putting the request url
right into the browser (when I am on the server) and I get a response
back.  I have also tried communicating with the same server in a
different application and it works there.  Any ideas?

Author
4 May 2006 8:54 PM
rzaleski
I think I found some more relevant information.  The problematic server
is Running Windows 2000 and is using the .NET 1.1 Framework.  My local
machine is running Windows XP and is using the .NET 2.0 Framework.

How can I tell IIS to use the .NET 2.0 Framework for only one
application in Windows 2000?  In Windows XP (local computer) all I need
to do is change a drop down menu.  I don't see that menu in Windows
2000.
Author
5 May 2006 12:54 PM
vbnetdev
Try creating a seperate Application Pool in IIS and assign it to run 2.0 of
the framework. Assign this site to use this application pool.

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



<rzale***@gmail.com> wrote in message
Show quoteHide quote
news:1146776040.321417.54400@i39g2000cwa.googlegroups.com...
>I think I found some more relevant information.  The problematic server
> is Running Windows 2000 and is using the .NET 1.1 Framework.  My local
> machine is running Windows XP and is using the .NET 2.0 Framework.
>
> How can I tell IIS to use the .NET 2.0 Framework for only one
> application in Windows 2000?  In Windows XP (local computer) all I need
> to do is change a drop down menu.  I don't see that menu in Windows
> 2000.
>
Author
5 May 2006 4:15 PM
rzaleski
How do I do that?
Author
5 May 2006 4:16 PM
rzaleski
I am running Windows 2000, IIS 5.0 BTW.
Author
5 May 2006 4:55 PM
vbnetdev
Only one application pool is supported in IIS 5.



--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



<rzale***@gmail.com> wrote in message
Show quoteHide quote
news:1146845766.390583.135870@j73g2000cwa.googlegroups.com...
>I am running Windows 2000, IIS 5.0 BTW.
>
Author
5 May 2006 6:24 PM
rzaleski
I fixed it.  Here is a recap:

Initially the web application was causing a timeout on a
HttpWebRequest.  It was not working with the .NET 1.1 Framework.  I
upgraded to the .NET 2.0 Framework and I was receiving a "Failed to
access IIS metabase error".  I added ASPNET to the operators of the web
server and it worked.
Author
5 May 2006 5:26 AM
Cor Ligthert [MVP]
Rzaleski,

And you tried already to make the waiting on a requesttimeout longer using
the method for that?

Cor

<rzale***@gmail.com> schreef in bericht
Show quoteHide quote
news:1146776040.321417.54400@i39g2000cwa.googlegroups.com...
>I think I found some more relevant information.  The problematic server
> is Running Windows 2000 and is using the .NET 1.1 Framework.  My local
> machine is running Windows XP and is using the .NET 2.0 Framework.
>
> How can I tell IIS to use the .NET 2.0 Framework for only one
> application in Windows 2000?  In Windows XP (local computer) all I need
> to do is change a drop down menu.  I don't see that menu in Windows
> 2000.
>
Author
5 May 2006 11:30 AM
rzaleski
Yes, myRequest.Timeout = 15000.  It works fine locally, but not on the
server.  I think it has something to do with the Framework version
because when I set my application to use the 1.1 Framework, it doesn't
work locally.  How can I tell IIS to use the 2.0 Framework for that
appliation?  I can't seem to find the setting.