Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  




           


The require permission attribute is not declared
I was getting an error in my web.config for a .NET project:
"the require permission attribute is not declared".

To solve the problem, I noticed that the first line of the web.config file was missing the xmlns definition in the configuration section. The correct text should read something like:

< ?xml version="1.0"?>

< configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0" >

not

< ?xml version="1.0"?>

< configuration >

Created By: amos 8/13/2007 3:03:05 PM
Updated: 8/13/2007 3:05:03 PM


 Comments:
 > Guest 8/13/2010 9:43:26 AM
resolved.

tks
 > Guest 3/19/2012 5:33:16 AM
thnx a lot