Asp.net 4 Error 1310
Contents |
(עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeOnline20132010Other VersionsLibraryForumsGalleryEHLO Blog Ask a question Quick access Forums home Browse forums users FAQ event id 1310 asp.net 2.0 exchange 2010 Search related threads Remove From My Forums Answered
Event Id 1310 Event Code 3006
by: Event id 1310 source ASP.NET 4.0.30319.0 Previous Versions of Exchange > Exchange
Event Id 1310 Exchange 2016
Server 2010 Question 0 Sign in to vote Hi I'm not sure what this error is or how to correct
Event Id 1310 Event Code 3007
it: Event code: 3008 Event message: A configuration error has occurred. Event time: 1/25/2013 11:56:33 AM Event time (UTC): 1/25/2013 5:56:33 PM Event ID: 62fce806f72c424d85b3548473ddc0f5 Event sequence: 54 Event occurrence: 11 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT-1-130034534090133488 event id 1310 sharepoint Trust level: Full Application Virtual Path: / Application Path: C:\inetpub\wwwroot\ Machine name: SERVER08 Process information: Process ID: 4216 Process name: w3wp.exe Account name: IIS APPPOOL\DefaultAppPool 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. (C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa\web.config line 37) at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) 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.HttpRuntime.ProcessRequestNotificationPrivate
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 7 and event id 1310 asp net 4.0 event code 3008 Above ASP.NET Administration Warning - Event ID 1310 - ASP.NET 4.0.30319.0 event code: 3008 event message: a configuration error has occurred. - A configuration error... Warning - Event ID 1310 - ASP.NET 4.0.30319.0 - A configuration error event id 1310 a parser error has occurred has occurred (facebook connect authentication) [Answered]RSS 2 replies Last post Sep 23, 2011 03:37 AM by Leo Tang - MSFT ‹ Previous Thread|Next Thread › Print Share https://social.technet.microsoft.com/Forums/exchange/en-US/de3a3c03-1abd-4db3-9629-716205270d08/event-id-1310-source-aspnet-40303190?forum=exchange2010 Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply Qbat 1 Post Warning - Event ID 1310 - ASP.NET 4.0.30319.0 - A configuration error has occurred (facebook conn... Sep 16, 2011 03:39 AM|Qbat|LINK Hello people, Having some issues with Facebook Connect button on my webpage. When pressing the connect button and http://forums.iis.net/t/1181634.aspx?Warning+Event+ID+1310+ASP+NET+4+0+30319+0+A+configuration+error+has+occurred+facebook+connect+authentication+ logging in the server responds with the following EVENT LOG message: Event code: 3008 Event message: A configuration error has occurred. Event time: 16.09.2011 08:25:03 Event time (UTC): 16.09.2011 06:25:03 Event ID: 567e2a8459fa45228c1e76562b16a9cf Event sequence: 4 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT-8-129606278261608438 Trust level: Full Application Virtual Path: / Application Path: C:\inetpub\wwwroot\ Machine name: STANDARD17257 Process information: Process ID: 3744 Process name: w3wp.exe Account name: IIS APPPOOL\Clublife.no 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. (C:\inetpub\wwwroot\mixratings\web.config line 18) 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
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss http://stackoverflow.com/questions/5284355/why-does-my-asp-net-4-0-web-service-fail-with-a-compliation-error-with-networkse the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack http://exchangedae.blogspot.com/2014/09/aspnet-problems-with-2013-cu6-install.html Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping event id each other. Join them; it only takes a minute: Sign up Why does my ASP.NET 4.0 web service fail with a compliation error with NetworkService but succeed with LocalSystem up vote 1 down vote favorite I started getting server-side compliation errors indicating that the identity of my web service's application pool could not access files within a temporary event id 1310 ASP.NET folder. If I change the identity of the application pool from NetworkService to LocalSystem, the problem goes away. I can't see any issue with the security settings on the folder and I reran aspnet_regiis -i to no effect. The complete exception as it appears in the application error log is included below, but the gist of it is: HttpCompileException error CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\ Framework\v4.0.30319\Temporary ASP.NET Files\kswsextensionservicesweb\f2efe503\ 31c03187\App_global.asax.4gcxry4d.dll' -- 'Access is denied. ' Can anyone explain why? What's strange is that it had been working. Something changed, but I can't figure out what. Log Name: Application Source: ASP.NET 4.0.30319.0 Date: 3/12/2011 12:41:21 PM Event ID: 1310 Task Category: Web Event Level: Warning Keywords: Classic User: N/A Computer: NYDMTRAIN01.kayescholer.com Description: Event code: 3007 Event message: A compilation error has occurred. Event time: 3/12/2011 12:41:21 PM Event time (UTC): 3/12/2011 5:41:21 PM Event ID: bc285ecdc00941d28070725f55ea24f1 Event sequence: 3 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/KSWSExtensionServicesWeb-2-129444252812003152 Trust level: Full Application Virtual Path: /KSWSExtensionServicesWeb App
issues trying to access the Exchange Admin Centre (EAC) and Outlook Web App (OWA). The server was a brand new 2012R2 machine. The AD forest was brand new and composed entirely of 2012R2 Domain Controllers. Due to an issue they had they completely deleted the entire environment and recreated it. All servers were installed from the 2012R2 ISO and all Windows Updates applied. The following problem occurred in both the original environment and the rebuilt one. After installation the Application Eventlog was full of event 1310 from sourceasp.net 4.0.30319.0. This was logged every few seconds. EAC/OWA was not accessible and simply returned the "Something Went Wrong :-(" error message. The event was logged for each of the virtual directories, e.g. OWA/Autodiscover/EWS etc. Details of the event related to "The file specified could not be found", each referring to a different module that was referenced in the web.config file related to each virtual directory, e.g. AntiXSS. I spent over a day investigating, including the following and much,much more: The DLLs referenced did in fact exist Permissions on the file system matched another working system ASP.Net was installed correctly All Application Pools were configured correctly IIS was working I compared the web.config for each of the Virtual Directories with a CU5 server and noticed a big difference. In CU5 at the end of the web.config there is a list of paths detailing where to find each of the DLL files referenced earlier in the web.config file. In CU6 these paths are not present. However, I noticed a reference to c:\program files\microsoft\exchange server\v15\clientaccess\sharedwebconfig.config. This sharedwebconfig.config file did not exist on the two CU6 servers experiencing the problem. After building yet another CU6 server, which worked correctly, I located the sharedwebconfig.config file. Copying this to the broken servers and executing an IISRESET fixed the issue. It would seem that MS have moved from repeating the same paths in every web.config to a shared model, reducing duplication of configuration items in multiple files. For some reason, on both occasions, setup did not create this file and hence IIS didn't know where to load the modules from. These are the lines in the web.config that references the shared web config file: