Things I Learnt Today

October 22, 2008

Checking the Reminders table in Outlook

Filed under: Outlook — Ding @ 8:38 am

Everyone must have run Outlook /CleanReminders at some point, but sometimes it is interesting to know why it might be necessary to do that.

Well the usual reason is that either reminders are coming up all over the place, or that reminders are not working at all.

Here is a nifty bit of code that will enumerate the reminders table in Outlook.  You can run it using either Outlook Spy via the Script option, or natively in Outlook 2003 (and Outlook 2007) by pressing Alt-F11, and then adding this code to the ThisOutlookSession area :

Sub test()

Dim olApp
Dim objRem
Dim objRems
Dim strTitle

Set olApp = Application
Set objRems = olApp.Reminders
strTitle = “Current Reminders:”
‘If there are reminders, display message
If olApp.Reminders.Count <> 0 Then
For Each objRem In objRems
‘If string is empty, create new string
If strReport = “” Then
strReport = objRem.NextReminderDate & “: ” & objRem.Caption & vbCrLf
Else
‘Add info to string
strReport = strReport & objRem.NextReminderDate & “: ” & objRem.Caption & vbCrLf
End If
Next
‘Display report in dialog
MsgBox strTitle & vbCr & vbCr & strReport
Else
MsgBox “There are no reminders in the collection.”
End If

End Sub

You can then juse run it, and you’ll get a message box with a list of the reminders.

October 2, 2008

Strange issue with Outlook Web Access 2007

Filed under: Exchange, Exchange 2003, Exchange 2007 — Ding @ 2:18 pm

I have a mixed Exchange 2007 and Exchange 2003 environment.  In the environment I have :-

* An Exchange 2003 mailbox server

* An Exchange 2003 front-end server

* An Exchange 2007 CAS

* An Exchange 2007 mailbox server

The 2007 CAS runs Exchange 2007 SP 1.  From a client machine accessing the Exchange 2007 mailboxes using Outlook Web Access access to public folders is working.  When I click on a Public Folder which is hosted on the Exchange 2003 world, then I get some text in the right hand page saying :-

Click here to open this folder with Microsoft Exchange 2003 Outlook Web Access

When I click that link I was getting a page saying : 501 & 505…

HTTP 501 Not Implemented/HTTP 505 Version Not Supported

Further if I go to https://cas/public, I actually get redirected to https://cas/owa.

The issue is “resolved” by updating the mailbox server to Exchange 2007 SP 1.

Blog at WordPress.com.