c# - why do I keep getting a 503 error? -
i have asp.net project hosted locally via iis express.
however, want accessible 1 of our clients demonstration, have got work before, after deleting couple of redundant sites applicationhost.config, , subsequently adding details current site, has ceased function, when go ip, e.g xxx.xxx.xxx.xxx:85 comes 503 error.
i wondering if me pinpoint problem? applicationhost.config appears fine, though have pasted in below reference.
i have tried setting application pool identity network service, , own local account, have set "load user profile" false, no avail.
i have disabled windows firewall testing purposes, know that's not part of issue either.
any , appreciated!
by way, below part of applicationhost.config i've modified, rest not included.
<applicationpools> <add name="clr4integratedapppool" managedruntimeversion="v4.0" managedpipelinemode="integrated" clrconfigfile="%iis_user_home%\config\aspnet.config" autostart="true" /> <add name="clr4classicapppool" managedruntimeversion="v4.0" managedpipelinemode="classic" clrconfigfile="%iis_user_home%\config\aspnet.config" autostart="true" /> <add name="clr2integratedapppool" managedruntimeversion="v2.0" managedpipelinemode="integrated" clrconfigfile="%iis_user_home%\config\aspnet.config" autostart="true" /> <add name="clr2classicapppool" managedruntimeversion="v2.0" managedpipelinemode="classic" clrconfigfile="%iis_user_home%\config\aspnet.config" autostart="true" /> <add name="unmanagedclassicapppool" managedruntimeversion="" managedpipelinemode="classic" autostart="true" /> <add name="defaultapppool" managedruntimeversion="" managedpipelinemode="integrated" clrconfigfile="%iis_user_home%\config\aspnet.config" autostart="true" /> <applicationpooldefaults managedruntimeloader="v4.0"> <processmodel /> </applicationpooldefaults> </applicationpools> <!-- <listeneradapters> section defines protocols windows process activation service (was) binds. --> <listeneradapters> <add name="http" /> </listeneradapters> <sites> <site name="hendrixlivetest" id="2"> <application path="/" applicationpool="defaultapppool"> <virtualdirectory path="/" physicalpath="c:\users\reece\desktop\myprojectfile" /> </application> <bindings> <binding protocol="http" bindinginformation="*:85:" /> <binding protocol="http" bindinginformation="*:85:w" /> <binding protocol="http" bindinginformation="*:85:xxx.xxx.xxx.xxx" /> </bindings> </site> <sitedefaults> <logfile logformat="w3c" directory="%iis_user_home%\logs" /> <tracefailedrequestslogging directory="%iis_user_home%\tracelogfiles" enabled="true" maxlogfilesizekb="1024" /> </sitedefaults> <applicationdefaults applicationpool="defaultapppool" /> <virtualdirectorydefaults allowsubdirconfig="true" /> </sites>
your application pool getting crashed. try , reinstall .net 4 framework , try again on server
Comments
Post a Comment