2013-06-24 104 views
0

我想在Visual Studio 2003,ASP.NET 1.1(Legacy Application)中使用Elmah。当我尝试添加refernce到Elmah.dll,VS 2003抛出一个看起来像如下的错误:使用ELMAH与Visual Studio 2003

Configuration Error 
Description: An error occurred during the processing of a configuration file required 
to service this request. Please review the specific error details below and modify 
your configuration file appropriately. 

Parser Error Message: Unrecognized attribute 'requirePermission'. 

Source Error: 


Line 4:   <section name="exceptionManagement" 
    type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectionHandler,Microsoft.ApplicationBlocks.ExceptionManagement" /> 
Line 5:   <sectionGroup name="elmah"> 
Line 6:    <section name="security" requirePermission="false"    type="Elmah.SecuritySectionHandler, Elmah" /> 
Line 7:    <section name="errorLog" requirePermission="false"  type="Elmah.ErrorLogSectionHandler, Elmah" /> 
Line 8:    <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" /> 


-------------------------------------------------------------------------------- 
Version Information: Microsoft .NET Framework Version:1.1.4322.2494; ASP.NET  
Version:1.1.4322.2494 

请帮助

回答