|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Application developers can seamlessly integrate the Advantage Database install with their application install. Learn the best practices used when setting up silent installs with this seminar. |
|
#1
|
|||
|
|||
|
Hi,
I have an application that makes use of a COM+ component. Ihave registered the component. I also have impersonated a user in the web.congif file and set impersonation=true. My application works fine, until the point where it needs to acces the COM+ component. At this time i get the following error: [UnauthorizedAccessException: Access is denied.] System.Runtime.InteropServices.Marshal.BindMoniker(UCOMIMoniker pmk, UInt32 grfOpt, Guid& iidResult, Object& ppvResult) +0 System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName) +109 StoryLife.CheckoutSummary.btnPurchase_Click(Object sender, ImageClickEventArgs e) +930 When i turn user impersonation =false, it all works just fine. Does anyone have an idea as to why this might be happening? Thanks, Neet |
|
#2
|
|||
|
|||
|
Yeaaa! I think your Impersonation user has not enough privilege to do that your COM+ is trying to do!
To probe my theory you can logon with your “impersonator user” as a Console User (grant privileges to do it), turn impersonate to off for the component and try to run your application! If it works I did a bad bet, else Grant privileges to your user! Bye! |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Accessing COM+ components |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|