Le Café Central de
Deva             


                    ... Deva blogs!!



  • Le Café Central de DeVa

    Windows Desktop Search 3.0 does not return Outlook 2007 e-mail items

    • 1 Comments

    When you use Windows Desktop Search 3.0 together with Microsoft Office Outlook 2007, you experience the following symptoms:

    • No e-mail items are returned when you use Windows Desktop Search to search for items.

    • On a Microsoft Windows XP-based computer, Outlook may not appear on the All Locations menu in Windows Desktop Search.

    • When you open the Indexing Options item in Control Panel, you experience one of the following symptoms:

    Microsoft Office Outlook does not appear in the Included Locations list in the Indexing Options dialog box.

    Microsoft Office Outlook appears in the Included Locations list. However, a folder icon appears next to Microsoft Office Outlook instead of the Outlook 2007 icon.

    • If you click Modify in the Indexing Options dialog box, you experience one of the following symptoms:

    Microsoft Office Outlook does not appear in the Indexed Locations dialog box.

    Microsoft Office Outlook appears in this dialog box. However, if you expand Microsoft Office Outlook, Mailbox - Your Name does not appear.

    • If you are running Windows Vista, the following event is logged in the Application log:

    Event Source: Search
    Event Category: Gatherer
    Event ID: 3036
    Date: date
    Time: time
    Type: Warning
    User: N/A
    Computer: ComputerName
    Description: The content source <mapi://[GUID}/> cannot be accessed.
    Content Windows Application, SystemIndexCatalog
    Details:
    The filtering was stopped because of a user action, such as stopping the crawl
    {0x80040d54}

    If you are running Windows XP, the following event is logged in the Application log:

    Event Source: Windows Search Service
    Event Category: Gatherer
    Event ID: 3036
    Date: date
    Time: time
    Type: Warning
    User: N/A
    Computer: ComputerName
    Description: The content source <mapi://[GUID}/> cannot be accessed.
    Content Windows Application, SystemIndexCatalog
    Details:
    The specified address was excluded from the index. The site path rules may have to be modified to include this address.
    {0x80040d07}

    This issue occurs if the following registry subkey is missing from the computer:

    HKEY_CLASSES_ROOT\Outlook.Application

    You may experience this issue if you install a Microsoft Office 2003 program after the 2007 Microsoft Office system is installed.

    For example, you experience this issue in the following scenario:

    1. You install the 2007 Office system.

    2. You modify the 2007 Office system installation to remove Microsoft Office Word 2007.

    3. You install Microsoft Office Word 2003.

    For detailed information, please go through the following KB article and its resolution steps.

  • Le Café Central de DeVa

    Outlook Add-in : How to apply Windows XP themes to Office COM Add-ins?

    • 0 Comments

    When you create a COM add-in for a Microsoft Office program, the appearance of that add-in will conform by default to the standard Office appearance. However, with Microsoft Windows XP, you can choose from a number of visual styles (or themes) to customize the appearance of a Microsoft Windows program.

    Unless Windows themes are explicitly enabled for a COM add-in, the appearance of the add-in does not change with these color schemes, leading the add-in to appear dated or out-of-synch with the program where it is contained. With the Microsoft Visual C++ or the Microsoft Visual Studio .NET languages, you can enable your COM add-in to opt-in to Windows themes.

    When you enable an add-in for Windows themes, the themes affect only the appearance of the add-in. The functionality of the add-in is not affected.

    Add-ins created with,

    • MS Visual Basic 6.0: Visual Basic 6.0 does not support themes. Add-ins cannot be themed by using Visual Basic 6.0.
    • MS Visual C++ 6.0 : To use Visual C++ 6.0 to enable a COM add-in to opt-in to Windows XP themes, please read the following code snippet.
    • MS Visual Studio.Net and managed languages: To use Visual Studio .NET and the .NET Framework to enable Windows XP themes for a COM add-in, please follow these steps.

    For more detailed information, please go through the following KB article. If you need more details about how to use Windows XP visual styles (themes), you can visit the following Microsoft MSDN Web site: http://msdn2.microsoft.com/en-us/library/ms997646.aspx

  • Le Café Central de DeVa

    Download: Outlook 2007 Add-ins & code samples

    • 0 Comments

    Whenever we discuss with regards to Outlook Add-in customization, many of our customer(s) or their developers want to customize it according to their requirements. Also they look for the code-samples, related articles to proceed further. In this discussion, i have added couple of Outlook 2007 specific add-ins, code samples along with their download links.

    Please download the following Outlook add-ins along with the code-samples:

    Outlook 2007 Add-Ins: RulesAddin, TravelAgencyAddin, and PrepareMeAddin
    Download: http://www.microsoft.com/downloads/details.aspx?FamilyId=F871C923-3C42-485D-83C7-10A54A92E8A2&displaylang=en

    Please note: The Outlook 2007 Sample Add-Ins are a learning tool that will help you understand some of the important new features in the Outlook 2007 object model. Each sample is available in a version for Visual Studio 2005 Tools for Office Second Edition (VSTO 2005 SE) in addition to the version based on the Outlook 2007 Sample: Visual Studio 2005 Templates.

    They provide coverage of the following important new areas:

    • Using the Rules object model, which allows you to programmatically create or access most rules supported by the Outlook Rules Wizard (Rules sample)
    • Implementing a form region for an Outlook contact item (Travel Agency sample)
    • Adding a custom task pane to an Outlook AppointmentItem (Prepare Me sample)
    Outlook 2007 Sample: Ribbon Extensibility Add-In
    Download: http://www.microsoft.com/downloads/details.aspx?FamilyID=11ab93bf-48dc-4f73-8f6b-62b4482a92bc&displaylang=en

    Please note: The Outlook 2007 Ribbon Extensibility Add-In is a learning tool that will help you understand how to customize the Ribbon for Outlook Inspector windows. It provides coverage of the following important new areas:

    • How legacy command bar customizations appear in an Outlook Inspector window
    • How to implement the Office.IRibbonExtensibility interface in an Outlook add-in
    • Providing Ribbon markup for Ribbon customization depending on the RibbonID string passed in the GetCustomUI callback
    • Using the IRibbonControl.Context object to find an instance of an Inspector object
    • Changing the state of Ribbon controls depending on the PropertyChange event for an Outlook item.
    Outlook 2007 Sample: Visual Studio 2005 Templates
    Download: http://www.microsoft.com/downloads/details.aspx?familyid=0cab159a-0272-4635-b158-10553779a3df&displaylang=en

    Please note: The Outlook 2007 Add-in Templates provide a basic template for developing Outlook 2007 add-ins using Visual Studio 2005. The templates are available in both Visual Basic and Visual C# languages. Each template includes the OutlookItem class, which enables developers to work with generic Outlook items through late-binding, without determining the item type first.

    The templates also include wrapper classes that enable you to track multiple Outlook Inspector or Explorer windows. The templates provide an alternative to the Outlook add-in templates available with Microsoft Visual Studio 2005 Tools for the 2007 Office system (VSTO 2005 Second Edition). VSTO 2005 SE is the preferred tool for developing add-ins for Outlook 2007. If you choose to build your add-in by using the Outlook 2007 Add-In Templates, you must add a COM Shim project and a Setup project to your add-in solution.

    Outlook 2007 Add-In: Form Region Add-In
    Download: http://www.microsoft.com/downloads/details.aspx?familyid=932b830f-bf8f-41fc-9962-07a741b21586&displaylang=en

    Please note: The Outlook 2007 Form Region Add-ins are a learning tool that will help you understand how to design, build, and run custom form solutions based on Outlook form regions. They provide coverage of the following important new areas:

    • Tracking the state of a form region across multiple windows
    • Implementing the FormRegionStartup interface in an Outlook add-in
    • Understanding the form region manifest XML
    • Registering a form region with Outlook
    • Storing form components as a project resource
    • Deploying a form region solution
    Outlook 2007 Sample: What's New Add-Ins
    Download: http://www.microsoft.com/downloads/details.aspx?FamilyId=AABF127D-D069-4549-A1B1-667A698C3EF6&displaylang=en

    Please note: The Outlook 2007 What's New Add-Ins are a learning tool that will help you understand some of the important new features in the Outlook 2007 object model. They provide coverage of the following important new areas:

    • Context menu customization
    • The Table object model and Instant Search queries
    • The PropertyAccessor object that allows getting or setting properties that are not explicitly exposed in the Outlook object model
    • The Rules object model that allows programmatically creating or accessing most rules supported by the Outlook Rules Wizard
    • The SelectNamesDialog object that displays the Outlook Address Book and lets you customize the dialog caption and recipient selectors
    • Enhancements to the AddressEntry and AddressList objects, including the ExchangeUser and ExchangeDistributionList objects that allow getting and setting properties of an Exchange user or Exchange distribution list.
  • Le Café Central de DeVa

    CASPOL & Add-in : How to Full trust the assemblies ?

    • 0 Comments

    If we want to "fully trust" the assemblies, it can be done through the signed assemblies. In Visual Studio 2005, you need to select the Properties for the project and select the Signing tab.  After you installed (including the newly signed assemblies) you need to give permission to the assemblies. This can be done using a tool called CASPOL.EXE.

    The CASPOL or Code Access Security Policy tool enables users and administrators to modify security policy for the machine policy level, the user policy level, and the enterprise policy level. For detailed information, you can have a look at the following article.

    Find the command line for registering your file: caspol -u -ag All_Code -url "<full path to your file>" FullTrust -n "<assembly name>"

    If you have more than one file or if you want to do this for a directory: caspol -u -ag All_Code -url "<directory path>\*" FullTrust

  • Le Café Central de DeVa

    Outlook & VBA : Export contact information to Excel

    • 2 Comments

    Please find the following script that retrieves the FullName and BusinessTelephoneNumber properties for all the contacts in an Outlook address book:

     

       1:  On Error Resume Next
       2:   
       3:  Const olFolderContacts = 10
       4:   
       5:  Set objOutlook = CreateObject("Outlook.Application")
       6:  Set objNamespace = objOutlook.GetNamespace("MAPI")
       7:   
       8:  Set colContacts = objNamespace.GetDefaultFolder(olFolderContacts).Items
       9:   
      10:  Set objExcel = CreateObject("Excel.Application")
      11:  objExcel.Visible = True
      12:  Set objWorkbook = objExcel.Workbooks.Add()
      13:  Set objWorksheet = objWorkbook.Worksheets(1)
      14:   
      15:  objExcel.Cells(1, 1) = "Name"
      16:  objExcel.Cells(1, 2) = "Business Phone"
      17:   
      18:  i = 2
      19:   
      20:  For Each objContact In colContacts
      21:      objExcel.Cells(i, 1).Value = objContact.FullName
      22:      objExcel.Cells(i, 2).Value = objContact.BusinessTelephoneNumber
      23:      i = i + 1
      24:  Next
      25:   
      26:  Set objRange = objWorksheet.UsedRange
      27:  objRange.EntireColumn.Autofit
  • Le Café Central de DeVa

    Outlook Error : There is not enough memory to perform the operation

    • 0 Comments

    When one my customer tried to add a Global Address Book entry to the Contacts folder, the contact is not added. She received the following error message: There is not enough memory to perform the operation.

    This problem may occur if the size of the certificate data exceeds 32,768 bytes (32 KB).

    Follow the following steps to resolve the issue:

    • To resolve this problem, apply hotfix 948075.
    • Then, add the StripCertsNotValidForMail value to the registry to enable the hotfix.

    For more detailed information, I request you to go through the following Microsoft Support Knowledge based article.

  • Le Café Central de DeVa

    Exchange Server 2003 & Public folders

    • 0 Comments

    Some organizations use public folders heavily, while others do not. The degree to which public folders are used in your organization may have a large effect on how you plan for migration and coexistence of public folders and the data stored therein. Factors to consider include:

    • The total number of public folders and the amount of data contained in them. Many organizations choose to remove unneeded folders from their public folder structure as part of their migration process.

    • The number of existing replicas and where they are located. Because Exchange public folders can be easily replicated between servers, many organizations have placed public folder servers at remote sites to improve access for remote users; as part of server consolidation, these replicas will normally be re-homed elsewhere.

    • The extent to which public folders are used as part of normal operations. If public folder-based applications are in use, how much are they used? Do users depend on them for their key tasks, or are they of secondary importance?

    • The messaging clients to be used after the consolidation. Outlook 2003 can be configured to cache users' public folder favorites; this makes public folder access in Cached Exchange Mode seamless, but it increases the size of the OST file, and it causes additional synchronization traffic. Requests for public folder items will be automatically directed to the best available replica, which may be in a distant site across a slow or high-latency link.  

    Even if your organization does not use public folders for business reasons, Exchange still uses two important system public folders that must be accounted for in your planning.

    First, the Schedule+ Free/Busy folder is where Exchange stores free/busy status for individual mailboxes. Outlook publishes users’ calendar status to this folder, as does the Exchange System Attendant.

    Having multiple replicas of this folder helps ensure quick and consistent access to schedule data throughout the organization; however, these replicas have to be synchronized, which can add a substantial amount of network traffic.

    When a user creates a new meeting request, Outlook opens a connection to find each attendee’s free/busy data. First, Outlook retrieves the user's legacy distinguished name, which it then uses to identify the name of the free/busy folder it needs. Outlook then searches for the correct folder and message for the specified user's schedule data. This means that a single meeting request may generate multiple un-cached connections to different servers.

    On the other hand, adding multiple replicas of the free/busy folder means that changes made to one replica may take time to propagate to other replicas. Adjusting the number of replicas, their location, and the replication schedule used may be necessary to ensure the right balance between minimized access time and replication convergence.

    Offline Address book is one of the advantage when you make use of public folder. The OAB provides offline and Cached Exchange Mode users access to a subset of properties for all objects in the global address list.

    Exchange generates updates to the OAB periodically, and Outlook automatically downloads available changes once a day (in online mode) or when the user goes online (in Cached Exchange Mode).

    In general, Microsoft’s normal recommendation is to maintain OAB replicas on each server that contains user mailboxes. As you consolidate user mailboxes, you should bear in mind that when the OAB changes, a large number of clients may need to download OAB changes at once, and plan network capacity and CPU allocation accordingly.

  • Le Café Central de DeVa

    Outlook UI Issue: Save password setting not retained ?

    • 1 Comments

    One of my customer uses MS Windows XP SP3 & Outlook 2007 reported that whenever he tries to connect to the Internet service provider (ISP) to retrieve messages from POP3, his earlier entered password is not retained. He was pretty sure that  he chose to save the password. Also he tried to entering the correct password again does not resolve the issue.

    This issue occurs for one or more of the following reasons:

    • You have a corrupted Outlook profile or a corrupted Outlook Express identity.

    • It may be due to the registry changes or corrupted information.

    • This issue might happen add-ins also.

    I used the following troubleshooting steps:

    Step 1: Check Outlook has valid profile or not.

    It's recommended to make use of new profile without any issues associated with that.

    After you locate the .pst files, create a new e-mail profile in Outlook. To do this, follow these steps.

    1.Start Outlook.

    2. On the Tools menu, click Account Settings.

    3. Click the E-mail tab, and then click New.

    4. Follow the instructions in the Add New E-mail Account wizard to create the new account.
    Note If you do not have the account information that the Add New E-mail Account wizard requires, view the settings for your existing account. To do this, click the account on the E-mail tab in the Account Settings dialog box, and then click Change. Note each setting in the Internet E-mail Settings dialog box.
    If you do not know the password for your e-mail account, contact your Internet service provider (ISP). Or, if your mailbox is not associated with your ISP, contact the network administrator of the server on which your mailbox is located for help with your password.

    Step 2: Open the Outlook in safe mode

    This will avoid any add-ins getting loaded and creating the issues

    1. Click Start, and then click Run.

    2. In the Open box, type outlook.exe /safe, and then click OK.

    Step 3: Troubleshooting with COM Add-in

    To troubleshoot possible problems that are caused by COM add-ins, disable any COM add-ins that you do not use regularly. Then, restart Outlook. If that does not resolve the problem, disable the add-ins one by one. If that does not resolve the problem, disable all add-ins. To disable COM add-ins, follow the steps for the version of Outlook that you are using.
    For Outlook 2007
    To disable COM add-ins, follow these steps:

    1. On the Tools menu in Outlook 2007, click Trust Center.

    2. Click Add-ins, click COM Add-ins in the Manage list, and then click Go.

    3. In the COM Add-Ins dialog box, click to clear the check boxes for any COM add-ins that you want to disable.

    4. After you disable the add-ins, click OK, and then restart Outlook.

  • Le Café Central de DeVa

    Download : Microsoft Error Code Look-up

    • 0 Comments

    Please download the following tool, which can be used to determine error values from decimal and hexadecimal error codes in Microsoft Windows operating systems.

    The tool can look up one or more values at a time. All values on the command line will be looked up in Exchange’s internal tables and presented to you. If available, informational data associated with the value or values will also be shown.

Page 1 of 1 (9 items)