Existing .net application that runs w/out issue on 2003 x32 and x64ÃÂ Terminal Services is failing on 2008 x64 with 'Cannot Create ActiveX Component' error.
Application is compiled as x86.
The functionality is to access an email within a PST file. Utilizes Redemption 4.5 COM object for PST access.
Impersonate Domain Admin
'create the COM object (.net interop is installed
RDOSession = CType(CreateObject("Redemption.RDOSession"), Redemption.RDOSession)ÃÂ
'logon to the mailbox of impersonated user
'add the requested PST
RDOPST = RDOSession.Stores.AddPSTStore(PSTFullName)
If I do not invoke the impersonation method, but 'Run As Administrator' or a user with sufficient rights to the PST, the code works on 2008.
If the impersonation method is invoked, the CreateObject fails with 'Cannote Create ActiveX Component' (no inner message).ÃÂ Even if I 'Run As Administrator' with the impersonation invoked, it still fails with the same error.
If I pass the username/password for the current user (which also has domain admin rights) to the Impersonation method- it works. Any other domain admin account other than the current user,
View Complete Post