SharePoint Administrators may see log4net configuration errors in the SharePoint Command Shell after installed Bamboo Workflow Conductor as shown in Figure 1.
Figure 1. Log4Net Configuration Error
The error above reads as follows "log4net:ERROR XmlConfigurator: Failed to find configuration section log4net' in the application's .config file."
To resolve this error, complete the following steps:
- Log on to the server with the error using an administrative account.
- In Windows Explorer, open the following folder: C:\Windows\System32\WindowsPowerShell\v1.0
- Create a file named powershell.exe.config with the following content or use the file attached to this article.
<?xml version="1.0" encoding="utf-8" ?>
Version=126.96.36.199, Culture=neutral, PublicKeyToken=8c72b2bd3eb9ec1e" />
Note that you may have to strip out HTML formatting if you cut/paste from this article and that the lines above assume that you have the latest version of Bamboo.Framework.wsp installed. If you do not have a current version of the Framework, you may need to check your Global Assembly Cache to find the correct version of Bamboo.Logging.dll. The version originally shipped with Workflow Conductor is 188.8.131.52.