473,399 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

enterprise library compatability with asp.net 2.0

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\Con fig\machine.config line 14)
at
Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationFile.ReadSection(XmlTextReader
reader, String configKey) at
Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationFile.ReadConfigSections(XmlTextRead er
reader, String configKey) at
Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationFile.ReadConfiguration(XmlTextReade r
reader) at
Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationFile.Load(String
filename) at
Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationBuilder.LoadMetaConfiguration(Strin g
configurationFile) at
Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationBuilder..ctor(String
configurationFile) at
Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationContext..ctor(String
configurationFile) at
Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationManager.CreateContext(String
configurationFile) at
ThePensionsRegulator.Registry.BusinessObjects.Sche meSearch..ctor(String
searchString) at Default2.uiGo_Click(Object sender, EventArgs e) in
d:\projects\RegistryMockUp\WizardTest\searches.asp x.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
Feb 1 '06 #1
2 1949

Hi Sean,

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

Johnny

Mar 3 '06 #2
yes.

I had to use MSDN enterprise library june 2005. This is compatible.

"Johnny" wrote:

Hi Sean,

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

Johnny

Mar 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: veera sekhar kota | last post by:
hi, im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
3
by: Rich | last post by:
I put together a simple test class libary (VB2005) with one class and one function that takes an integer argument and adds 10 the argument and returns that number. Then I created a simple VB2005...
1
by: GaryDean | last post by:
I now have installed (from the same install) Enterprise Library - January 2006 and Enterprise Library - June 2005. The install for these two was called Enterprise Library for .Net 2.0. (not...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.