Add-in Express Loader Log error on startup

Add-in Express™ Support Service
That's what is more important than anything else

Add-in Express Loader Log error on startup
 
Jordan Glassco




Posts: 4
Joined: 2012-11-21
I am trying to enable logging in my Add In Project. Here is the part of the app.config

"
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<loaderSettings generateLogFile="true" shadowCopyEnabled="true" privileges="User" configFileName="App.config" >
<logFileLocation>C:\SmartNDTReports_Log.txt</logFileLocation>
</loaderSettings>

....
</configuration>
"

Which produces the following error every time the addin is debugged:

"Configuration system failed to initialize. Unrecognised configuration section loaderSettings (D:\SmartSource\Smart.RepApp\bin\Debug\App.config line 3)......"

FYI - I have tried it will the <assemblyIdentity> tag too... as shown in the examples and I just get a different error stating that the new element is not recognized.

Any suggestions would be appreciated.... Thanks.

I am working on a Word ADX project in VS2010 using ADX 7.0.4023
Posted 21 Nov, 2012 14:03:03 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jordan,

The config file contains the unknown section, e.g. loaderSettings. You need to add your own section group in order to add custom settings to the config file. Please visit the following web page to learn of how you can describe custom sections in the config file: http://msdn.microsoft.com/en-us/library/ms228114(v=vs.80).aspx
Posted 22 Nov, 2012 04:20:15 Top