S
Sam-I-Am
Hi all
I have a common shared assembly in intalled in the GAC: myco.myprod.common.dll
I have set a reference to this assembly in a asp.net web application. I have config sections in my web.config like the following:
<configSections>
<section name="Configuration" type="myco.myprod.common.Configuration, myco.myprod.common" />
</configSections>
<Configuration>
<add key="MyKey" value="MyKeyValue" />
</Configuration>
I now get the following error:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Exception creating section handler.
All works fine if I reference a local copy of the myco.myprod.common.dll. I imagine it must be something with the way I have defined the reference to the assembly in the <section>
Has anyone else had the same problem?
Thanks,
Sam
I have a common shared assembly in intalled in the GAC: myco.myprod.common.dll
I have set a reference to this assembly in a asp.net web application. I have config sections in my web.config like the following:
<configSections>
<section name="Configuration" type="myco.myprod.common.Configuration, myco.myprod.common" />
</configSections>
<Configuration>
<add key="MyKey" value="MyKeyValue" />
</Configuration>
I now get the following error:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Exception creating section handler.
All works fine if I reference a local copy of the myco.myprod.common.dll. I imagine it must be something with the way I have defined the reference to the assembly in the <section>
Has anyone else had the same problem?
Thanks,
Sam