2013-06-24 136 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 

請幫助

回答