RE: Queryinterface Error
From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 10/13/04
- Next message: Sam: "ASP.NET 2.0 Web Site Search Page"
- Previous message: Rajiv: "RE: The viewstate is invalid for this page and might be corrup"
- In reply to: Malcolm Klotz: "Queryinterface Error"
- Next in thread: Malcolm Klotz: "Re: Queryinterface Error"
- Reply: Malcolm Klotz: "Re: Queryinterface Error"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 04:34:22 GMT
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.)
- Next message: Sam: "ASP.NET 2.0 Web Site Search Page"
- Previous message: Rajiv: "RE: The viewstate is invalid for this page and might be corrup"
- In reply to: Malcolm Klotz: "Queryinterface Error"
- Next in thread: Malcolm Klotz: "Re: Queryinterface Error"
- Reply: Malcolm Klotz: "Re: Queryinterface Error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|