debug logging from Word?

W

Wei Lu [MSFT]

Hello Dave,

I would like to suggest you to use the Fusion binding log to debug whether
the Add-in have load the assembly.

As for the LoadImage issue, I have replied in the original post, you could
check there.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei Lu [MSFT]

Hello Dave,

How about the Addin issue? Have you tried to use the fusion debug tool?

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

We asked but the IT group at the user's company will not let him install the
SDK on his computer. Is there another way to get this information without
installing the SDK to get fuslogvw.exe?

Also, using fuslogvw remotely takes a lot of time as there are a lot of
files loaded. Isn't there some way to have Word just list out what failed?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
W

Wei Lu [MSFT]

Hello Dave,

You may try to copy the fuslogvw.exe to the machine and specify the
regentry discribed in the Blog article.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

Ok, we run under fusion and it never shows our AddIn dll. So my guess is that
for some reason Word is never even trying to load it.

Our code is a C++ shim that then calls our C# addin so there are 2 dlls
involved here.

What next? How do we get WOrd to tell us why it is ignoring the registry
setting for our AddIn?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
W

Wei Lu [MSFT]

Hello Dave,

Do you mean that you are using the shim to load the add-in?

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

Yes we follow the MS guidelines for a C# IExtensibility AddIn - we have a C++
shim that is the AddIn set for Word to load and it calls our C# dll.

The shim we have will put up a MessageBox on any failure - it does not fail
silently as the one from Microsoft does so if the problem is in the shim, we
would see a message.

In addition, even though the shim is in the registry, it is not lists in
Word's list of AddIns (Word 2007). So for some reason Word is ignoring the
AddIn listing in the registry.

How can we find out why.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
W

Wei Lu [MSFT]

Hello Dave,

Could you please try to turn off the UAC to have a try.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei Lu [MSFT]

Hi ,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei Lu [MSFT]

Hello Dave,

Have you tested on some Word 2007 which is not on the Vista?

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei Lu [MSFT]

Hi ,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jialiang Ge [MSFT]

hello Dave,

Is there any other office addins (such as third party addin) installed on
you computer but not on others? If that, please unload them and see whether
the problem still exists.

Sincerely,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jialiang Ge [MSFT]

Hello Dave,

Here are another 2 suggestions you may try to find why your Word is not
loading the COM addin.

1. Use Process Monitor
(http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.mspx
) to trace the load of the COM addins.
After you download and open the Process Monitor, set the 'Filter' (Ctrl+L)
as 'Process Name is winword.exe'. When you open your word, the process
monitor will list all the actions in registry, file system and thread. Find
the actions related to your COM addin (Ctrl+F) and check whether they are
loaded successfully in the 'RESULT' column. You may also refer to the
following blog page to get 'How to troubleshoot the COM Add-ins loading
issues'.
http://blogs.msdn.com/msdnts/archive/2006/12/28/how-to-troubleshoot-the-com-
add-ins-loading-issues.aspx

2. Have a try to load other official COM addins in your word application to
see whether there is anything wrong with your Word itself, because you said
the addin works fine in other machines.

So far, word itself did not expose any information to us why it is not
loading an addin subjectively. We will file a design change request to Word
team and inform you of any update of the issue.

Hope it helps

Sincerely,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jialiang Ge [MSFT]

Hello Dave,

Here are another 2 suggestions you may try to find why your Word is not
loading the COM addins.

1. Use Process Monitor
(http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.mspx
) to trace the load of the COM addins.
After you download and open the Process Monitor, set the 'Filter' (Ctrl+L)
as 'Process Name is winword.exe'. When you open your word, the process
monitor will list all the actions in registry, file system and thread. Find
the actions related to your COM addin (Ctrl+F) and check whether they are
loaded successfully in the 'RESULT' column. You may also refer to the
following blog page to get 'How to troubleshoot the COM Add-ins loading
issues'.
http://blogs.msdn.com/msdnts/archive/2006/12/28/how-to-troubleshoot-the-com-
add-ins-loading-issues.aspx

2. Have a try to load other official COM addins in your word application to
see whether there is anything wrong with your Word itself, because you said
the addin works fine in other machines.

For your question, so far, word itself did not expose any information to us
why it is not loading an addin subjectively.
Hope it helps

Sincerely,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jialiang Ge [MSFT]

Hi Dave,

Would you mind letting me know the result of the suggestions? If you need
further assistance, feel free to let me know. I will be more than happy to
be of assistance.

Have a great day!

Sincerely,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
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