COM Addin configuration help needed

L

Luke Wright

Hi,

We have developed a COM Add-in for MS Project. It is
written in C#, and we have developed a 'shim' written in
C++ that acts as a wrapper for our .NET add-in assembly.

On certain computers, we are experiencing the following
failure loading the Add-in: 'Not Loaded. A runtime error
occured (sic) during the loading of the COM Add-in'. This
error message appears in the Load Behavior field of the
COM Add-ins dialog.

We have examined the registry, comparing the relevant
entries to another machine on which the add-in is working
properly, and at this point we believe that everything is
properly set up in the registry.

One of the very first things the OnConnection method does
in our add-in is attempt to locate and load a
configuration file. If the file is not found, it pops up
a specific error message. We tried removing the
configuration file, and did not receive this error,
leading us to believe that the failure is occurring
before our code is being executed.

Can anyone point us to some resources to help us get to
the bottom of the issue, or provide some guidance on what
to look for next?

Thanks,
Luke
 
P

Peter Huang [MSFT]

Hi Luke,

You may try to create a new and simple test add-in with the same Load
Behavior to see if the problem persists on the "problem" computer.
This will help me narrow down and isolate the problem.

Or can you post more information for me to reproduce the problem.


Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top