We have a web app that is running fine on dev machines and dev servers. For some very unknown reason (that's the whole point), the app does not run on our OAT server. Our situation is:
- CustomErrors=Off not working
- No log files
- No Event Viewer entries
By design, the application is not logging anything (sad, I know). It does have a custom error redirect, which is working, but pointing to a page and controller that does not exists, it was never implemented.
So my first try was to set up CustomErrors and check on browser itself what is wrong. No luck. I have tried to change web.config:
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Again, no luck. Our L2 support does not have access to modify machine.config and set , so customerror is not an option.
Next, I have tried trace and log4net files (worked on dev machine and 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 what to do next. Does anyone have any Idea?
Thank you