ellsandell Posted January 20, 2015 Posted January 20, 2015 Getting internal server errors randomly. Below is the error in the event log. Any ideas? Event code: 3008 Event message: A configuration error has occurred. Event time: 20/01/2015 15:16:07 Event time (UTC): 20/01/2015 15:16:07 Event ID: fc8f609c8cbc46028c478bfaadc2aa58 Event sequence: 229 Event occurrence: 4 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/HAP-1-130662400510183912 Trust level: Full Application Virtual Path: /HAP Application Path: C:\inetpub\wwwroot\HAP\ Machine name: QEGS-HAP Process information: Process ID: 2952 Process name: w3wp.exe Account name: IIS APPPOOL\HAP Exception information: Exception type: ConfigurationErrorsException Exception message: Authorization rule names cannot contain the '*' character. (C:\inetpub\wwwroot\HAP\web.config line 94) at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) 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_Authorization() at System.Web.Security.UrlAuthorizationModule.OnEnter(Object source, EventArgs eventArgs) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Request information: Request URL: https://hap.school.lea.sch.uk:443/HAP/api/test/?1421766967605 Request path: /HAP/api/test/ User host address: 192.168.0.26 User: esandell Is authenticated: True Authentication Type: Forms Thread account name: IIS APPPOOL\HAP Thread information: Thread ID: 35 Thread account name: IIS APPPOOL\HAP Is impersonating: False Stack trace: at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) 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_Authorization() at System.Web.Security.UrlAuthorizationModule.OnEnter(Object source, EventArgs eventArgs) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Custom event details: Cheers Elliot
Michael Posted January 20, 2015 Posted January 20, 2015 This is a problem in Internet Information Services or IIS. The clue is the path - C:\inetpub\ As to what the issue is, I'm not 100% sure, but you could repair .NET if your website uses this.
nickbro Posted January 20, 2015 Posted January 20, 2015 The error message is telling you where to look, line 94 of the web.config file seems to be wrong, if you can post that line, or better yet the section it's in we can help
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now