Classic ASP Session not working in IIS 7 Windows Server 2008 R2 x64
Posted
by
user553361
on Stack Overflow
See other posts from Stack Overflow
or by user553361
Published on 2010-12-24T14:46:32Z
Indexed on
2010/12/24
14:54 UTC
Read the original article
Hit count: 589
Hi,
I've been googleing and searching here info about this but so far couldn't find anything relevant to my problem.
We have a website currently working on II6 and Windows Server 2003 (x86) without any problem. Now we want to migrate our server to a Virtual Machine with Windows Server 2008 R2 (x64) and IIS7.
Out current app is built in Classic ASP and SQL Server (This one located on a 2nd Server but this is staying the way it is now).
The website is configured as a WebSite, not a virtual directory. Using DefaultAppPool with 4 applications.
Now, the problem I'm getting is with the Sessions, or at least that's what I think since I created a simple hello.asp with this code
<%
response.write "Hello"
response.write Session.SessionID
%>
And this is giving us this result:
Hello error '8002801d'
/hello.asp, line 3
ASP Sessions Properties
Enable Session State : True
Maximum Sessions : 2147483647
New ID On Secure Connection : True
Time-out : 20 min
This is the log in Event Viewer
Warning 24/12/2010 14:03:42 Active Server Pages 9 None
FailedReqLog
Url http://apps.shocklogic.com:80/hello.asp App Pool DefaultAppPool Authentication anonymous User from token NT AUTHORITY\IUSR Activity ID {00000000-0000-0000-1400-0080000000F8} Site 1 Process 3312 Failure Reason STATUS_CODE Trigger Status 500 Final Status 500 Time Taken 110 msec
Would be great if anyone has any ideas.
Thanks, Federico
© Stack Overflow or respective owner