Category Archives: Exchange

Exchange 2007 – Ahsay restore to a recovery group

Ahsay have no support for native restore to Exchange recovery group, but here is a workaround of that problems.

First create a recovery storagegroup
new-storagegroup -LogFolderPath F:\Backup\Restore\Logs -Name ExchangeRestore -SystemFolderPath F:\Backup\Restore\Data -Recovery

Then create a empty database
new-mailboxdatabase -mailboxdatabasetorecover “Mailbox Database” -storagegroup ExchangeRestore -edbfilepath “F:\Backup\Restore\Data\Mailbox Database.edb”

Restore the Exchange 2007 database to a alternative location in ahsay. With both logfiles and the database files, restore it to “F:\Backup\Restore\Data\Mailbox Database.edb” or where you location is.

Then run repair of the restored database.
Eseutil /p “F:\Backup\Restore\Data\Mailbox Database.edb”

Then mount the database
Mount-Database -Identity ‘ExchangeRestore\Mailbox Database’

Example restore a mailbox to a Restore mailbox in the real database.
Restore-Mailbox -RSGMailbox ‘mailbox_to_restore’ -RSGDatabase ‘ExchangeRestore\Mailbox Database’ -id ‘Restore’ -TargetFolder ‘Restore’

Dismount the database
Dismount-database -Identity ‘ExchangeRestore\Mailbox Database’

Remove the database
Remove-MailboxDatabase -Identity ‘ExchangeRestore\Mailbox Database’

Remove the recovery group
Remove-StorageGroup -Identity ‘ExchangeRestore’

Outlook crash on opening a shared calendar

I have a problems today with an Outlook that keeps crash sometimes when a user is opening a share calendar. I tested it on my test machine and when the user opening the shared calendar at my test machine my own outlook crash also.

I then try to give the user full permission to the mailbox and that resolve the issues.

The error code in the event viewer was:

Faulting application outlook.exe, version 12.0.6514.5000, stamp 4a89dc70, faulting module mso.dll, version 12.0.6425.1000, stamp 49d65443, debug? 0, fault address 0x000057ba.

This is not the best solution but is a workaround for now. It seams to be a bug in the way Exchange 2010 and Outlook 2007 is running.

See also: http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/43469ef9-2274-403c-9a15-44460540f9e4

Delegates (Stedfortræder) problems in outlook

The error messages in Danish:
Indstillingerne for stedfortrædere blev ikke gemt korrekt. send på vegne af-liste kunne ikke aktiveres. Du har ikke den nødvendige tilladelse til at udføre denne handling på objektet.

The error messages in English:
The Delegates settings were not saved correctly.
Unable to activate send-on-behalf-of list.
You do not have sufficient permission to perform this operation on this object.

Solution:
In order to resolve this you need to give Write Personal Information permission to the SELF account on the user who is trying to add the delegate. To do this, follow these steps:-

Connect to your mail server.
Open Active Directory Users and Computers, and then click Advanced Features if it is not already selected on the View menu.
Expand your domain, and then locate the user’s Organisational Unit (OU).
In the right pane, right-click the user who is experiencing the delegate issue, and then click Properties.
Click the Security tab, locate the SELF account, and then click “Write Personal Information” and “Read Personal Information”.
Click OK

Exchange Active Sync test

Hvis nogen har brug for at teste Active Sync, men ikke lige syntes de vil ødelægge deres egen telefons opsætning for at teste en given opsætningen, kan produktet her anbefales:

http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=38c46aa8-1dd7-426f-a913-4f370a65a582&displaylang=en

Det er en windows mobile emulator.

For at få netværk til at virke, kan henvises til denne guide:

http://www.betterthaneveryone.com/archive/2008/08/31/getting-network-access-on-the-windows-mobile-emulator.aspx

OWA is not working with “owaauth.dll failed to load”

The first error had an Error ID of 2214 and a description of:

“Could not load all ISAPI filters for site ‘DEFAULT WEB SITE’.  Therefore site startup aborted.”

The second error had an Error ID of 2268 and a description of:

“The HTTP Filter DLL C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\auth\owaauth.dll failed to load.  The data is the error.”

I have resolv this error by copying the C:\Program Files\Microsoft\Exchange Server\Bin\extrace.dll to c:\windows\system32\

Why Exchange OWA can’t find the file in orginal place i can’t answher? But now OWA is working again

Securing a Exchange 2007 Client Access server, with a signed certificates

Securing a Exchange 2007 Client Access server, with a signed certificates

First to request a certificates start Exchange Management Shell

Type this into the console:

New-ExchangeCertificate -DomainName exchange01.domainname.local, webmail.domain.prefix -FriendlyName ”Microsoft Exchange” -GenerateRequest:$True -Keysize 2048 -path c:\certrequest.txt -privatekeyExportable:$true -subjectName “c=DK, o=organization name, CN=webmail.domain.prefix”

Change domainname.local, domain.prefix (2 places) and last change you organization name.

Now you get a file, name c:\certrequest.txt. The content of this file, you can send this to yours 3rd party certificate authority.
After this you got an a signed certificates back, as you need to import into the Exchange servers, this is done like this.

Copy the sign certificates to a file in the root of c:\ name signcert.txt
And run this in the Exchange console

Import-ExchangeCertificate –Path c:\signcert.txt | Enable-ExchangeCertificate –Services IIS,POP,IMAP,SMTP

Arcserve R12 missing Exchange document level

After you have installed Arcserve R12, you maybe missing Exchange document level on you Exchange 2007. This may caused by you don’t have install ”Microsoft Messaging API and Collaboration Data Objects 1.2.1”, this can be downloaded here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=E17E7F31-079A-43A9-BFF2-0A110307611E&displaylang=en

After you have install this, you only need to restart the two CA services on the Exchange server:
CA ARCserve Discovery Service
CA ARCserve Universal Agent

Problems moving a user from Exchange 2003 to Exchange 2007 (Problems two)

We have some troubles moving user from one exchange 2003 to exchange 2007. We found that “Authenticated Users” was not in the user group Users, on the Exchange 2003 machine.
If the Exchange 2003 is a domain controller the Authenticated Users still need to be member of the user group.

The error we was getting was this:
XXX
Failed
Error:
Error was found for XX because: Error occurred in the step: Preparing mailbox to be moved. Failed to copy basic mailbox information with error: The Microsoft Exchange Information Store service could not find the specified object., error code: -1056749241
Exchange Management Shell command attempted:
‘141fc3d8-c100-46e6-b402-fc653b26afe4′ | move-mailbox -TargetDatabase ‘CN=Mailbox Database,CN=First Storage Group,CN=InformationStore,CN=XXXX,CN=Servers,CN=Exchange Administrative Group (XXXXX),CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=XXXX,DC=net’
Elapsed Time: 00:00:10