|
Johan Stap
Posts: 25
Joined: 2011-03-27
|
Hello, Andrei? or a colleague...
An add-in for Word and Excel has recently stopped logging in adxregistrator.log and adxloader.log.
In my dev env and also at user machines.
The environment is VS 2017 CE.
To accomodate Office compatibility with the newest versions I have today upgraded to the latest AIE v905-b4661.
This did not solve the problem with no logging.
Could you give some advice where to look for a solution? I did check Custom Actions in Setup and the manifest.
Kind regards, and nice to speak to you again!
Johan Stap |
|
Posted 24 Feb, 2021 07:57:39
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18794
Joined: 2006-05-11
|
Hello Johan,
I'd suggest that you register the add-in.
Also, did you recently change your add-in project: switched is to per-user from per-machine or back? Switched to using a different configuration? Anything else?
Andrei Smolin
Add-in Express Team Leader |
|
Posted 24 Feb, 2021 08:13:46
|
|
Top
|
|
Johan Stap
Posts: 25
Joined: 2011-03-27
|
Thanks!
I did register the add-in - again.
Rebuilt the solution and installed the add-in, no logging...
As far as I know no changes in configuration.
The project is and was all-users, no change.
This is the content of the manifest file:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<assemblyIdentity name="PRE Report Maker Add-In, PublicKeyToken=23d90db1ae586211" imageRuntimeVersion="v4.0.30319" />
<loaderSettings generateLogFile="true" shadowCopyEnabled="false" privileges="administrator" minOfficeVersionSupported="14" configFileName="App.config" />
</configuration
Where does the token refer to?
Any suggestions?
Regards, Johan |
|
Posted 24 Feb, 2021 08:35:04
|
|
Top
|
|
Johan Stap
Posts: 25
Joined: 2011-03-27
|
Andrei, FYI
I did find a adxloader.log in my local appdata: C:\Users\Johan\AppData\Local\Temp |
|
Posted 24 Feb, 2021 09:01:22
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18794
Joined: 2006-05-11
|
Hello Johan,
If you've switched from an older Add-in Express version, find adxloader.log and adxregistrator.log in {user profile}\AppData\Local\Temp\<ProductName>\adxloader.log; the ProductName part reflects the ProductName field of AssemblyInfo.cs (AssemblyInfo.vb).
Andrei Smolin
Add-in Express Team Leader |
|
Posted 24 Feb, 2021 09:06:57
|
|
Top
|
|
Johan Stap
Posts: 25
Joined: 2011-03-27
|
Hello Andrei
That was ok.
Now I find them both in {user profile}\AppData\Local\Temp\<ProductName>\.
So logging is active. Thanks for this.
Can I change the (not very user friendly) location back to MyDocuments\<ProductName> as it once was?
I remember this was the case by default, or am I wrong?
Regards, Johan |
|
Posted 24 Feb, 2021 09:35:27
|
|
Top
|
|
Johan Stap
Posts: 25
Joined: 2011-03-27
|
Hi Andrei
I solved the location for the registrator in the custom action by argument: /log="[PersonalFolder]\Add-in Express\[ProductName]"
So a subfolder for each product.
Works fine.
Thanks sofar.
Regards, Johan. |
|
Posted 24 Feb, 2021 15:41:33
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18794
Joined: 2006-05-11
|
Hello Johan,
Make sure your end-users are okay with this approach.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 25 Feb, 2021 11:11:52
|
|
Top
|
|