enterprise library compatability with asp.net 2.0

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
 
J

Johnny

Hi Sean,

Did you solve the problem? Because I have the same problem, only with
COM Applications and .NET.

Johnny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top