Error message when you try to enable a UI add-in in Small Business Accounting: "One of the add-in drivers cannot be executed. Please contact the publisher of the add-in" (918111)



The information in this article applies to:

  • Microsoft Office Small Business Accounting 2006

SYMPTOMS

When you try to enable a user interface (UI) add-in in the Small Business Accounting Add-in Manager window in Microsoft Office Small Business Accounting, you may receive the following error message:
One of the add-in drivers cannot be executed. Please contact the publisher of the add-in.

CAUSE

This problem may occur if the XML that is returned from the GetXMLUIInfo() add-in method is not well formed. For example, you would receive this error message if you used the following XML that is not well formed.
<Text>My Label</text>
XML is a case-sensitive language. In this example, the letter "t" in the </text> element is not capitalized. Therefore, you would receive this error message if you used code such as this code when you enabled the UI add-in.

RESOLUTION

To resolve this problem, follow these steps:
  1. Remove the UI add-in from the Small Business Accounting Add-in Manager window:
    1. On the File menu, point to Utilities, and then click Add-in Manager.
    2. In the Available add-ins list, select the add-in, and then click Remove.
  2. Make the appropriate changes to the XML of the UI add-in.
  3. Recompile the UI add-in.
  4. Reinstall the UI add-in:
    1. Start Small Business Accounting, and then open the Small Business Accounting Add-in Manager window.
    2. Install the UI add-in that you modified in step 2.
    3. Click to select the Enabled check box, and then click OK.
  5. Exit Small Business Accounting, and then restart Small Business Accounting.

MORE INFORMATION

Steps to reproduce the problem

  1. Open the AllSamples.sln solution.

    Note This solution is included in the Small Business Accounting Software Development Kit (SDK). Microsoft Visual Studio .NET 2003 is also included in the SDK.
  2. Open the UIAddInXML.txt file from the UIAddIn project.
  3. Change </Text> to </text>.
  4. Compile the UIAddIn project, and then copy the compiled assembly to the Small Business Accounting folder.
  5. Start Small Business Accounting, and then open the Small Business Accounting Add-in Manager window.
  6. Click Install New, select the compiled assembly, and then click OK.
  7. In the Small Business Accounting Add-in Manager window, select the Enabled check box, and then click OK.

REFERENCES

If you need additional help with XML, contact Microsoft Product Support Services. For more information, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:5/12/2006
Keywords:kbtshoot kbMBSMigrate kbprb KB918111 kbAudEndUser kbAudKnowledgeWorker