Tag Archives: exchange 2007

Test Exchange remote connectivity

Microsoft have launch a new webpage to test Exchange remote connectivity.

It can test:

ActiveSync
Activesync autodiscover
Outlook autodiscover
Microsoft Exchange Web Services Connectivity Tests
Outlook Anywhere (RPC over HTTP)

Outbound SMTP E-Mail

https://www.testexchangeconnectivity.com/

A problem occurred while trying to use your mailbox

Today i have a user that could get access to the exchange webmail. (OWA).

There are som solutions for this error, try to fix from bullet number 1, and down.

  1. Get-Mailbox User_Name | format-list ExchangeVersion
    if the version is below 0.1 the run this command:
    Set-Mailbox User_Name -ApplyMandatoryProperties
  2. 1. Open ADUC, and go to the properties of the user that is having problems.
    2. Click the Security tab, and then the Advanced button.
    3. Make sure the “Allow inheritable permissions from the parent to propagate to this object…” is checked.
    4. Give AD time to replicate the change and try to login in via OWA again.
  3. Restart the Information Store service.
  4. 1. Open ADUC, and go to the properties of the user that is having problems.
    2. Click the Security tab, and then the find the account SELF.
    3. Give it fuld access.
    4. Give AD time to replicate the change and try to login in via OWA again.
  5. If all this dosen’t work, disable the user in Exchange EMC, this will delete the mailbox, so remember to have a backup of the account first. Then create a new mailbox to this user, and create the user again, and restore the mailbox from your backup.

Export Exchange 2007/2010 tracking log

To export Exchange 2007/2010 tracking log to a Excel, just run this command.
get-messagetrackinglog -Start “31-08-2010 00:00:00” -End “01-09-2010 12:16:00″ -resultsize Unlimited | select-object Timestamp,ClientIp,ClientHostname,ServerIp,ServerHostname,SourceContext,ConnectorId,Source,EventId,InternalMessageId,MessageId,TotalBytes,RecipientCount,MessageSubject,Sender,ReturnPath,@{Name=”Recipients”;Expression={$_.recipients}},MessageInfo | Export-Csv
It will export all mails from 31/8-2010 to 1/9-2010, with the selected fiels.

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’

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

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