Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 16th, 2007, 05:17 AM
Registered User
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Exchange create mailbox

I want to create a mailbox-enabled mailbox. First i have used the toturial from microsoft:
http://support.microsoft.com/kb/313114
Then my homeMDB string was incorrect. I saw an article , link:
http://forums.asp.net/thread/952974.aspx
This guy has the same problem as me. I still have that problem. Mine server is a local server, so i have nog second domain name, i think.
This i my code of my homeMDB:
Code:
try
        {
            CDOEXM.IMailboxStore mailbox;
            homeMDB = "CN=Mailbox Store(AOICTTESTSERVER), CN=First Storage Group,"
                + "CN=InformationStore, CN=AOICTTESTSERVER, CN=Servers,"
                + "CN=First Administrative Group, CN=Administrative Groups,"
                + "CN=AOICTTEST ,CN=Microsoft Exchange, CN=Services,"
                + "CN=Configuration, DC=AOICTTEST.local";
            mailbox = (IMailboxStore)user.NativeObject;
            mailbox.CreateMailbox(homeMDB);
            user.CommitChanges();
        }
        catch(Exception e)
        {
            Response.Write("waar gaat het fout:"+e.ToString());
            Response.Write("<br/>"+homeMDB);
        }


this is my tree in Exchange:
AOICTTEST(Echange)
->Administrative Groups
-->Servers
--->AOICTTESTSERVER
---->First Storage Group
----->Mailbox store(AOICTTESTSERVER)
------>Mailboxes






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read out a inbox mailbox splanky Pro VB.NET 2002/2003 7 October 18th, 2007 07:14 AM
Read Exchange Mailbox tclancey Pro Visual Basic 2005 4 April 16th, 2007 09:31 AM
Create/delete Exchange 5.5 Mailbox with VB.Net DennisTh VB How-To 7 August 5th, 2004 08:52 PM
Create ADSI User and Exchange Mailbox vbsdp Pro VB 6 2 May 26th, 2004 04:40 PM
How to create a mailbox in exchange 2003 using ASP nobreferreira Classic ASP Basics 0 March 22nd, 2004 01:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.