I need some
help/clarification, in both the .targets and nant script files there are the following lines -
Write registry key with location of our log4net configuration file.
Note: If you're doing 32 bit hosts on win64, hard code this to cscript.exe rather than using macro.
== 'true'" />
Why do we need to do this, reason for asking having few issues with Log4net and
the registry entries on a 64bit BizTalk box.
There appears to be two registries one can be run using %systemroot%\syswow64\regedit at the command prompt the other the usual regedit command.
BDF adds the log4net reg entries as usual and I viewed them using regedit the log4netconfig key points to c:\Program Files (x86)\.... which
appears to be correct.
When you then run a message through BizTalk you get the following exception in the event viewer -
Log4netConfigHelper: Unable to read registry key for log4net configuration location.
After a lot of scratching of heads a colleague pointed me in the direction of the %systemroot%\syswow64\regedit, I then manually added the same reg
entries into the registry via %systemroot%\syswow64\regedit and the message was processed correctly by BizTalk, but no log4net output through Debugview, very confused.
Hope the above makes sense.
Any help would be grateful.