Sorry. The error has been reported on both XP and Vista machines.
Main Topics
Browse All TopicsGuys,
I am now getting a reported error code when I run the URLDOWNLOADTOFILE routine in URLMON.DLL
nGetResults = URLDownloadToFile(0, cHttp_file, cDownload_file, 0, 0)
The error code is -2146697208. URLMON.DLL is registered. Any idea what could be causing the error. The program in the current version has been working fine. If I know what the error code means I might have a better chance of figuring it out.
Any suggested alternatives to URLMON.DLL?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
http://msdn.microsoft.com/
? Transform(-2146697208,"@0"
-> 800C0008 = INET_E_DOWNLOAD_FAILURE
You can overcome this failure by choosing a working URL or Server...;-)
Errors are define in urlmon.h
most of them here as an excerpt:
#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C00
#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C00
#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C00
#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C00
#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C00
#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C00
#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C00
#define INET_E_AUTHENTICATION_REQU
#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C00
#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C00
#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C00
#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C00
#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C00
#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C00
#define INET_E_CANNOT_INSTANTIATE_
#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C00
#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C00
#define INET_E_CANNOT_LOCK_REQUEST
#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C00
Business Accounts
Answer for Membership
by: CarlWarnerPosted on 2008-10-20 at 15:19:44ID: 22762811
Just for reference sake, is this running under Windows Vista?