G
Gareth
I have an ASP.net web site that accesses a COM object remotely, but I have
to use the 'basic authentication' and not 'Integrated Windows authentication',
else I get an access denied error.
The web.config has
<authentication mode="Windows" />
<identity impersonate="true"/>
This is the code I use for creating the COM object
Type t = Type.GetTypeFromProgID("Service.myPorgID.1", "RemoteServer", true);
if ( t != null )
{
iCs = (myPorgID) Activator.CreateInstance(t);
}
else
{
iCs = null;
}
I like this work in both ways 'basic authentication' and 'Integrated Windows
authentication'.
I am using IIS5, the remote service is a 'XP SP2' and the web site is on a
windows 2000 server, all in same domain.
Thanks for the help
Gareth
to use the 'basic authentication' and not 'Integrated Windows authentication',
else I get an access denied error.
The web.config has
<authentication mode="Windows" />
<identity impersonate="true"/>
This is the code I use for creating the COM object
Type t = Type.GetTypeFromProgID("Service.myPorgID.1", "RemoteServer", true);
if ( t != null )
{
iCs = (myPorgID) Activator.CreateInstance(t);
}
else
{
iCs = null;
}
I like this work in both ways 'basic authentication' and 'Integrated Windows
authentication'.
I am using IIS5, the remote service is a 'XP SP2' and the web site is on a
windows 2000 server, all in same domain.
Thanks for the help
Gareth