Web Connection
IIS Error http error 503
HI Rick,
Here are more info on this error now
Here is the event viewer log:
3008
A configuration error has occurred.
9/18/2024 6:48:51 PM
9/19/2024 1:48:51 AM
d49740a472214008bd3eec2ca0b24fb6
4
1
0
/LM/W3SVC/2/ROOT-5-133711835907655509
Full
/
C:\websites\itswebware.com\home\
WIN-5PBVL00HAFO
5836
w3wp.exe
NT AUTHORITY\SYSTEM
ConfigurationErrorsException
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:\webits\Web\web.config line 57) at
System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) at
System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErro
rs 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)
http://ww2.itswebware.com/wconnect/testpage.sa
/wconnect/testpage.sa
108.162.241.84
False
NT AUTHORITY\SYSTEM
86
NT AUTHORITY\SYSTEM
False
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)
Perhaps you can point me to the right place to fix this.
Thanks, Joy
HI Rick,
It is finally working. Add virtual directory as application. pointed it to the web folder
and now it is working.
Thank you. all good Joy
Yes - you always need to use Application for top level Web Connection applications otherwise they don't isolate from the parent folder. The error you got was because the web.config
was interfering with the web.config
from the parent folder. If you use Application then the web.config
is top level and won't complain about overwriting parent settings.
+++ Rick ---