Click here to Skip to main content
15,899,026 members
Home / Discussions / C#
   

C#

 
Generalport Pin
amin saffari7-Jul-05 16:53
amin saffari7-Jul-05 16:53 
GeneralRe: port Pin
Christian Graus7-Jul-05 18:31
protectorChristian Graus7-Jul-05 18:31 
GeneralRe: port Pin
User 66587-Jul-05 21:04
User 66587-Jul-05 21:04 
GeneralRe: port Pin
Dave Kreskowiak8-Jul-05 4:05
mveDave Kreskowiak8-Jul-05 4:05 
Generalxls reading into an array Pin
amitmohanty7-Jul-05 15:57
amitmohanty7-Jul-05 15:57 
GeneralModify application pooling of COM+ component Pin
Johny Ng7-Jul-05 15:56
Johny Ng7-Jul-05 15:56 
GeneralSave Button Pin
tatchung7-Jul-05 15:20
tatchung7-Jul-05 15:20 
GeneralTimeOut exception with HttpWebRequest.getResponse but not with IE Pin
Jason Manfield7-Jul-05 10:48
Jason Manfield7-Jul-05 10:48 
I have the following URL:

http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&u=/netahtml/search-adv.htm&r=2&p=1&f=G&l=50&d=ptxt&S1=((teeth+OR+member)+OR+provide)&OS=+(teeth+OR+member)+OR+provide&RS=((teeth+OR+member)+OR+provide)

Accessing it with the following code snippet (which works for other sites):
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();


throws a WebException (timeout). Accessing the same URL with IE works fine. I compared the request header sent by the code and the one sent by IE and they are identical. The user agent has been set to "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50215)"

I even increased the request timeout to a massively huge value and it didn't make any difference.





GeneralRe: TimeOut exception with HttpWebRequest.getResponse but not with IE Pin
squawk7-Jul-05 16:36
squawk7-Jul-05 16:36 
GeneralRe: TimeOut exception with HttpWebRequest.getResponse but not with IE Pin
Dave Kreskowiak8-Jul-05 4:00
mveDave Kreskowiak8-Jul-05 4:00 
GeneralRe: TimeOut exception with HttpWebRequest.getResponse but not with IE Pin
squawk11-Jul-05 18:02
squawk11-Jul-05 18:02 
GeneralRe: TimeOut exception with HttpWebRequest.getResponse but not with IE Pin
Dave Kreskowiak12-Jul-05 1:05
mveDave Kreskowiak12-Jul-05 1:05 
Generalcrystal report pictures Pin
kornstyle7-Jul-05 8:50
kornstyle7-Jul-05 8:50 
GeneralGlobally intercepting keyboard events and blocking them if required Pin
Florian Albrechtskirchinger7-Jul-05 8:39
Florian Albrechtskirchinger7-Jul-05 8:39 
GeneralRe: Globally intercepting keyboard events and blocking them if required Pin
Dave Kreskowiak7-Jul-05 9:54
mveDave Kreskowiak7-Jul-05 9:54 
GeneralRe: Globally intercepting keyboard events and blocking them if required Pin
Florian Albrechtskirchinger8-Jul-05 2:57
Florian Albrechtskirchinger8-Jul-05 2:57 
GeneralRe: Globally intercepting keyboard events and blocking them if required Pin
Dave Kreskowiak8-Jul-05 3:55
mveDave Kreskowiak8-Jul-05 3:55 
GeneralRe: Globally intercepting keyboard events and blocking them if required Pin
Florian Albrechtskirchinger9-Jul-05 4:30
Florian Albrechtskirchinger9-Jul-05 4:30 
GeneralRe: Globally intercepting keyboard events and blocking them if required Pin
Florian Albrechtskirchinger13-Jul-05 7:43
Florian Albrechtskirchinger13-Jul-05 7:43 
QuestionTimeSpans as Int's? Pin
YawgmothIII7-Jul-05 5:48
YawgmothIII7-Jul-05 5:48 
AnswerRe: TimeSpans as Int's? Pin
leppie7-Jul-05 6:00
leppie7-Jul-05 6:00 
QuestionIs Someone aware of this Error? Pin
just4ulove77-Jul-05 5:45
just4ulove77-Jul-05 5:45 
AnswerRe: Is Someone aware of this Error? Pin
Alomgir Miah7-Jul-05 5:57
Alomgir Miah7-Jul-05 5:57 
GeneralRe: Is Someone aware of this Error? Pin
just4ulove77-Jul-05 7:48
just4ulove77-Jul-05 7:48 
GeneralRe: Is Someone aware of this Error? Pin
Guffa7-Jul-05 7:55
Guffa7-Jul-05 7:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.