I working on maintenance of one web application, this web site having error log functionality as well.
My client occasionally face some issue on website which also logged in error log file but it shows only method calling hierarchy where exception occurred in stack trace.
When I explicitly raise exception on my Dev environment stack trace of exception shows method calling hierarchy and its line number from where actual exception has occurred.
I know in production we are deploying only DLLs that's why we are not getting error line number in log file.
Anybody has any Idea how can I get error line number as well in exception when we deployed DLL (assemblies) only?