“Interface not supported” ComException when setting RDOSession.MAPIObject












0















My addin is encountering the error on some client machines when trying to set as RDOSession.MAPIObject= application.Session.MAPIObject in a C# based com add-in.



The code is executed in the main thread, RDOSession object is created through redemption loader, and the version of redemption being used is 5.16.0.4972.



All searches in regards to the error message point to the Outlook 2013 click-to-run error. But this is Outlook 2016 and the add-in is loaded in-session. Also, most other clients are not experiencing any issues.



I'm stumped with this, any help is greatly appreciated!



Cheers!










share|improve this question























  • It would be awesome if you could provide a Minimal, Complete, and Verifiable example

    – JohnB
    Nov 27 '18 at 1:55











  • Does application variable come from the OnConnection callback? Or did you create it?

    – Dmitry Streblechenko
    Nov 27 '18 at 2:01











  • @JohnB: I am unable to provide any verifiable example as I am not able to replicate it locally.

    – Tim
    Nov 27 '18 at 2:47











  • @DmitryStreblechenko: the application object comes from the OnConnection callback.

    – Tim
    Nov 27 '18 at 2:48
















0















My addin is encountering the error on some client machines when trying to set as RDOSession.MAPIObject= application.Session.MAPIObject in a C# based com add-in.



The code is executed in the main thread, RDOSession object is created through redemption loader, and the version of redemption being used is 5.16.0.4972.



All searches in regards to the error message point to the Outlook 2013 click-to-run error. But this is Outlook 2016 and the add-in is loaded in-session. Also, most other clients are not experiencing any issues.



I'm stumped with this, any help is greatly appreciated!



Cheers!










share|improve this question























  • It would be awesome if you could provide a Minimal, Complete, and Verifiable example

    – JohnB
    Nov 27 '18 at 1:55











  • Does application variable come from the OnConnection callback? Or did you create it?

    – Dmitry Streblechenko
    Nov 27 '18 at 2:01











  • @JohnB: I am unable to provide any verifiable example as I am not able to replicate it locally.

    – Tim
    Nov 27 '18 at 2:47











  • @DmitryStreblechenko: the application object comes from the OnConnection callback.

    – Tim
    Nov 27 '18 at 2:48














0












0








0








My addin is encountering the error on some client machines when trying to set as RDOSession.MAPIObject= application.Session.MAPIObject in a C# based com add-in.



The code is executed in the main thread, RDOSession object is created through redemption loader, and the version of redemption being used is 5.16.0.4972.



All searches in regards to the error message point to the Outlook 2013 click-to-run error. But this is Outlook 2016 and the add-in is loaded in-session. Also, most other clients are not experiencing any issues.



I'm stumped with this, any help is greatly appreciated!



Cheers!










share|improve this question














My addin is encountering the error on some client machines when trying to set as RDOSession.MAPIObject= application.Session.MAPIObject in a C# based com add-in.



The code is executed in the main thread, RDOSession object is created through redemption loader, and the version of redemption being used is 5.16.0.4972.



All searches in regards to the error message point to the Outlook 2013 click-to-run error. But this is Outlook 2016 and the add-in is loaded in-session. Also, most other clients are not experiencing any issues.



I'm stumped with this, any help is greatly appreciated!



Cheers!







c# outlook-addin outlook-redemption outlook-2016






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 27 '18 at 1:51









TimTim

208




208













  • It would be awesome if you could provide a Minimal, Complete, and Verifiable example

    – JohnB
    Nov 27 '18 at 1:55











  • Does application variable come from the OnConnection callback? Or did you create it?

    – Dmitry Streblechenko
    Nov 27 '18 at 2:01











  • @JohnB: I am unable to provide any verifiable example as I am not able to replicate it locally.

    – Tim
    Nov 27 '18 at 2:47











  • @DmitryStreblechenko: the application object comes from the OnConnection callback.

    – Tim
    Nov 27 '18 at 2:48



















  • It would be awesome if you could provide a Minimal, Complete, and Verifiable example

    – JohnB
    Nov 27 '18 at 1:55











  • Does application variable come from the OnConnection callback? Or did you create it?

    – Dmitry Streblechenko
    Nov 27 '18 at 2:01











  • @JohnB: I am unable to provide any verifiable example as I am not able to replicate it locally.

    – Tim
    Nov 27 '18 at 2:47











  • @DmitryStreblechenko: the application object comes from the OnConnection callback.

    – Tim
    Nov 27 '18 at 2:48

















It would be awesome if you could provide a Minimal, Complete, and Verifiable example

– JohnB
Nov 27 '18 at 1:55





It would be awesome if you could provide a Minimal, Complete, and Verifiable example

– JohnB
Nov 27 '18 at 1:55













Does application variable come from the OnConnection callback? Or did you create it?

– Dmitry Streblechenko
Nov 27 '18 at 2:01





Does application variable come from the OnConnection callback? Or did you create it?

– Dmitry Streblechenko
Nov 27 '18 at 2:01













@JohnB: I am unable to provide any verifiable example as I am not able to replicate it locally.

– Tim
Nov 27 '18 at 2:47





@JohnB: I am unable to provide any verifiable example as I am not able to replicate it locally.

– Tim
Nov 27 '18 at 2:47













@DmitryStreblechenko: the application object comes from the OnConnection callback.

– Tim
Nov 27 '18 at 2:48





@DmitryStreblechenko: the application object comes from the OnConnection callback.

– Tim
Nov 27 '18 at 2:48












1 Answer
1






active

oldest

votes


















1














If this is after a recent Windows 10 upgrade (which wipes out some MAPI marshaling registry keys), try the registry patch from http://www.dimastr.com/redemption/Outlook_2013_C2R_fix.ZIP






share|improve this answer
























  • Thanks for that @DmitrySteblechenko. Is there anything I need to modify on those REG files to make them compatible with Outlook 2016?

    – Tim
    Nov 27 '18 at 5:30













  • No, as far as I know the keys are the same for both Outlook 2013 and 2016. Or you can reinstall Outlook.

    – Dmitry Streblechenko
    Nov 27 '18 at 16:07











  • Thanks Dmitry!! I shall test this out on the problem machine and get back with the result!

    – Tim
    Nov 27 '18 at 22:37











  • Hi Dimitry, I have not heard back from the client, so I assume the issue has been resolved. Thank you!!

    – Tim
    Jan 18 at 7:46











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53491632%2finterface-not-supported-comexception-when-setting-rdosession-mapiobject%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














If this is after a recent Windows 10 upgrade (which wipes out some MAPI marshaling registry keys), try the registry patch from http://www.dimastr.com/redemption/Outlook_2013_C2R_fix.ZIP






share|improve this answer
























  • Thanks for that @DmitrySteblechenko. Is there anything I need to modify on those REG files to make them compatible with Outlook 2016?

    – Tim
    Nov 27 '18 at 5:30













  • No, as far as I know the keys are the same for both Outlook 2013 and 2016. Or you can reinstall Outlook.

    – Dmitry Streblechenko
    Nov 27 '18 at 16:07











  • Thanks Dmitry!! I shall test this out on the problem machine and get back with the result!

    – Tim
    Nov 27 '18 at 22:37











  • Hi Dimitry, I have not heard back from the client, so I assume the issue has been resolved. Thank you!!

    – Tim
    Jan 18 at 7:46
















1














If this is after a recent Windows 10 upgrade (which wipes out some MAPI marshaling registry keys), try the registry patch from http://www.dimastr.com/redemption/Outlook_2013_C2R_fix.ZIP






share|improve this answer
























  • Thanks for that @DmitrySteblechenko. Is there anything I need to modify on those REG files to make them compatible with Outlook 2016?

    – Tim
    Nov 27 '18 at 5:30













  • No, as far as I know the keys are the same for both Outlook 2013 and 2016. Or you can reinstall Outlook.

    – Dmitry Streblechenko
    Nov 27 '18 at 16:07











  • Thanks Dmitry!! I shall test this out on the problem machine and get back with the result!

    – Tim
    Nov 27 '18 at 22:37











  • Hi Dimitry, I have not heard back from the client, so I assume the issue has been resolved. Thank you!!

    – Tim
    Jan 18 at 7:46














1












1








1







If this is after a recent Windows 10 upgrade (which wipes out some MAPI marshaling registry keys), try the registry patch from http://www.dimastr.com/redemption/Outlook_2013_C2R_fix.ZIP






share|improve this answer













If this is after a recent Windows 10 upgrade (which wipes out some MAPI marshaling registry keys), try the registry patch from http://www.dimastr.com/redemption/Outlook_2013_C2R_fix.ZIP







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 27 '18 at 4:04









Dmitry StreblechenkoDmitry Streblechenko

43.7k32760




43.7k32760













  • Thanks for that @DmitrySteblechenko. Is there anything I need to modify on those REG files to make them compatible with Outlook 2016?

    – Tim
    Nov 27 '18 at 5:30













  • No, as far as I know the keys are the same for both Outlook 2013 and 2016. Or you can reinstall Outlook.

    – Dmitry Streblechenko
    Nov 27 '18 at 16:07











  • Thanks Dmitry!! I shall test this out on the problem machine and get back with the result!

    – Tim
    Nov 27 '18 at 22:37











  • Hi Dimitry, I have not heard back from the client, so I assume the issue has been resolved. Thank you!!

    – Tim
    Jan 18 at 7:46



















  • Thanks for that @DmitrySteblechenko. Is there anything I need to modify on those REG files to make them compatible with Outlook 2016?

    – Tim
    Nov 27 '18 at 5:30













  • No, as far as I know the keys are the same for both Outlook 2013 and 2016. Or you can reinstall Outlook.

    – Dmitry Streblechenko
    Nov 27 '18 at 16:07











  • Thanks Dmitry!! I shall test this out on the problem machine and get back with the result!

    – Tim
    Nov 27 '18 at 22:37











  • Hi Dimitry, I have not heard back from the client, so I assume the issue has been resolved. Thank you!!

    – Tim
    Jan 18 at 7:46

















Thanks for that @DmitrySteblechenko. Is there anything I need to modify on those REG files to make them compatible with Outlook 2016?

– Tim
Nov 27 '18 at 5:30







Thanks for that @DmitrySteblechenko. Is there anything I need to modify on those REG files to make them compatible with Outlook 2016?

– Tim
Nov 27 '18 at 5:30















No, as far as I know the keys are the same for both Outlook 2013 and 2016. Or you can reinstall Outlook.

– Dmitry Streblechenko
Nov 27 '18 at 16:07





No, as far as I know the keys are the same for both Outlook 2013 and 2016. Or you can reinstall Outlook.

– Dmitry Streblechenko
Nov 27 '18 at 16:07













Thanks Dmitry!! I shall test this out on the problem machine and get back with the result!

– Tim
Nov 27 '18 at 22:37





Thanks Dmitry!! I shall test this out on the problem machine and get back with the result!

– Tim
Nov 27 '18 at 22:37













Hi Dimitry, I have not heard back from the client, so I assume the issue has been resolved. Thank you!!

– Tim
Jan 18 at 7:46





Hi Dimitry, I have not heard back from the client, so I assume the issue has been resolved. Thank you!!

– Tim
Jan 18 at 7:46




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53491632%2finterface-not-supported-comexception-when-setting-rdosession-mapiobject%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

Calculate evaluation metrics using cross_val_predict sklearn

Insert data from modal to MySQL (multiple modal on website)