Solved

Run MAPI on Windows server 2000

Posted on 2003-11-12
6
360 Views
Last Modified: 2008-02-01
Hi Experts,

I'm trying to run an application that I developed under Win XP on a Windows server 2000 box.

I'm still getting the exception: "COM object with CLSID {3FA7DEB3-6438-101B-ACC1-00AA00423326} is either not valid or not registered" when I do some calls to MAPI.

The application is a service that run under a specific user account (specified in the service logon tab).

I've read somewhere that MAPI won't run without an outlook installation but I found out later that this is false because someone here is running the same code on a server without Office or Exchange. The only difference is the other app is written in VB6, I just took is code and translate it in .NET. And we cannot install Office on the server as this is not recommended by microsoft.

I tried the regasm util to register the Interop.MAPI.dll but it still dont work.

I'll be more than happy if anyone have any good suggestion.

Thanks i advance.
0
Comment
Question by:JeromeCaQcMtl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 18

Accepted Solution

by:
testn earned 165 total points
ID: 9737317
0
 
LVL 18

Expert Comment

by:testn
ID: 9737330
.NET doesn't support MAPI+CDO
also read this.....
http://support.microsoft.com/?kbid=813349
0
 
LVL 28

Assisted Solution

by:iboutchkine
iboutchkine earned 165 total points
ID: 9739208
You can run MAPI under .NET.  Add the reference to the COM control. I am using MAPI controls to send email with Eudoea. If you need the code let me know
0
 
LVL 1

Author Comment

by:JeromeCaQcMtl
ID: 9740965
Thank you guys,

I know iboutchkine that it work, it work on my workstation but not on a server without a mail client installed. We made it work here on the same platform but the application was build in VB6. I try to run the same code translated in .NET on another Windows Server 2000.

I found this that I'll first try, we'll reboot the server later to see if it works.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mapi/html/_mapi1book_installing_mapi.asp

If this don't work I'll try the other dll supported by .NET in the link that testn sent.

Thanks
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10267920
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: testn {http:#9737330} & iboutchkine {http:#9739208}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question