Last post Jun 02, 2015 04:41 PM by danielrose01
Jun 01, 2015 12:57 PM|danielrose01|LINK
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?
Jun 02, 2015 03:05 PM|Mikesdotnetting|LINK
It works fine for me on Windows Server 2012. How are you logging? Database? XML? Have you checked file permissions for the App Pool?
Jun 02, 2015 03:41 PM|danielrose01|LINK
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?
Jun 02, 2015 04:24 PM|Mikesdotnetting|LINK
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.
Jun 02, 2015 04:41 PM|danielrose01|LINK