jonwitts Posted November 13, 2015 Posted November 13, 2015 Hi there, I ran into an issue today with our HAP+ install due to the HAP Application Pool trying to add Default.aspx as a default document type to the application. As our top level IIS7 had default.aspx already in as a default document type this caused HAP+ to throw a 500 error after anyone logged in. To get things going again I have removed the default.aspx from the top level Default Documents; however I suspect that it was a Windows update which put it back there in the first place. So my question is, is it not possible for the HAP App Pool to check for the existence of default.aspx before it tries to write it in? Thanks, Jon
nickbro Posted November 14, 2015 Posted November 14, 2015 If it exists at the top level you don't need to add it at the sub level
jonwitts Posted November 14, 2015 Author Posted November 14, 2015 I know; I wasn't adding it at the sub-level; a script in the HAP App Pool config was trying to... Hence my question...
jonwitts Posted November 14, 2015 Author Posted November 14, 2015 The issue is that the HAP+ script was trying to add a default document type to it's application; however the default document type already existed. This causes the HAP+ site to return a 500 error... As my earlier post says...
ITGuyWestMidlands Posted November 14, 2015 Posted November 14, 2015 Looking at the code i cant see where it does this. Id say you have issues else where. It doesnt try to write it on my install.
jonwitts Posted November 14, 2015 Author Posted November 14, 2015 I will replicate when I get back to work after the weekend and post the exact lines of the HAP+ Application Pool which is trying to insert the document type.
nickbro Posted November 14, 2015 Posted November 14, 2015 If you are running Server 2012 (IIS 8) + you need to remove the Section
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now