The problem is a security one. Maybe you should question what you are trying
to do.
IIS and any web server goes to great lengths to protect your file system
from internet access. So if you are logging into IIS with a guest Login, by
default you have no access to the server's file system.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jim Zheng
Sent: Thursday, July 20, 2000 11:43 AM
To: Multiple recipients of list delphi
Subject: [DUG] Network resource and IIS
Hi, All,
When we try to map a network connection inside IIS, i.e. in an OCX
component, by using WnetAddConnection2 API function, we get error code
which does not list in the WnetAddConnection2 help document,
ERROR_SESSION_CREDENTIAL_CONFLICT is one of them.
Does anyone know how to connect to a network drive or how to use a network
file resource in an OCX component? We know the OCX component is running in
IIS service, so mapping a drive manually under a login is not recognized by
IIS.
We are using Windows 2000.
Any comments would be appreciated.
Jim Zheng
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz