I'm working on a ASP.NET project that uses DNN (DotNetNuke). The production environment is we have 2 IIS servers with the website deployed on both. The two webservers have a network load-balancer in front. Both servers share the same SQL server instance and a file server where the content files are hosted.
I have already tested both webservers separately and works fine. But once they are brought together in the farm with the network load-balancer we intermittently get a gray page with "DNN Error. Site Unavailable. Return to Site" page.Also, if I just have one webserver with NLB configured, it works fine too.
There isn't much in the logs. The web.config file has:
<httpErrors errorMode="Custom">
<remove statusCode="404"/>
<remove statusCode="500"/>
<error statusCode="404" path="/ErrorPage.aspx" responseeMode="ExecuteURL">
<error statusCode="500" path="/ErrorPage.aspx" responseeMode="ExecuteURL">
</httpErrors>
Becasue of this there isn't much in the IIS logs. I can see IIS calling GET
method to this ErrorPage.aspx for some 500
error.
When I check the DNN error logs there's nothing happening in either of those 2 servers at this same time.
Some think the problem is with the network load-balancer. But I feel like some error is happening at the http
level probably due to some configuration in the DNN components. But I'm totally new to DNN framework. So any pointers on where I should start debugging is really appreciated. Thanks.
Edit: There's a multiple error being logged in the IIS that says
aspxerrorpath=/WebResource.axd
I don't know if this is relevant to the DNN error.