G
Guest
Problem Scenario:
I have copied the Microsoft Cache Application Block (MCAB) dll to GAC to make that available to other applications. The MCAB uses few configuration settings which will be set in the client application App.config file. Basically the MCAB makes use of App.Config which exists in referenced application. As i have put MCAB dll in GAC it throws an error like this
Exception Type: System.Configuration.ConfigurationException
Message: Could not create Microsoft.ApplicationBlocks.Cache.CacheConfigurationHandler,Microsoft.ApplicationBlocks.Cache
BareMessage: Could not create Microsoft.ApplicationBlocks.Cache.CacheConfigurationHandler,Microsoft.ApplicationBlocks.Cache
Filename: NULL
Line: 0
TargetSite: System.Configuration.IConfigurationSectionHandler GetFactory(System.String)
HelpLink: NULL
Source: System
But when i put the MCAB dll as private to the referenced application it works. I guess this client application is not able to create instance of MCAB class when it MCAB in GAC.
Please correct me if i am wrong. Do respond ASAP.
Thanks,
Manikandan S
I have copied the Microsoft Cache Application Block (MCAB) dll to GAC to make that available to other applications. The MCAB uses few configuration settings which will be set in the client application App.config file. Basically the MCAB makes use of App.Config which exists in referenced application. As i have put MCAB dll in GAC it throws an error like this
Exception Type: System.Configuration.ConfigurationException
Message: Could not create Microsoft.ApplicationBlocks.Cache.CacheConfigurationHandler,Microsoft.ApplicationBlocks.Cache
BareMessage: Could not create Microsoft.ApplicationBlocks.Cache.CacheConfigurationHandler,Microsoft.ApplicationBlocks.Cache
Filename: NULL
Line: 0
TargetSite: System.Configuration.IConfigurationSectionHandler GetFactory(System.String)
HelpLink: NULL
Source: System
But when i put the MCAB dll as private to the referenced application it works. I guess this client application is not able to create instance of MCAB class when it MCAB in GAC.
Please correct me if i am wrong. Do respond ASAP.
Thanks,
Manikandan S