iis - ASP.NET: Errors not viewable despite proper configuration -
i'm having classic (dare typical?) error on asp.net production server, tells me can't view errors. below error displayed below, things i've tried.
in iis manager (6.0), application located under 1 of web sites in "web sites". indeed web application, opposed virtual directory (it has gear icon).
when trying view error localhost (i.e. server itself), doesn't find application on path, though root web site works fine localhost. not firewall issue because first of all, firewall turned off, , second because root web site works fine localhost. heck, tried connecting through telnet , worked fine , dandy too, , not firewall issue.
basically, need view error @ all. won't have fix problem if can see error , fix it, because there wrong in code itself... don't know what, because iis/.net won't tell me.
runtime error
description: application error occurred on server. current custom error settings application prevent details of application error being viewed remotely (for security reasons). could, however, viewed browsers running on local server machine.
details: enable details of specific error message viewable on remote machines, please create tag within "web.config" configuration file located in root directory of current web application. tag should have "mode" attribute set "off".
so i've tried error message suggests setting customerrors thing "off". in fact, on "off" didn't have change anything. i've made sure web.config xml valid.
another common reason error .net run-time set version 1.1, not 2.0. i've made sure correctly configured 2.0.
i'm running in independent application pool, meaning there no other applications @ all, less 1.1 applications, on same application pool.
i've made sure can files , directories in application itself. understand security ramifications here, i'm trying working @ all, , i'll constrain access rights afterward, 1 step @ time. in case, can read files.
any appreciated. thank in advance.
the error .net framework error finds app, there configuration error. add event logging code in application_error handler in global.asax trap these errors, or turn on health monitoring (<healthmonitoring enabled="true" />
), default log asp.net framework errors event log.
hth.
Comments
Post a Comment