logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Lemonde  
#1 Posted : 11 May 2018 11:20:47(UTC)
Lemonde

Rank: Advanced Member

Groups: Registered
Joined: 08/01/2017(UTC)
Posts: 155
United Kingdom
Location: London

I am seeing this on a website that has been moved to a different folder on an IIS server:

Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 11/05/2018 12:13:36
Event ID: 1310
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: %COMPUTERNAME%.domain.suffix
Description:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 11/05/2018 12:13:36
Event time (UTC): 11/05/2018 11:13:36
Event ID: 4fd8f4a189fe42b0990906e4a1098174
Event sequence: 34
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/55/ROOT-1-131705103475489943
Trust level: Full
Application Virtual Path: /
Application Path: E:\Websites\www\websiteNAME\
Machine name: %COMPUTERNAME%

Process information:
Process ID: 10860
Process name: w3wp.exe
Account name: IIS APPPOOL\websiteNAME

Exception information:
Exception type: ConfigurationErrorsException
Exception message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (E:\Websites\www\websiteNAME\gtme-forum\web.config line 29)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
at System.Web.Configuration.RuntimeConfig.get_Identity()
at System.Web.HttpContext.SetImpersonationEnabled()
at System.Web.HttpApplication.AssignContext(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)



Request information:
Request URL: http://personaltraine.rs/GTME-forum/
Request path: /GTME-forum/
User host address: 83.244.231.200
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\websiteNAME

Thread information:
Thread ID: 54
Thread account name: IIS APPPOOL\websiteNAME
Is impersonating: False
Stack trace: at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
at System.Web.Configuration.RuntimeConfig.get_Identity()
at System.Web.HttpContext.SetImpersonationEnabled()
at System.Web.HttpApplication.AssignContext(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)


Custom event details:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 4.0.30319.0" />
<EventID Qualifiers="32768">1310</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-05-11T11:13:36.000000000Z" />
<EventRecordID>2202997</EventRecordID>
<Channel>Application</Channel>
<Computer>%COMPUTERNAME%.domain.suffix</Computer>
<Security />
</System>
<EventData>
<Data>3008</Data>
<Data>A configuration error has occurred.</Data>
<Data>11/05/2018 12:13:36</Data>
<Data>11/05/2018 11:13:36</Data>
<Data>4fd8f4a189fe42b0990906e4a1098174</Data>
<Data>34</Data>
<Data>1</Data>
<Data>0</Data>
<Data>/LM/W3SVC/55/ROOT-1-131705103475489943</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>E:\Websites\www\websiteNAME\</Data>
<Data>%COMPUTERNAME%</Data>
<Data>
</Data>
<Data>10860</Data>
<Data>w3wp.exe</Data>
<Data>IIS APPPOOL\websiteNAME</Data>
<Data>ConfigurationErrorsException</Data>
<Data>It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (E:\Websites\www\websiteNAME\gtme-forum\web.config line 29)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object&amp; result, Object&amp; resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
at System.Web.Configuration.RuntimeConfig.get_Identity()
at System.Web.HttpContext.SetImpersonationEnabled()
at System.Web.HttpApplication.AssignContext(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)

</Data>
<Data>http://personaltraine.rs/GTME-forum/</Data>
<Data>/GTME-forum/</Data>
<Data>83.244.231.200</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>IIS APPPOOL\websiteNAME</Data>
<Data>54</Data>
<Data>IIS APPPOOL\websiteNAME</Data>
<Data>False</Data>
<Data> at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object&amp; result, Object&amp; resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
at System.Web.Configuration.RuntimeConfig.get_Identity()
at System.Web.HttpContext.SetImpersonationEnabled()
at System.Web.HttpApplication.AssignContext(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
</Data>
</EventData>
</Event>

Edited by user 11 May 2018 11:41:02(UTC)  | Reason: Not specified

Sponsor
Lemonde  
#2 Posted : 11 May 2018 11:39:04(UTC)
Lemonde

Rank: Advanced Member

Groups: Registered
Joined: 08/01/2017(UTC)
Posts: 155
United Kingdom
Location: London

This was an error with the old web.config file - the quick solution was to delete the application and recreate in the correct app pool.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

website promotion