G
Guest
hi
i have a web page written in asp.net 2.0
that calls an assembly written in vs.2003.
the assembly uses the enterpriselibrary configuration block to get config
data.
However when ever the v2.0 web page calls the 2003 assembly i get this error:
System.Configuration.ConfigurationException: Unrecognized attribute
'requirePermission'
(C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 14)
at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationFile.ReadSection(XmlTextReader
reader, String configKey) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationFile.ReadConfigSections(XmlTextReader
reader, String configKey) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationFile.ReadConfiguration(XmlTextReader
reader) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationFile.Load(String
filename) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationBuilder.LoadMetaConfiguration(String
configurationFile) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationBuilder..ctor(String
configurationFile) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationContext..ctor(String
configurationFile) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationManager.CreateContext(String
configurationFile) at
ThePensionsRegulator.Registry.BusinessObjects.SchemeSearch..ctor(String
searchString) at Default2.uiGo_Click(Object sender, EventArgs e) in
d:\projects\RegistryMockUp\WizardTest\searches.aspx.cs:line 32
can anyone help?
is there a quick fix?
i do really want to use asp.net 2.0 for the new navigation features
and i do have to use the 2003 back end with configuration block.
thanks
i have a web page written in asp.net 2.0
that calls an assembly written in vs.2003.
the assembly uses the enterpriselibrary configuration block to get config
data.
However when ever the v2.0 web page calls the 2003 assembly i get this error:
System.Configuration.ConfigurationException: Unrecognized attribute
'requirePermission'
(C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 14)
at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationFile.ReadSection(XmlTextReader
reader, String configKey) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationFile.ReadConfigSections(XmlTextReader
reader, String configKey) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationFile.ReadConfiguration(XmlTextReader
reader) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationFile.Load(String
filename) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationBuilder.LoadMetaConfiguration(String
configurationFile) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationBuilder..ctor(String
configurationFile) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationContext..ctor(String
configurationFile) at
Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationManager.CreateContext(String
configurationFile) at
ThePensionsRegulator.Registry.BusinessObjects.SchemeSearch..ctor(String
searchString) at Default2.uiGo_Click(Object sender, EventArgs e) in
d:\projects\RegistryMockUp\WizardTest\searches.aspx.cs:line 32
can anyone help?
is there a quick fix?
i do really want to use asp.net 2.0 for the new navigation features
and i do have to use the 2003 back end with configuration block.
thanks