Hopefully an issue that somebody out there has encountered and fixed but I've thus far failed miserably to resolve myself.
Scenario is as follows;
I have a classic ASP website that is currently using Integrated application pool and Anonymous authentication. It is hosted on an IIS 7.5 intranet site that doesn't have any access to the Active Directory.
When using an Integrated application pool I have access to Request.ServerVariables that are populated with user identity details that my site can leverage to tailor the output accordingly. However any attempts to access Request.Form result in the 500 error stated in the title.
If I switch to a Classic application pool I cannot access these Request.ServerVariables but Request.Form once again works.
Does anybody know how to get Request.Form working when using an Integrated application pool?
As an example the following simple page fails at the 3rd line via Integrated and has blank ntuser via Classic.
<%
ntuser = Request.ServerVariables("HEADER_PF_AUTH_NTUSERDOMAINID")
post_value = Request.Form("post_value")
%><html><head></head><body><form method="POST" action="default.asp"><p>NT User: <%=ntuser%></p><p>Post value: <input type="text" name="post_value" value="<%=post_value%>" /></p><input type="submit"></form></body></html>