Closed GoogleCodeExporter closed 9 years ago
Hosting .NET2.0 on IIS7 needs little adjustment. Elmah is developed using .Net
2.0 and my host enviroment is IIS 7.
I have resolved this problem by configuring the web.config in the following way:
Add the following line Under <system.webServer> and remove it from <system.web>
1.<modules>
<remove name="ErrorLog"/>
.....
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
</modules>
2. <handlers>
.....
<remove name="Elmah"/>
.....
<add name="Elmah" verb="POST,GET,HEAD" path="elmah.axd"
type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode"/>
</handlers>
I mean the dots ..... that you may already have the sections and there might be
some code already in their. So you don't need to recreate the sections instead
apply the changes.
For more information on the subject, please see the following article:
http://mvolo.com/blogs/serverside/archive/2007/12/08/IIS-7.0-Breaking-Changes-AS
P.NET-2.0-applications-Integrated-mode.aspx
Original comment by abdi.sha...@taysear.com
on 30 May 2011 at 2:47
Original comment by jamesdriscoll71
on 26 Feb 2012 at 10:38
Original issue reported on code.google.com by
abdi.sha...@taysear.com
on 28 May 2011 at 6:39