Differences in functionality between production and development servers

58 views
Skip to first unread message

Mario Gonzalez Jr.

unread,
Nov 17, 2009, 12:06:37 PM11/17/09
to ELMAH
I just recently found ELMAH and after testing it on our development
servers, placed it in a production environment. My changes to
web.config were the same on both servers, as production is supposed to
mirror the development environment.

I've noticed a couple of differences between how ELMAH is working in
production vs. the development server:
1. I've set it up to receive email logging, but I don't get some of
the emails when errors occurr. I do see the errors when I use the
elmah.axd page. Emails that I am getting are errors such as "request
timed out" errors and the test error that you can cause ELMAH to
generate.

2. I'm not seeing the line numbers in the error code on the
production server. I understand that in order to see the line
numbers, I have to deploy the PDB file (which I uderstand isn't always
a good idea). The PDB file is located in the bin folder, along with
the ELMAH dl.

Since my setup for ELMAH is the same on both servers, what other
settings would make ELMAH operate differently on these two servers?
I'm thinking that there must be some settings in IIS or on the
production server that are different.

Mario

Atif Aziz

unread,
Jan 5, 2010, 6:23:01 PM1/5/10
to el...@googlegroups.com
I understand that in order to see the line
numbers, I have to deploy the PDB file
 
That's correct.
 
(which I uderstand isn't always
a good idea)
 
Deploying a PDB to a release build should be perfectly safe if you've taken all other precautions that are the usual suspects in securing a production web server and ASP.NET box . Can you cite any online and authoritative references that discourage deploying PDB in production? Meanwhile, you may find the following insightful:
 
Try also:
 
Since my setup for ELMAH is the same on both servers, what other
settings would make ELMAH operate differently on these two servers?
IIS version differences. For example, IIS 7 requires you to configure the modules and handlers in a different section as pointed out in the sample web.config supplied with ELMAH:

- Atif
 

--

You received this message because you are subscribed to the Google Groups "ELMAH" group.
To post to this group, send email to el...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elmah?hl=.



Reply all
Reply to author
Forward
0 new messages