c# - Unexpected behavior Outlook Redemption on Windows 7 -
i'm in process of migrating development pc windows xp (professional, sp3, x86) windows 7 (professional, sp1, x86). source of application i'm working on same on both machines, fails on windows 7 machine when initiating rdosession.
// initialize session. _session = new rdosession(); // throws exception... _session.logonexchangemailbox("mailbox@mydomain.com", "mail.mydomain.com");
this piece of code results in following exception:
system.runtime.interopservices.comexception caught message=creating instance of com component clsid {29ab7a12-b531-450e-8f7a-ea94c2f3c05f} iclassfactory failed due following error: 8004010e. source=mscorlib errorcode=-2147221234 stacktrace: @ system.runtimetypehandle.createinstance(runtimetype type, boolean publiconly, boolean nocheck, boolean& canbecached, runtimemethodhandleinternal& ctor, boolean& bneedsecuritycheck) @ system.runtimetype.createinstanceslow(boolean publiconly, boolean skipcheckthis, boolean fillcache) @ system.runtimetype.createinstancedefaultctor(boolean publiconly, boolean skipvisibilitychecks, boolean skipcheckthis, boolean fillcache) @ system.activator.createinstance(type type, boolean nonpublic) @ system.activator.createinstance(type type) @ (...).dataaccess.exchangemanager..ctor(exchangeconfigurationsettings configurationsettings) in d:\development\wip\(...)\dataaccess\exchange\exchangemanager.cs:line 57
obviously directy think mapi/cdo, checked extensively , tried win7 both office 2007 , 2010 too, no luck. current configuration follows:
- winxp: vs2010sp1, officeless, installed exchange mapi , cdo , redemption version 5.5.0.3218.
- win7: vs2010sp1, officeless, installed exchange mapi , cdo , redemption version 5.5.0.3218.
anyone got clue? in advance!
the error mapi_e_not_enough_resources, means mapi system not initialize itself. when , code run?
Comments
Post a Comment