Impossible (so far) to get any asp.net mvc error info on UAT IIS server -
we have web app running fine on dev machines , dev servers. unknown reason (that's whole point), app not run on our oat server. our situation is:
- customerrors=off not working
- no log files
- no event viewer entries
by design, application not logging (sad, know). have custom error redirect, working, pointing page , controller not exists, never implemented.
so first try set customerrors , check on browser wrong. no luck. have tried change web.config:
<configuration> <system.web> <customerrors mode="off"/> </system.web> </configuration>
again, no luck. our l2 support not have access modify machine.config , set , customerror not option.
next, have tried trace , log4net files (worked on dev machine , servers):
<log4net debug="true"> <root> <level value="all" /> <appender-ref ref="dasappender" /> </root> <appender name="dasappender" type="log4net.appender.rollingfileappender"> <file value="${allusersprofile}\das\das.webapp.log" /> <appendtofile value="true" /> <rollingstyle value="size" /> <maxsizerollbackups value="5" /> <maximumfilesize value="10mb" /> <staticlogfilename value="true" /> <layout type="log4net.layout.patternlayout"> <conversionpattern value="%date [%thread] %level %logger - %message%newline" /> </appender> </log4net>
used %allusersprofile%, %temp%, iis log folder. none have worked.
i don't know next. have idea?
thank you
i did not solve it, team did.
they have added following on web.config
<trust level="full" /> </system.web>
and
<modules runallmanagedmodulesforallrequests="true" /> </system.webserver>
Comments
Post a Comment