Stan
Posts: 13
Joined: 2011-06-09
|
Hi,
Sometimes when you start Outlook, the loading of my component fails. I therefore wish to enable information
troubleshooting.
I changed the adxloader.dll.manifest as follows:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<assemblyIdentity name="OutlookEvents, PublicKeyToken=9f292b333efdfe5d" />
<loaderSettings generateLogFile="true" shadowCopyEnabled="true" privileges="user" configFileName="App.config" >
<logFileLocation>C:Temp</logFileLocation>
</loaderSettings>
</configuration>
But it does not work... |
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Hi Stan,
How do you know that it doesn't work? Does it produce exceptions or messages? Can you please provide more details? Currently I just don't understand what occurs and and what you expect to occur.
Andrei Smolin
Add-in Express Team Leader |
|
Stan
Posts: 13
Joined: 2011-06-09
|
Andrei Smolin writes:
Hi Stan,
How do you know that it doesn't work? Does it produce exceptions or messages? Can you please provide more details? Currently I just don't understand what occurs and and what you expect to occur.
Hi Andrei,
when the load fails, Outlook produces an exception.
As it rarely happens, I do not have exact message(this is happening to our customers).
That's why I want to enable debugging information.
An idea ?
Thanks. |
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Please try using <logFileLocation>C:\Temp\adxloader.log</logFileLocation>.
Andrei Smolin
Add-in Express Team Leader |
|
Stan
Posts: 13
Joined: 2011-06-09
|
Andrei Smolin writes:
Please try using <logFileLocation>C:\Temp\adxloader.log</logFileLocation>.
is this enough or should we do anything else?
Because no file is created.
The file is created only when it crash?
Do you have documentation about the adxloader?
Stan |
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Stan,
You can create a new add-in and see the default settings for the loader. Say, I've got this in the manifest file of a newly created add-in project:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<assemblyIdentity name="MyAddin138, PublicKeyToken=aa1abe4969249cb5" />
<loaderSettings generateLogFile="true" shadowCopyEnabled="true" privileges="administrator" configFileName="App.config" />
</configuration>
The manual describes your options, see the section "Add-in Express Loader Manifest" in {Add-in Express}\Docs\adxnet.pdf on your PC. The default location of the log file is [My ]Documents\Add-in Express\adxloader.log of the user profile where the host application is run.
The log file is created when your add-in is being loaded by the host application. That is, if the log file is not created you need to check if your add-in is enabled or not.
Andrei Smolin
Add-in Express Team Leader |
|