11,426 questions
7
votes
1
answer
2k
views
Windows 11 update Classic ASP Incompatibility – VBScript/JScript Mix Causes IActiveScript::SetScriptState Exception
After updating to Windows 11 on June 2, 2025, I'm experiencing major issues with legacy Classic ASP applications on IIS that make use of both VBScript and JScript on the server side.
json library
...
1
vote
0
answers
64
views
Httponly cookies expire soon in classic asp
I tried to secure an old website in classic asp which was using this code to generate a cookie but does not care about httponly and secure , however the expiration date was working fine and cookies ...
1
vote
1
answer
140
views
How to use browscap.dll on Windows Server running IIS and Classic ASP?
After trying fingerprinting that requires that the visitor use a web browser with JavaScript enabled, I thought that I would try using browscap... browscap.ini and browscap.dll are available on all ...
0
votes
1
answer
136
views
How do I get aspPdf to write special characters like æ, ø and å?
I am using aspPdf to convert a html page into a pdf file. And it is working fine, except from the special characters æ, ø and å.
I have this:
<!--#include file="include/connectOpen.asp"--&...
2
votes
0
answers
24
views
Classic ASP: Discern VBScript arrays in JScript code [duplicate]
I have a function in JScript that accepts a string or an array as parameter:
<script language="JScript" runat="server">
function handleThis(what) {
if (typeof what === '...
0
votes
3
answers
150
views
Request form checking length and two words
I have this code on my register page for a displayed name:
If (Len(Request.Form("name")) < 3) Or (Len(Request.Form("name")) > 50) Then ...
0
votes
1
answer
460
views
How to setup Visual Studios 2022 to display vbscript code blocks the same as Visual Studios 2019
I am trying to replicate my editor view in VS 2022 to be how it looks in VS 2019.
Here is how it looks in VS 2022
versus the coloring found in VS 2019
I have spent quite a bit of time within the ...
-1
votes
1
answer
148
views
asp classic - asp.net - Need a Large File Download Script that downloads in chunks that does not load the entire file into memory [duplicate]
I have run into an issue that I cannot find a solution for.
Specs:
ESXi 6.5
Windows 2016 Datacenter
ARR Web Farm
--Current Temp Setup (Both systems have almost identical settings.)
1 ARR Server (8GB ...
-1
votes
1
answer
98
views
How to Update the Contents of a Dropdown Based on the Selection of Another Dropdown [closed]
I am trying to update the contents of a particular dropdown box, based on the selection of another dropdown box. The contents of these boxes is coming from tables in an MSSQL database. Basically, I ...
1
vote
1
answer
182
views
mdb database not working after upgrade from Win 7 to Win 10
I've today upgraded from Windows 7 to Windows 10.
I've installed IIS (10) and moved the various sites into the the default folder (wwwroot)
Typing 'http://localhost/warweb/' in the browser opens the ...
-2
votes
1
answer
99
views
In classic Asp is it possible to change value to an unknown variable? [duplicate]
Don't know if title exactly fit what I need to know. I searched for an answer in Stackoverflow (and Internet too) without success (maybe I was not able to find it).
I have a web app written many years ...
0
votes
2
answers
90
views
ASP classic cant change data in Application by ajax request
I try to call a simple ajax request from client side to server side, but I have a problem with it
when I press the button I have no change in this page even when I got the alert("OK!"); and ...
0
votes
0
answers
42
views
Migrating an ASP application between services shows ODBC Driver error: data source name not found [duplicate]
I'm migrating an ASP application from Windows Server 2003 to Windows Server 2016, with an Oracle database located on another server.
I have already installed all the extensions that the application ...
0
votes
0
answers
110
views
ASP Classic / JS multi select filter
I am trying to create a filter to display records assigned to multiple groups not just one as currently set up below. Maybe via a checkbox.
Any assistance would be appreciated.
ASP classic with JS ...
-2
votes
1
answer
436
views
How to identify a user's location [duplicate]
I have a Classic ASP application that several users log into from several different physical store locations. They are all hitting the same database and web server of course. But I would like to know ...
0
votes
0
answers
59
views
ASP Classic 3rd Party DLL Registration [duplicate]
I have inherited a website that has a mix of ASP.Net and ASP Classic. I'm fine with the ASP.Net, but the ASP Classic, I haven't used in at least 20 years (probably longer!)
It took me forever to get ...
1
vote
0
answers
85
views
Stream response in a file
I want to stream the response of the actual page in a file.
This is what I do for creating the file :
set fso=server.CreateObject("Scripting.FileSystemObject")
fic= session("...
1
vote
2
answers
119
views
How do you replace the last comma with "and" in a comma-separated string?
I need to use VBScript to insert an "and" into a string before the last item in a comma-separated list.
strList = "512, 66, 1820, 1235, 7, 4918"
needs to become...
strReList = &...
-1
votes
1
answer
147
views
Using a specific User/Domain in a Msxml2.ServerXMLHTTP request in classic ASP [duplicate]
We have a client we need to communicate with and their API page only supports NTLM authentication.
Our site runs classic ASP (jScript) so forgive that the syntax is slightly different than the what ...
-1
votes
1
answer
163
views
Classic ASP: requesting variables from 'Content-Disposition: form-data' [duplicate]
I am integrating Paypal's Checkout API into a legacy Classic ASP site.
When sending via this front end js:
var postData = {paypal_order_check: 1, order_id: orderData.id};
fetch('...
-3
votes
1
answer
140
views
Does a 500 internal server error (for .asp subfolder page) write logs by default and ways to troubleshoot [closed]
services including http and .asp (diagnostic) page within a .net application throws 500 internal server error intermittently, the application pool running the service(s) uses a gmsa as an ...
1
vote
1
answer
71
views
Read a text file from a passed variable
I have looked at all of the similar questions, and they, unless I missed something, do not answer my question; so here goes:
I want to open a text file on my webpage; but The title is a passed ...
0
votes
1
answer
130
views
How to resolve 'recycle IIS application pool error in vbScript website'? [duplicate]
This application needs to be recycled at least 3 times a day, currently it's a very big problem. This is not a large-scale logical application, it is primarily used for uploading and downloading ...
2
votes
1
answer
209
views
Classic asp application_OnEnd and session_OnEnd events not working
I need to still work with classic asp and I faced with an existing application an issue with Application_OnEnd and Session_OnEnd events - i.e. the are not working. OnStart-events work normally. I do ...
0
votes
0
answers
51
views
Error in Parameterized Query using Classic ASP [duplicate]
I am getting the following Error in this parameterized query using Classic ASP.
ADODB.Command error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one ...