Unrecognized attribute 'requirePermission' error.

T

toddc612

Hi guys. I'm new to Visual Studio development, so please forgive me
ahead of time for my lack of knowledge.

I've been given some Visual Studio code that I need to get working on
my local machine so we can view the application code and see how it
works. I've setup IIS 5.1, SQL Server 2005, and Visual Studio .NET
2003 on my machine. The web server and database servers are running
fine.

I opened up the existing project file in the given code and initially
got an error for some missing references
(Microsoft.Practices.EnterpriseLibrary.Data and
Microsoft.Practices.Enterprise.Common). I installed Enterprise Library
(June 2005) and added the references successfully.

Now, when I try and open the initial document in my browser I get the
following:

=====

Parser Error Message: Unrecognized attribute 'requirePermission'

Source File:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config
Line: 14

(with the source file line 14 being the following):

Line 14: <section name="appSettings"
type="System.Configuration.AppSettingsSection, System.Configuration,
Version=2.0.0.0...etc.." restartOnExternalChanges="false"
requirePermission="false" />

=====

I've search on the web and groups and seen a conversation in regards to
this error message as perhaps the Enterprise Library not working
correctly with my Framework version? In the About Visual Studio help
section it states I'm running framework 1.1, but there also exists the
2.0 directory in the Framework directory (obviously, from the source
file error above).

Can anyone help with this? Configuration issue? Framework version
issue?

Thank you ahead of time.

-Todd
 

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