User572431586 posted
Hi,
I have a solution with multiple projects.
I'm trying to publish one of the projects to a web app that are on an Azure domain, everything is working fine on localhost but on the published version I get:
"An error occurred creating the configuration section handler for unity: An abstract InjectionMemberElement
object cannot be created. Please specify a concrete type."
Unity is defined in the web.config as:
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration" />
</configSections>
</configuration>
...
<unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
...
</unity
The project I'm trying to publish also have references to other projects.
Any help what cause this error would be appreciated!