Print Page | Close Window

Server Variables

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
Printed Date: 25 June 2022 at 2:58am
Software Version: Web Wiz Forums 12.05 -

Topic: Server Variables
Posted By: bsafsbc
Subject: Server Variables
Date Posted: 07 February 2022 at 3:29am
I'm trying to reuse an old legacy application using Classic ASP and after installing it and setting up the MySQL database all is ALMOST working correctly.  But I get a fatal server error (500) without explanation when my code tries to set a session variable.  I've been able to see that everything else pretty much works - it just acts kind of funny because this variable is missing.  

Any ideas why this is generating an error - and what I can do to fix it?

Posted By: WebWiz-Bruce
Date Posted: 07 February 2022 at 3:25pm
Are you hosting the website with Web Wiz? If you are you can enabled detailed error messages Classic ASP from the control panel, see page below for further details;" rel="nofollow -

If you are hosting the website with another provider you may need to enable detailed error messages through the web.config file by adding the following to the system.webServer section;

    <httpErrors errorMode="Detailed" />

If you are hosting with Web Wiz and need further help, please open a support ticket at" rel="nofollow -  

-------------" rel="nofollow - Find Web Wiz on Facebook" rel="nofollow - Follow Web Wiz on Twitter

Posted By: bsafsbc
Date Posted: 08 February 2022 at 9:06pm
Yes, it is hosted on WebWiz.  And the error I get is shown below.  The option in Web.Config to see all errors is already set.  And I have gone through the control panel setup.  I do get other errors properly displayed when they occur as I'm trying to re-launch this application.  Only the action of setting a session variable causes this error:

"Session Variables SetAn error occurred on the server when processing the URL. Please contact the system administrator.

If you are the system administrator please click - here to find out more about this error."

Posted By: bsafsbc
Date Posted: 08 February 2022 at 9:45pm
Forgot to mention - the first part "Session Variables Set" is a tracer line I inserted in the code before the session set.  It didn't get to the tracer I set several lines after.

Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.05 -
Copyright ©2001-2022 Web Wiz Ltd. -