Archive for the ‘Microsoft Exchange 2003’ Category

Error message when you try to open a 2007 Office system file attachment in Outlook Web Access

SYMPTOMS

When you try to open a 2007 Microsoft Office system file attachment by using Microsoft Office Outlook Web Access, you may receive the following error message:

To open this attachment, you must save it to your disk, right-click the link, and then click Save.

This problem occurs if the following conditions are true:

The e-mail message is sent by using Outlook 2003 or by using Outlook 2007.
You read the e-mail message in Outlook Web Access.

RESOLUTION

To resolve this problem, add the 2007 Office system content types to Exchange so that the conversion process can recognize these content types. A content type is a string that has a file name extension associated with it. To add the string and the associated file name extension, use Exchange System Manager. To do this, follow these steps:

1. Open Exchange System Manager.
2. Expand Global Setting Branch.
3. Right-click Internet Message Formats, and then click Properties. This operation displays the current list of known MIME content types.
4. Examine the list, and confirm that the 2007 Office system file name extensions are not in the list.
5. Click Add, and then copy and paste the appropriate MIME type from the following table in the text box that is provided. Additionally, type the appropriate file name extension that corresponds to the MIME type in the Extension check box.

MIME type File name extension
application/vnd.openxmlformats-officedocument.presentationml.presentation               pptx
application/vnd.openxmlformats-officedocument.presentationml.slide               sldx
application/vnd.openxmlformats-officedocument.presentationml.slideshow               ppsx
application/vnd.openxmlformats-officedocument.presentationml.template               potx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet               xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.template               xltx
application/vnd.openxmlformats-officedocument.wordprocessingml.document               docx
application/vnd.openxmlformats-officedocument.wordprocessingml.template               dotx
6. Click OK.
7. Restart the Microsoft Exchange Information Store Service to make sure that the store obtains the new list.
8. Restart Outlook, and send a new test e-mail message that includes a 2007 Office system file attachment. For comparison, send an e-mail message that contains the same attachment by using Outlook Web Access.

Monday, June 9th, 2008

The Microsoft Exchange Information Store service stops responding after you enable an antivirus program that uses the VSAPI for Microsoft Exchange 2003

The Microsoft Exchange Information Store service stops responding (hangs) 24 to 36 hours after you enable an antivirus program that uses the Microsoft Virus Scanning Application Programming Interface (VSAPI) in Microsoft Exchange Server 2003. Sybari Antigen for Microsoft Exchange is an example of such a program.

Additionally, the Microsoft Exchange Information Store service may stop responding (hang) when you perform a backup of Exchange Server 2003.

Additionally, an event that resembles the following event may be logged in the Application log:

Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Description: Faulting application store.exe, version 6.5.xxxx.xx, faulting module exsmtp.dll, version 6.5.7638.1, fault address 0×000096f6.

Hotfix 

Monday, June 9th, 2008

Error message: This e-mail address already exists in this organization

RESOLUTION

1. Start the Exchange System Manager.
2. Click to expand the Recipients container.
3. Right-click All Address Lists, point to New, and then click Address List.
4. Click the Filter Rules button and verify that it is set to Exchange Recipients (the default setting).
5. Click the Advanced tab, click Field, and then click User.
6. Click E-mail Address.
7. In the Condition box, click Starts with, and then in the empty box to the right, type the first few letters of the address that you want to search for.
8. Check the lower window for matches.

If you find objects that have the same e-mail address as the one you are trying to add, either change the e-mail address for this object or delete the address if it is longer needed.

Repeat the same process for public folders, contacts and groups, but use the following modifications:

1. In step 5, point to User, and then change the setting to Public Folder, to Contact, or to Group.
2. In step 6, click E-mail Address or Alias if the E-mail Address option is not available.

Wednesday, March 19th, 2008

How to add a disclaimer to outgoing SMTP messages in Visual Basic script

Create the event sink

To create an event sink, paste the following code in a new file and save it as EventSinkScript.vbs.

<script language=”VBScript”>
Sub ISMTPOnArrival_OnArrival(ByVal Msg, EventStatus)
   TextDisclaimer = vbCrLf & “DISCLAIMER:” & vbCrLf & “Sample Disclaimer added in a VBScript.”
   HTMLDisclaimer = “

DISCLAIMER:
Sample Disclaimer added in a VBScript.”

If Msg.HTMLBody <> “” Then
      ‘Search for the “” tag and insert our disclaimer before that tag.
      pos = InStr(1, Msg.HTMLBody, “”, vbTextCompare)
      szPartI = Left(Msg.HTMLBody, pos – 1)
      szPartII = Right(Msg.HTMLBody, Len(Msg.HTMLBody) – (pos – 1))
      Msg.HTMLBody = szPartI + HTMLDisclaimer + szPartII
   End If

If Msg.TextBody <> “” Then
      Msg.TextBody = Msg.TextBody & vbCrLf & TextDisclaimer & vbCrLf
   End If

‘Commit the content changes to the transport ADO Stream object.
   Msg.DataSource.Save ‘ Commit the changes into the transport Stream

EventStatus = cdoRunNextSink
End Sub
</script>

Register the event sink

To register your event sink, use the Smtpreg.vbs file, which is installed with the Exchange SDK. From a command prompt, browse to the …\Exchange SDK\SDK\Support\CDO\Scripts folder and type the following (make sure that the path to EventSinkScript.vbs is correct):
cscript smtpreg.vbs /add 1 onarrival SMTPScriptingHost CDO.SS_SMTPOnArrivalSink “mail from=*@your-domain-here.com”

cscript smtpreg.vbs /setprop 1 onarrival SMTPScriptingHost Sink ScriptName “C:\EventSinkScript.vbs”

If the command succeeds, you receive a success message generated by the script.

To unregister this event, type the following:

cscript smtpreg.vbs /remove 1 OnArrival SMTPScriptingHost

For more information on registering events with Smtpreg.vbs, see the “Managing Event Bindings” topic on the following MSDN Web site:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/7406817f-b48f-4b62-86af-bd6703fca4f6.asp

Wednesday, March 5th, 2008

You cannot install Exchange 2003 Service Pack 2 on a Windows Small Business Server 2003-based computer that has the Exchange Server Intelligent Message Filter v2 installed

To resolve this issue, follow these steps:

1. Use an account that has administrative permissions to log on to the Windows Small
     Business Server 2003-based computer.
2. In Windows Explorer, locate the MSCFV2 folder. The MSCFV2 folder is located in the
     following folder:

     Program Files\Exchsrvr\bin

3. Right-click the MSCFV2 folder, click Rename, and then rename the folder to MSCFV2.OLD.
4. Right-click the ContentFilter.dll file, click Rename, and then rename the file to
     ContentFilter.OLD.
5. Click Start, click Run, type regedit in the Open box, and then click OK.
6. In Registry Editor, click the following subkey:

     HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange

7. On the File menu, click Export.
8. In the Export Registry File dialog box, type a name, and then click Save to save the subkey.
9. Right-click the following subkeys one at a time, and then click Delete to delete each
     subkey:

• HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\ContentFilterState
• HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\ContentFilterVersion
• HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\ContentFilter

10. Restart the Windows Small Business Server 2003-based computer.
11. Install Exchange 2003 SP2.

Monday, March 3rd, 2008