Hi Steven,
I have configured the IIS application to run as anonymous, but I have
configured the anonymous user to be a user that is in the local
adiministrators group for the machine.
In the ASP.Net config file, I have:
Windows Authentication = "None",
Impersonate = "True"
This should remove ASPNET user out of the equation, and should connect to
the COM+ application as the user configured in the IIS application.
I have tried all the other suggestions, and I can debug the application from
a VB.NET application, but when I try in ASP.NET, with the config above, with
the component in COM+ and the IDE running, I get the queryinterface error.
I would agree that it sounds like permissions, but if this user is under the
local administrators group, what more permissions could that user require?
Moroever, is there a debugger process that I have to assign specific
permissions to allow this user to attach to the ide?
Thanks.
"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:y3*************@cpmsftngxa10.phx.gbl...
Hi Malcolm,
AS for the problem you described, it is likely due to security issue.
Since
you mentioned that you can call the component from VB6 app correctly ,yes?
Have you tried create a simple winform .net application to call that
component to see whether it works? The winform application is runner udner
the current logon user account.
Also, what's your asp.net 's security setting in IIS and web.config?
IIS: Integrited windows ? Allow anonymous?
ASP.NET CONFIG: Windows authentication? impersonate= false?
By default , if we didn't use impersonate, asp.net will run under the
default process account( machine\aspnet on 2k or xp , networkservice on
2k3
IIS6). If using impersonate, it use the account passed from the IIS. So we
need to make sure those account has the sufficient permissions.
Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)