Creating Redemption.MAPIUtils failed with Windows 7 x64

Status
Not open for further replies.
A

Adrian Miller

Hi,

with Windows Vista x64 I was able to create the Redemption.MAPIUtils, how

ever this does not work with Windows 7 and Windows Server 2008 R2 in my

environment. Is a certain version required or anything else need to be

considered? Did anybody get this to work?

Thanks for any advice

Adrian

Adrian Miller
 
D

Dmitry Streblechenko

Do you have Outlook or teh standalone version of MAPI on the problematic

machine?

Keep in mind that the MAPIUtils object is being deprecated, use RDOSession

instead.

Dmitry Streblechenko (MVP)

-

"Adrian Miller" <adrian.miller@hotmail.com> wrote in message

news:ul$lli2fKHA.5564@TK2MSFTNGP06.phx.gbl...
> Hi,

> with Windows Vista x64 I was able to create the Redemption.MAPIUtils, how
> ever this does not work with Windows 7 and Windows Server 2008 R2 in my
> environment. Is a certain version required or anything else need to be
> considered? Did anybody get this to work?

> Thanks for any advice
> Adrian

> > Adrian Miller
>
 
A

Adrian Miller

Hi Dmitry,

thanks for your advice. I have Outlook 2007 SP2 on the machine. My .NET 2.0

app and Outlook is running in x86 mode. I'm actually using two methods. So

the solution would be to replace these as described below, right?

MAPIUtils.CurrentProfileName -> RDOSession.ProfileName

(http://www.dimastr.com/redemption/rdo/rdosession.htm)

MAPIUtils.Addressbook -> RDOSession.Addressbok

(http://www.dimastr.com/redemption/rdo/rdoaddressbook.htm)

Thanks for any advice in advance

Adrian

--
Adrian Miller

"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message

news:u4zJMzAgKHA.2188@TK2MSFTNGP04.phx.gbl...
> Do you have Outlook or teh standalone version of MAPI on the problematic
> machine?
> Keep in mind that the MAPIUtils object is being deprecated, use RDOSession
> instead.

> > Dmitry Streblechenko (MVP)
>

>

>

> -
> "Adrian Miller" <adrian.miller@hotmail.com> wrote in message
> news:ul$lli2fKHA.5564@TK2MSFTNGP06.phx.gbl...
> > Hi,
>

>> with Windows Vista x64 I was able to create the Redemption.MAPIUtils, how
> > ever this does not work with Windows 7 and Windows Server 2008 R2 in my
> > environment. Is a certain version required or anything else need to be
> > considered? Did anybody get this to work?
>

>> Thanks for any advice
> > Adrian
>

>> > > Adrian Miller
> >


>
 
D

Dmitry Streblechenko

yes.

Also, what exacrly do you mean by "this does not work"?

Dmitry Streblechenko (MVP)

-

"Adrian Miller" <adrian.miller@hotmail.com> wrote in message

news:%23lQRVTMgKHA.3552@TK2MSFTNGP06.phx.gbl...
> Hi Dmitry,

> thanks for your advice. I have Outlook 2007 SP2 on the machine. My .NET
> 2.0 app and Outlook is running in x86 mode. I'm actually using two
> methods. So the solution would be to replace these as described below,
> right?
> MAPIUtils.CurrentProfileName -> RDOSession.ProfileName
> (http://www.dimastr.com/redemption/rdo/rdosession.htm)

> MAPIUtils.Addressbook -> RDOSession.Addressbok
> (http://www.dimastr.com/redemption/rdo/rdoaddressbook.htm)

> Thanks for any advice in advance

> Adrian

> --> Adrian Miller

> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> news:u4zJMzAgKHA.2188@TK2MSFTNGP04.phx.gbl...
> > Do you have Outlook or teh standalone version of MAPI on the problematic
> > machine?
> > Keep in mind that the MAPIUtils object is being deprecated, use
> > RDOSession instead.
>

>> > > Dmitry Streblechenko (MVP)
> >

> >

> >

> > -
> > "Adrian Miller" <adrian.miller@hotmail.com> wrote in message
> > news:ul$lli2fKHA.5564@TK2MSFTNGP06.phx.gbl...
> >> Hi,
> >
>>> with Windows Vista x64 I was able to create the Redemption.MAPIUtils,
> >> how ever this does not work with Windows 7 and Windows Server 2008 R2 in
> >> my environment. Is a certain version required or anything else need to
> >> be considered? Did anybody get this to work?
> >
>>> Thanks for any advice
> >> Adrian
> >
>>> > >> Adrian Miller
> >>

>

>>


>
 
A

Adrian Miller

Hi Dmitry,

thanks. The error is that running .NET Code in x86 mode on x64 that

Activator.CreateInstance does not instantiate MAPIUtils.

Thanks again

Adrian

Adrian Miller

"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message

news:%23XElQp5gKHA.6096@TK2MSFTNGP02.phx.gbl...
> yes.
> Also, what exacrly do you mean by "this does not work"?

> > Dmitry Streblechenko (MVP)
>

>

>

> -
> "Adrian Miller" <adrian.miller@hotmail.com> wrote in message
> news:%23lQRVTMgKHA.3552@TK2MSFTNGP06.phx.gbl...
> > Hi Dmitry,
>

>> thanks for your advice. I have Outlook 2007 SP2 on the machine. My .NET
> > 2.0 app and Outlook is running in x86 mode. I'm actually using two
> > methods. So the solution would be to replace these as described below,
> > right?
> > MAPIUtils.CurrentProfileName -> RDOSession.ProfileName
> > (http://www.dimastr.com/redemption/rdo/rdosession.htm)
>

>> MAPIUtils.Addressbook -> RDOSession.Addressbok
> > (http://www.dimastr.com/redemption/rdo/rdoaddressbook.htm)
>

>> Thanks for any advice in advance
>

>> Adrian
>

>> --> > Adrian Miller
>

>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> > news:u4zJMzAgKHA.2188@TK2MSFTNGP04.phx.gbl...
> >> Do you have Outlook or teh standalone version of MAPI on the problematic
> >> machine?
> >> Keep in mind that the MAPIUtils object is being deprecated, use
> >> RDOSession instead.
> >
>>> > >> Dmitry Streblechenko (MVP)
> >>

> >>

> >>

> >> -
> >> "Adrian Miller" <adrian.miller@hotmail.com> wrote in message
> >> news:ul$lli2fKHA.5564@TK2MSFTNGP06.phx.gbl...
> >>> Hi,
> >>
>>>> with Windows Vista x64 I was able to create the Redemption.MAPIUtils,
> >>> how ever this does not work with Windows 7 and Windows Server 2008 R2
> >>> in my environment. Is a certain version required or anything else need
> >>> to be considered? Did anybody get this to work?
> >>
>>>> Thanks for any advice
> >>> Adrian
> >>
>>>> > >>> Adrian Miller
> >>
>>
>>>

>

>>


>
 
D

Dmitry Streblechenko

Make sure your app is compiled as 32 bit only: since MAPI is 32 bit, and

Redemption loads it in-proc, Redemption must also be 32 bit. Which, since

Redemption is an in-proc COM library, requires that the calling app must be

32 bit.

Dmitry Streblechenko (MVP)

-

"Adrian Miller" <adrian.miller@hotmail.com> wrote in message

news:uGvPbH%23hKHA.2132@TK2MSFTNGP05.phx.gbl...
> Hi Dmitry,

> thanks. The error is that running .NET Code in x86 mode on x64 that
> Activator.CreateInstance does not instantiate MAPIUtils.

> Thanks again
> Adrian

> > Adrian Miller
> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> news:%23XElQp5gKHA.6096@TK2MSFTNGP02.phx.gbl...
> > yes.
> > Also, what exacrly do you mean by "this does not work"?
>

>> > > Dmitry Streblechenko (MVP)
> >

> >

> >

> > -
> > "Adrian Miller" <adrian.miller@hotmail.com> wrote in message
> > news:%23lQRVTMgKHA.3552@TK2MSFTNGP06.phx.gbl...
> >> Hi Dmitry,
> >
>>> thanks for your advice. I have Outlook 2007 SP2 on the machine. My .NET
> >> 2.0 app and Outlook is running in x86 mode. I'm actually using two
> >> methods. So the solution would be to replace these as described below,
> >> right?
> >> MAPIUtils.CurrentProfileName -> RDOSession.ProfileName
> >> (http://www.dimastr.com/redemption/rdo/rdosession.htm)
> >
>>> MAPIUtils.Addressbook -> RDOSession.Addressbok
> >> (http://www.dimastr.com/redemption/rdo/rdoaddressbook.htm)
> >
>>> Thanks for any advice in advance
> >
>>> Adrian
> >
>>> --> >> Adrian Miller
> >
>>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> >> news:u4zJMzAgKHA.2188@TK2MSFTNGP04.phx.gbl...
> >>> Do you have Outlook or teh standalone version of MAPI on the
> >>> problematic machine?
> >>> Keep in mind that the MAPIUtils object is being deprecated, use
> >>> RDOSession instead.
> >>
>>>> > >>> Dmitry Streblechenko (MVP)
> >>>

> >>>

> >>>

> >>> -
> >>> "Adrian Miller" <adrian.miller@hotmail.com> wrote in message
> >>> news:ul$lli2fKHA.5564@TK2MSFTNGP06.phx.gbl...
> >>>> Hi,
> >>>
>>>>> with Windows Vista x64 I was able to create the Redemption.MAPIUtils,
> >>>> how ever this does not work with Windows 7 and Windows Server 2008 R2
> >>>> in my environment. Is a certain version required or anything else need
> >>>> to be considered? Did anybody get this to work?
> >>>
>>>>> Thanks for any advice
> >>>> Adrian
> >>>
>>>>> > >>>> Adrian Miller
> >>>
>>>
>>>
>>
>>>

>

>>


>
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
Fozzie Bear Outlook 2016 Creating a shared local Contacts folder Using Outlook 2
R Creating a user defined function Outlook VBA and Custom Forms 3
M Creating an RSS Feed **FROM** Outlook 2013 Calendar. Using Outlook 5
O How to prevent CC from showing when creating a new mail? Using Outlook 1
N Creating a button or link to a form in the Organizational Forms Library Outlook VBA and Custom Forms 3
B Creating an email with the list of tasks Outlook VBA and Custom Forms 0
L Creating drafts when I thought I was sending Using Outlook 1
R Would creating a new profile cause Outlook to download all the old mails from the server? Using Outlook 1
A Creating Progress Bar or Status Bar Update Outlook VBA and Custom Forms 0
T Outlook creating a folder named: "Unwanted" Using Outlook 3
M Outlook 2007 Contacts Glitch: Creating a new email Using Outlook 1
Liza Creating a rule in outlook to filter messages Using Outlook 0
A Are categories still recommended for creating local distribution lists? Using Outlook 3
S Creating Email - Selecting Pre-Defined Text Using Outlook 2
D Creating an outlook session from Access vba but run silently. With A specific profile Outlook VBA and Custom Forms 1
M Creating Outlook Appointments from Excel Cells Outlook VBA and Custom Forms 1
N Creating New Profile Using Outlook 0
Y Creating custom appointment request form with multiple mail recipients Outlook VBA and Custom Forms 5
M creating email from contact file = 3 emails in To field Using Outlook 3
P Recover / Extract Rules from standalone PST file creating RWZ file Using Outlook 2
A Creating an outlook rule to forward an email with a specific message Using Outlook 1
I Creating meeting invite with disabled tentative button Outlook VBA and Custom Forms 5
E Creating email templates for organizational use Using Outlook 0
N Creating or changing the main new mail message template in Outlook 2010 Using Outlook 2
D Creating custom view with VBA Outlook VBA and Custom Forms 2
J Outlook creating unwanted rule on its own Using Outlook 1
R Creating a Room Mailbox with Exchange Online Outlook VBA and Custom Forms 0
A Creating a rule on “Deleted items” folder Using Outlook 1
CMG73 Creating templates with predefined subject and CC Using Outlook 1
G Creating Contact Sub Folders Using Outlook 2
Rupert Dragwater creating gmail account in Outlook 2013 Using Outlook 7
nathandavies Creating a Select Case for a directory of folders Outlook VBA and Custom Forms 1
2 creating custom stationery Using Outlook 2
A Help creating macro for conditional formatting settings Using Outlook 8
Fozzie Bear Creating Custom Meeting Form Outlook VBA and Custom Forms 6
U Creating a (This computer only) folder within an IMAP account directory Using Outlook 1
A Creating archive rule on the clients by script/ Outlook VBA and Custom Forms 3
J Creating a URL from a message body excerpt before forwarding Using Outlook 2
B Need Help Creating Email Based on Subject w Address in Body Outlook VBA and Custom Forms 1
A Creating rule to create week folder and transfer mail using alert Using Outlook 3
J Creating an "isolated" shared calendar in Outlook Outlook VBA and Custom Forms 1
L Creating a Task from Email and Attaching Original Email Outlook VBA and Custom Forms 6
S Creating custom rule to move if "NAME" is in body but ignore the phrase "Hi NAME" in the search Using Outlook 2
witzker Outlook bug when creating a user defined contact form? Using Outlook 1
G Creating an Outlook Rule using Internet Header time Using Outlook 1
Wotme Creating a Outlook task in Excel Using Outlook 7
V Need to add some text in subject while creating new mails - NEED VB CODINGS Using Outlook 4
G Questions on creating Outlook forms Using Outlook 0
P Creating custom contact forms Using Outlook 2
K Outlook 2010 creating extremely large PST files for IMAP accounts Using Outlook 3
Similar threads


















































Top