ok, to set the scene
i have a fresh install of server 2008 on 2 boxes, one is the domain controller, dns, etc etc the other is the exchange server 2007
when i try to run the loadgen on the server 2007 box it can create the mailboxes in the AD (so that part is all working!) but it for some reason, when you then run initialize it fails, it threw up an imapi error below.. ( this was for a 1 mailbox load)
StoreBuilder.General Error: 0 : 23/10/2008 23:02:50 -- Diagnostic context (user: 'UE\E62D1B4E-LGU000000'):
distinguishedName 'CN=MSX2007 E62D1B4E-LGU000000,OU=Mailbox Database,OU=First Storage Group,OU=MSX2007,OU=Users,OU=LoadGen Objects,DC=UE,DC=COM', exchServerDn '/o=Universal Export/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=MSX2007', userDn '/o=Universal Export/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=E62D1B4E-LGU000000', mailNickName 'E62D1B4E-LGU000000', emailAddress 'E62D1B4E-LGU000000@ue.com'.
Engine.General Critical: 0 : 23/10/2008 23:02:51 -- Caught exception in executeTaskStub: Microsoft.Mapi.MapiExceptionNoAccess: MapiExceptionNoAccess: Unable to make connection to the server. (hr=0x80070005, ec=-2147024891)
Diagnostic context:
......
Lid: 12952 dwParam: 0x5 Msg: EEInfo: prm[0]: Long val: 5
Lid: 23065 EcDoConnectEx called [length=155]
Lid: 28153 EcDoConnectEx exception [rpc_status=0x5 ][latency=31]
Lid: 16280 dwParam: 0x5 Msg: EEInfo: ComputerName: n/a
Lid: 8600 dwParam: 0x5 Msg: EEInfo: ProcessID: 5284
Lid: 12696 dwParam: 0x5 Msg: EEInfo: Generation Time: 2008-10-23 22:02:50:952
Lid: 10648 dwParam: 0x5 Msg: EEInfo: Generating component: 2
Lid: 14744 dwParam: 0x5 Msg: EEInfo: Status: 5
Lid: 9624 dwParam: 0x5 Msg: EEInfo: Detection location: 1750
Lid: 13720 dwParam: 0x5 Msg: EEInfo: Flags: 0
Lid: 11672 dwParam: 0x5 Msg: EEInfo: NumberOfParameters: 1
Lid: 12952 dwParam: 0x5 Msg: EEInfo: prm[0]: Long val: 5
Lid: 19778
Lid: 27970 StoreEc: 0x80070005
Lid: 17730
Lid: 25922 StoreEc: 0x80070005
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx)
at Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName, Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize)
at Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String& correctServerDN, ClientIdentityInfo clientIdentity, String applicationId)
at Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, String mailboxDn, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, ClientIdentityInfo clientIdentity, CultureInfo cultureInfo, String applicationId)
at Microsoft.Exchange.Swordfish.Extensions.MapiCommon.MapiStoreUtil.<>c__DisplayClass2.<OpenMailbox>b__0()
at Microsoft.Exchange.Swordfish.IL.ILUtil.DoTryFilterCatch(ThreadStart tryClause, Predicate`1 filterClause, Action`1 catchClause)
at Microsoft.Exchange.Swordfish.Extensions.MapiCommon.MapiStoreUtil.OpenMailbox(User user, ConnectFlag connectFlags, OpenStoreFlag openStoreFlags)
at Microsoft.Exchange.Swordfish.Extensions.StoreBuilder.Builder.ensureMailboxStore(User user)
at Microsoft.Exchange.Swordfish.Extensions.StoreBuilder.Builder.buildSmartFolders(User user)
at Microsoft.Exchange.Swordfish.Extensions.StoreBuilder.Builder.BuildMailboxStore(User user)
at Microsoft.Exchange.Swordfish.Extensions.Outlook2003Online.Outlook2003OnlineModule.InitializeMailboxTask(Object state)
at Microsoft.Exchange.Swordfish.TaskEngine.<>c__DisplayClassc.<executeTaskStub>b__5()
at Microsoft.Exchange.Swordfish.IL.ILUtil.DoTryFilterCatch(ThreadStart tryClause, Predicate`1 filterClause, Action`1 catchClause)
i am running this is the a domain administrator, and i have also added the domain administrator to the org admin exchange role. so i think all the permissions are correct
where oh where can i set the imapi part! its driving me up the wall! ( i have set that on the mailbox account bit if thats what ur thinking !)
GP
i have a fresh install of server 2008 on 2 boxes, one is the domain controller, dns, etc etc the other is the exchange server 2007
when i try to run the loadgen on the server 2007 box it can create the mailboxes in the AD (so that part is all working!) but it for some reason, when you then run initialize it fails, it threw up an imapi error below.. ( this was for a 1 mailbox load)
StoreBuilder.General Error: 0 : 23/10/2008 23:02:50 -- Diagnostic context (user: 'UE\E62D1B4E-LGU000000'):
distinguishedName 'CN=MSX2007 E62D1B4E-LGU000000,OU=Mailbox Database,OU=First Storage Group,OU=MSX2007,OU=Users,OU=LoadGen Objects,DC=UE,DC=COM', exchServerDn '/o=Universal Export/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=MSX2007', userDn '/o=Universal Export/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=E62D1B4E-LGU000000', mailNickName 'E62D1B4E-LGU000000', emailAddress 'E62D1B4E-LGU000000@ue.com'.
Engine.General Critical: 0 : 23/10/2008 23:02:51 -- Caught exception in executeTaskStub: Microsoft.Mapi.MapiExceptionNoAccess: MapiExceptionNoAccess: Unable to make connection to the server. (hr=0x80070005, ec=-2147024891)
Diagnostic context:
......
Lid: 12952 dwParam: 0x5 Msg: EEInfo: prm[0]: Long val: 5
Lid: 23065 EcDoConnectEx called [length=155]
Lid: 28153 EcDoConnectEx exception [rpc_status=0x5 ][latency=31]
Lid: 16280 dwParam: 0x5 Msg: EEInfo: ComputerName: n/a
Lid: 8600 dwParam: 0x5 Msg: EEInfo: ProcessID: 5284
Lid: 12696 dwParam: 0x5 Msg: EEInfo: Generation Time: 2008-10-23 22:02:50:952
Lid: 10648 dwParam: 0x5 Msg: EEInfo: Generating component: 2
Lid: 14744 dwParam: 0x5 Msg: EEInfo: Status: 5
Lid: 9624 dwParam: 0x5 Msg: EEInfo: Detection location: 1750
Lid: 13720 dwParam: 0x5 Msg: EEInfo: Flags: 0
Lid: 11672 dwParam: 0x5 Msg: EEInfo: NumberOfParameters: 1
Lid: 12952 dwParam: 0x5 Msg: EEInfo: prm[0]: Long val: 5
Lid: 19778
Lid: 27970 StoreEc: 0x80070005
Lid: 17730
Lid: 25922 StoreEc: 0x80070005
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx)
at Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName, Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize)
at Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String& correctServerDN, ClientIdentityInfo clientIdentity, String applicationId)
at Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, String mailboxDn, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, ClientIdentityInfo clientIdentity, CultureInfo cultureInfo, String applicationId)
at Microsoft.Exchange.Swordfish.Extensions.MapiCommon.MapiStoreUtil.<>c__DisplayClass2.<OpenMailbox>b__0()
at Microsoft.Exchange.Swordfish.IL.ILUtil.DoTryFilterCatch(ThreadStart tryClause, Predicate`1 filterClause, Action`1 catchClause)
at Microsoft.Exchange.Swordfish.Extensions.MapiCommon.MapiStoreUtil.OpenMailbox(User user, ConnectFlag connectFlags, OpenStoreFlag openStoreFlags)
at Microsoft.Exchange.Swordfish.Extensions.StoreBuilder.Builder.ensureMailboxStore(User user)
at Microsoft.Exchange.Swordfish.Extensions.StoreBuilder.Builder.buildSmartFolders(User user)
at Microsoft.Exchange.Swordfish.Extensions.StoreBuilder.Builder.BuildMailboxStore(User user)
at Microsoft.Exchange.Swordfish.Extensions.Outlook2003Online.Outlook2003OnlineModule.InitializeMailboxTask(Object state)
at Microsoft.Exchange.Swordfish.TaskEngine.<>c__DisplayClassc.<executeTaskStub>b__5()
at Microsoft.Exchange.Swordfish.IL.ILUtil.DoTryFilterCatch(ThreadStart tryClause, Predicate`1 filterClause, Action`1 catchClause)
i am running this is the a domain administrator, and i have also added the domain administrator to the org admin exchange role. so i think all the permissions are correct
where oh where can i set the imapi part! its driving me up the wall! ( i have set that on the mailbox account bit if thats what ur thinking !)
GP