Microsoft KB Archive/918111

= Error message when you try to enable a UI add-in in Small Business Accounting: &quot;One of the add-in drivers cannot be executed. Please contact the publisher of the add-in&quot; =

Article ID: 918111

Article Last Modified on 2/6/2007

-

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. My Label XML is a case-sensitive language. In this example, the letter &quot;t&quot; in the 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:  Remove the UI add-in from the Small Business Accounting Add-in Manager window:  On the File menu, point to Utilities, and then click Add-in Manager. In the Available add-ins list, select the add-in, and then click Remove.  Make the appropriate changes to the XML of the UI add-in. Recompile the UI add-in.</li> Reinstall the UI add-in:  Start Small Business Accounting, and then open the Small Business Accounting Add-in Manager window.</li> Install the UI add-in that you modified in step 2.</li> Click to select the Enabled check box, and then click OK.</li></ol> </li> Exit Small Business Accounting, and then restart Small Business Accounting.</li></ol>

<div class="moreinformation_section">

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.
 * 1) Open the UIAddInXML.txt file from the UIAddIn project.
 * 2) Change </Text> to.
 * 3) Compile the UIAddIn project, and then copy the compiled assembly to the Small Business Accounting folder.
 * 4) Start Small Business Accounting, and then open the Small Business Accounting Add-in Manager window.
 * 5) Click Install New, select the compiled assembly, and then click OK.
 * 6) In the Small Business Accounting Add-in Manager window, select the Enabled check box, and then click OK.

<div class="references_section">