I am working on a website which uses IIS 7 and tries to create a COM server on remote machine. The flow is:
IIS_7_Computer -> Perl Script 1 -> Perl Script 2 -> Win32::OLE ---DCOM---> COM object on destination machine
The account I am using is "Administrator@IIS_7_Computer". This administrator has the same password as destination machine "Administrator"
I have enabled "Windows Authentication" for site with only provider is "NTLM".
If I launch perl script 1 from command line while logged on as Administrator@IIS_7_Computer, per script 2 is launched and it successfully creates the object.
But, if I go through the web site, by logging in as Administrator@IIS_7_Computer, I keep on getting "Access is denied" message.
Any ideas?
Thanks in advance, -Neel.
I needed to enable "Basic Authentication" under IIS instead of "Windows Authentication"