Discussion:
Help!!! OpenUrl from a service
(too old to reply)
Roberto Bertaggia
2004-05-06 10:13:45 UTC
Permalink
I created a service in VC++ that use wininet.dll to connect to a server e
need to open some url.
If i use that with Windows Authentication the open fails and returns the
Error page (with code 401).
IF i run the application from the debug, it functions correcly, when i run
the service no.
Any IDEAS????
Paul Baker [MVP, Windows - SDK]
2004-05-06 13:22:21 UTC
Permalink
401 is unauthorized. You need to provide authentication. It's all explained
here:

http://msdn.microsoft.com/library/en-us/wininet/wininet/handling_authentication.asp

Paul
Post by Roberto Bertaggia
I created a service in VC++ that use wininet.dll to connect to a server e
need to open some url.
If i use that with Windows Authentication the open fails and returns the
Error page (with code 401).
IF i run the application from the debug, it functions correcly, when i run
the service no.
Any IDEAS????
Loading...