473,503 Members | 10,012 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WinHTTP failing with .asp pages

4 New Member
I have a WinHttp.WinHttpRequest.5.1 object that works perfectly when GETing .htm pages, but times out when trying to GET .asp pages.

I have tried using setCredentials:

Expand|Select|Wrap|Line Numbers
  1. Set Http = CreateObject("WinHttp.WinHttpRequest.5.1")
  2. Http.Open "GET", "http://<path>/filename.asp", False
  3. Http.setCredentials "<domain>\Administrator", "<password>",0
  4. Http.Send
  5.  
This also fails. The system is WinXP with IIS 5.

I can run the same code on a Win 2003 server running IIS 6 and it works. Is there a setting I have forgotton on my system that will let this work?
Jun 29 '07 #1
2 4143
jhardman
3,406 Recognized Expert Specialist
I/m copying this to the IIS forum, just in case they know more about this.

Jared
moderator, asp forum
Jun 29 '07 #2
kenobewan
4,871 Recognized Expert Specialist
You may have a winhttp, but have a look at this example:
ASP Source Code
Jun 30 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2302
by: yukeshean | last post by:
hi, I'm helping a company to develop a merchant site for online transaction. Since the company already registered with Telemoney payment gateway to handle the credit card verification, therefore...
1
2395
by: yukeshean | last post by:
how to use winhttp with asp to talk to Telemoney payment gateway server? how to use winhttp to make few communication link with telemoney and the links involve more than 1 asp page?
0
2587
by: thueirby | last post by:
h when i try to get data from site with clients sertificates with winHttp, I have a problem with result encoding (ru). Its OK with any sites without client sertificates, and its OK when i try to...
0
3426
by: Bryce | last post by:
H I am using WinHTTP to hit a server. I need to provide Proxy credentials to navigate through a proxy server, as well as Server credentials to access the server I have called the...
1
1855
by: saravana kumar | last post by:
Hai , I am new to winHTTP. Can anyone point me out a good website to find few startup samples and details about winHTTP. Please help me out to start winHTTP. :confused: Any help appreciated....
1
2281
by: Gaetan | last post by:
I'm doing a prrof of concept to develop an application to run under WinPE. The application will use WinHTTP to send requests to an ASPX file running IIS 6.0 My problem is that I do not know how...
1
5049
by: Balex | last post by:
Hi This is a question for people who know and use the winhttp DLL from MS. I need to be able to simulate the entry by users of data into a web-based application. So I started with using winhttp...
5
2597
by: neilx | last post by:
I have a WinHttp.WinHttpRequest.5.1 object that works perfectly when GETing .htm pages, but times out when trying to GET .asp pages. I have tried using setCredentials: Set Http =...
4
2313
by: Ted Lyngmo | last post by:
Hi! I'm new (but please do continue reading) to C++ in the VS environment and wanted to create a standalone program (or preferably, a static library, compatible with other Windows compilers)...
0
4932
by: Brian Pitt | last post by:
Hi I am trying to use WinHttp.WinHttpRequest.5.1 to access an https (ssl) page on an Oracle-Application-Server-10g and I keep getting a -2147483638 error. I am able to use the exact same script...
0
7194
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7070
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4993
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.