Answered by:
ELMAH not working on Windows Server 2012

Question
-
User1513714577 posted
I have an application that uses ELMAH. It is currently running on a Windows Server 2008. I am in the process of copying the application from the Windows Server 2008 machine to the new Windows Server 2012 machine. In my testing, I discovered that ELMAH is not working on the new Windows Server 2012.
The IIS is set up the exact same way as the Windows Server 2008 version. So, far everything else that is set up on the new 2012 server is exactly as the 2008 is set up.
Any other suggestions on how I can get this component to work on the 2012 server?
Monday, June 1, 2015 12:57 PM
Answers
-
User-821857111 posted
It works fine for me on Windows Server 2012. How are you logging? Database? XML? Have you checked file permissions for the App Pool?
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, June 2, 2015 3:05 PM -
User1513714577 posted
AH, I think I understand.
I was able to locate a step by step process that describe this. As a newbie, I really need step by step instructions. So, here is the URL for those:
http://www.iis.net/learn/manage/configuring-security/application-pool-identities- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, June 2, 2015 4:41 PM
All replies
-
User-821857111 posted
It works fine for me on Windows Server 2012. How are you logging? Database? XML? Have you checked file permissions for the App Pool?
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, June 2, 2015 3:05 PM -
User1513714577 posted
I am a newbie here. I believe I am logging with XML. Not sure what you mean by "have you checked file permissions for the App Pool". Where do I put in file permissions for the App Pool?
(I've tried to paste in an image showing my Advanced Settings of the App Pool that I was using but I could not figure out to do this).
Where in Advanced Settings do I go to put those file permissions?
Tuesday, June 2, 2015 3:41 PM -
User-821857111 posted
The user account that your app runs under is most likely IIS AppPool\name_of_your_sites_application_pool. Application pools normally take the name of the site that you created in IIS. You should grant Modify permissions to that account on the folder that the XML file lives in.
Tuesday, June 2, 2015 4:24 PM -
User1513714577 posted
AH, I think I understand.
I was able to locate a step by step process that describe this. As a newbie, I really need step by step instructions. So, here is the URL for those:
http://www.iis.net/learn/manage/configuring-security/application-pool-identities- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, June 2, 2015 4:41 PM