5
Windows 2008 R2에서 IIS 7에서 작동하도록 새 ASP.NET 4.0 응용 프로그램을 가져올 수 없습니다. 내 이벤트 로그에서 볼 수있는 것은 아래의 오류입니다. 그게 무슨 뜻인지에 대한 정보를 찾을 수없는 것 같아요, 아무도 도와 줄 수 있습니까? 코드가 이벤트 로그에 쓰기를 시도하지만, 응용 프로그램 풀로 실행되고 사용자가이 권한을 가지고 있지 않기 때문에웹 이벤트 공급자 'EventLogProvider'에서 다음 예외가 throw되었습니다.
Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 11/27/2011 4:22:13 PM
Event ID: 1301
Task Category: Web Event
Level: Error
Keywords: Classic
User: N/A
Computer: [myserver].[mydomain].com
Description:
The following exception was thrown by the web event provider 'EventLogProvider' in the application '/[myapp]' (in an application lifetime a maximum of one exception will be logged per provider instance):
System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
at System.Security.Principal.WindowsIdentity.get_AuthenticationType()
at System.Web.Management.EventLogWebEventProvider.AddWebRequestInformationDataFields(ArrayList dataFields, WebRequestInformation reqInfo)
at System.Web.Management.EventLogWebEventProvider.ProcessEvent(WebBaseEvent eventRaised)
at System.Web.Management.WebBaseEvent.RaiseInternal(WebBaseEvent eventRaised, ArrayList firingRuleInfos, Int32 index0, Int32 index1)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 4.0.30319.0" />
<EventID Qualifiers="49152">1301</EventID>
<Level>2</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-11-27T21:22:13.000000000Z" />
<EventRecordID>1357</EventRecordID>
<Channel>Application</Channel>
<Computer>[myserver].[mydomain].com</Computer>
<Security />
</System>
<EventData>
<Data>EventLogProvider</Data>
<Data>/[MyApp]</Data>
<Data>System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
at System.Security.Principal.WindowsIdentity.get_AuthenticationType()
at System.Web.Management.EventLogWebEventProvider.AddWebRequestInformationDataFields(ArrayList dataFields, WebRequestInformation reqInfo)
at System.Web.Management.EventLogWebEventProvider.ProcessEvent(WebBaseEvent eventRaised)
at System.Web.Management.WebBaseEvent.RaiseInternal(WebBaseEvent eventRaised, ArrayList firingRuleInfos, Int32 index0, Int32 index1)</Data>
</EventData>
</Event>
감사합니다. Competent_Tech. 이것은 정확하게 그랬다. – Sam
자세히 설명해주세요 .... –