Questions tagged [asp-classic]

Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script-engine for dynamically-generated web pages. The introduction of ASP.NET led to use of the term Classic ASP for the original technology.

asp-classic
3,142 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
97 views

Infinite loading when executing a command in an asp file

Set oShell = Server.CreateObject ("WScript.Shell") oShell.run "cmd.exe /C copy ""C:\inetpub\test\test.txt"" ""C:\inetpub\test\test2.txt"" ",...
Maxence Svensson's user avatar
1 vote
0 answers
1k views

How to POST JSON data to an API using VBscript

I am currently working on a signup form and I want users to be pushed to my hubspot account upon sign up. The form is built in a .asp file format using HTML, CSS, and VBscript. I want the user to fill ...
alias542's user avatar
1 vote
0 answers
2k views

IIS request timeout is set to 60 minutes but scripts timeout after a couple of minutes

I have a site running on windows 2008 R2 IIS 7.5. I am having trouble with script timeouts and can't seem to find the correct setting to fix this. We run some scripts that pull data from an SQL server ...
chenks's user avatar
  • 139
1 vote
0 answers
442 views

MSXML For Post (Classic ASP)

I am trying to make a simple form post to a remote server using MSXML and although this should be so simple I can't figure out why it fails. Let me explain... CLIENT SCRIPT... response.Buffer = true ...
Shawn Ives's user avatar
1 vote
1 answer
1k views

IE11, VBScript: ActiveX component can't create object: 'outlook.application'

I'm having a scenario where a (very old) intranet is having issues opening office from within Internet Explorer using VBScript. The scenario: User clicks on hyperlink is redirected to the following ...
Arne Deruwe's user avatar
  • 1,100
1 vote
1 answer
461 views

Server Login Failed: Classic ASP App with Service Account - only when windows auth is turned on

I have configured an ASP Classic application with an application pool running under a service account, which has access to the database I'm connecting to. The connection string includes a ...
eliteproxy's user avatar
1 vote
0 answers
89 views

How to show the detail of a record of a DB with a modal in Classic ASP, Ajax?

I am trying to show the details of a record through a modal, what I am doing is with the help of a button, it detects an event, this event sends a request to a file called query and in this file I ...
Luis Alberto's user avatar
1 vote
0 answers
201 views

MySQL Classic ASP ODBC Function sequence error

I am using ODBC onto a MySQL database using classic ASP. This is a pretty stable live installation used constantly. Every few days it randomly produces: [Microsoft][ODBC Driver Manager] Function ...
Simon Sawyer's user avatar
1 vote
0 answers
145 views

Redirect in Javascript Window Leaves New Window Open

I have a page where a user can click on a button that opens a new window using Javascript's window.open. The new "pop-up" window allows users to perform various editing actions. After ...
Bjorgen Eatinger's user avatar
1 vote
0 answers
670 views

Attach to Process w3wp.exe not working for classic asp page

I am trying to debug .asp pages by Attaching to w3wp.exe, but my breakpoints do not get hit. I have "Enable Client-side Debugging" & "Enable Server-side Debugging" & "...
Tom S's user avatar
  • 135
1 vote
0 answers
239 views

What's the difference between server-sent events and ajax request?

I need a notification in the user interface. You have 4 new messages etc. . I did research and read the article here. server-sent events My goal is not to make a request by the server if the user has ...
omerix's user avatar
  • 159
1 vote
1 answer
234 views

Always Encrypted/SS 2017 and ASP Classic, problem with anything more than read operations

Always Encrypted/SS 2017 and ASP Classic. For those few of us still administrating ASP/VBscript applications, this post gets us to where I'm at... How to read SQL Always-encrypted column from classic ...
Joe Latiolait's user avatar
1 vote
0 answers
228 views

Can't correctly read emoji from Mysql using ODBC

I've read many threads on Stack and other forums, but still can't figure how to make it work. The configuration I have a MySQL 8.0 database named test, and configured it with default CHARACTER SET ...
Fehu's user avatar
  • 381
1 vote
0 answers
386 views

ASP Classic reposting posted data

I am posting uploaded files to classic ASP using AJAX and I need to be able to repost the post stream to another site. I can verify that the posted data from AJAX request is correct. I can read the ...
Chris's user avatar
  • 720
1 vote
0 answers
465 views

ASP Classic `Session_OnEnd` redirect not working

I have a site written in two languages, Classic ASP and PHP. I have a system to keep a user logged in on both languages that basically involves ASP asking a PHP script "hey, am I logged in?" ...
Stephen R's user avatar
  • 3,707
1 vote
0 answers
523 views

classic asp : MSXML3 dll ServerXMLHTTP

I am using below code Set objXML = Server.CreateObject("MSXML3.ServerXMLHTTP") objXML.Open "GET", sendstring, false objXML.Send() Its giving error on objXML.Send on localhost ...
user2745580's user avatar
1 vote
0 answers
72 views

Replicating remote site "attack" by force sending specific form data to a page

I have this simple form: <form method="post" id="theForm" action="user-password.asp"> <input type="hidden" name="what" value="...
4532066's user avatar
  • 2,074
1 vote
0 answers
416 views

My ASP local website randomly hangs. ASP pages unable to be loaded. But I can load HTML files just fine

My ASP local website randomly hangs. ASP pages unable to be loaded. But I can load HTML files just fine. IIS6 is used. See URL here: http://66.162.173.102/staff/asp/workspace/sos.asp Above is an ...
Biju P Dais's user avatar
1 vote
1 answer
1k views

Classic asp VB Wscript output

Thanks for reading / helping. On an old win2003 server, in this scenario: Const WshRunning = 0 Const WshFinished = 1 Const WshFailed = 2 Dim shell, exec, strOutput Set shell = CreateObject("WScript....
AlexPM's user avatar
  • 43
1 vote
1 answer
325 views

Read XML with classic ASP (DACK)

I followed this question here: Reading xml data using classic ASP to begin with, but I'm encountering an error and I don't know why that is. This might be due to this DACK-standard the XML file is ...
DasSaffe's user avatar
  • 2,158
1 vote
1 answer
156 views

Emoji appears as black diamond when output from mid function

I have a very simple Classic ASP page here: <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <% response.codepage = 65001 response.charset = "UTF-8" %> <!DOCTYPE html> <html lang="en"&...
4532066's user avatar
  • 2,074
1 vote
0 answers
164 views

ASPSessionID is changed intermittently between requests on IE 11

We have a classic ASP site running on IIS 10 over https. On some clients using IE 11, an authenticated user is redirected to login page randomly. It is random as in there is no specific page which ...
Bilal's user avatar
  • 55
1 vote
1 answer
387 views

calling bat file using asp classic

Can anyone help me with this problem, i need to call/execute bat file. below are my codes for bat file and asp classic. test.bat echo off start C:\inetpub\wwwroot\Texting\Notification.lnk ...
Rhyanne's user avatar
  • 11
1 vote
0 answers
165 views

ASP Classic: Cookie keys not readable after modifying cookie string

I have an application with a mix of ASP Classic and .NET that shares cookies with keys. For example: c = request.cookies("LS")("course_int"). Turns out ASP stores underscores as %5F in the cookie so ...
Velocedge's user avatar
  • 1,304
1 vote
1 answer
466 views

In MySQL/SQL is it possible to use parameters as a field/column name?

I'm trying to convert some of my SQL statements to use parameters instead of just appending values, and some of my statements require entering the column that is being used, as well as the value to ...
Devin Mitchell's user avatar
1 vote
1 answer
260 views

How to update multiple values in a SQL database from a 'select multiple' box in asp?

I'm setting up a select multiple box to allow multiple values to be added to a database at once, and using the below code: <select name="add" style="width: 100%; height: 100px" multiple> ...
Ender The Xenocide's user avatar
1 vote
0 answers
2k views

Could not create a Disk Cache Sub-directory for the Application Pool

I'm trying to run an old project using ASP Classic with Visual Studio 2017. When I hit the run button it send me to localhost:80xx and I got this error: Server Error in '/' Application. So, ...
Pankwood's user avatar
  • 1,840
1 vote
1 answer
444 views

Why does this link, which works when pasted into a url bar, not work when clicked?

I had this really strange problem that I figured out the solution to and I wanted to share it with the world, so I'm going to ask a question on here and answer it myself. Probably some other people ...
Shavais's user avatar
  • 2,556
1 vote
0 answers
386 views

How to disable DTD processing to prevent XXE attack in MSSOAP.SOAPClinet30 in Classic ASP

I am using MSSOAP.SOAPClinet30 to make SOAP Web service requests using Classic ASP and which returns XML and it has an external entity which it processes. SET objSoapClient = Server.CreateObject("...
H_H's user avatar
  • 1,520
1 vote
0 answers
291 views

Replacing VirtualPrintEngine with JsPDF

Keep in mind : This is my first question on StackOverflow. The web app is a software package that the company modified for their needs. The part on is using Virtual Print Engine from IDEAL Software (...
mrALX's user avatar
  • 19
1 vote
0 answers
490 views

"Out of Memory" error when a COM Object method is called in an ASP Classic page

We maintain a Web application which is basically a set ASP Classic pages loading COM Objects (through a homemade framework to avoid code duplication and excessive instance creation), running on IIS 6....
Amessihel's user avatar
  • 6,156
1 vote
2 answers
124 views

How to change 1,000,000.00 into 1.000.000,00 with ASP classic?

I want to change number 1,000,000.00 into 1.000.000,00 with ASP classic. Please help a=1000000 response.write formatnumber(a,0) It shows 1,000,000
Benyamin Kandou's user avatar
1 vote
0 answers
107 views

Recordset (classic asp) storing empty values after executing SQL Server stored procedure

I have restored a database from SQL Server 2005 to SQL Server 2014. I am trying to execute a stored procedure from a classic ASP application. After execution, the recordset stores a few column ...
user2922926's user avatar
1 vote
0 answers
589 views

Server Sent Event and ASP Classic (with Javascript)

So I'm trying to implement some server side event in ASP Classic. This is because I can't do push notifications with ASP Classic. It consists of a Javascript and ASP code. The idea is to send a notice ...
Opcode's user avatar
  • 11
1 vote
1 answer
390 views

Need help to select and loop a table asp classic

I need some help in looping the right way. I'm missing something. I have to select an order from a cart table and then mail a confirmation to the customer with the products and the sale company ...
Claes Gustavsson's user avatar
1 vote
0 answers
336 views

Classic ASP, quotes in SQL handled differently in Jet.OLEDB.4.0 and Microsoft Access mdb driver

I am maintaining some legacy classic ASP code through a hardware move. The code queries a local Access database. On the old system, the database connection was opened as follows: Set conn = Server....
Mark F.'s user avatar
  • 21
1 vote
0 answers
2k views

Classic ASP Base64 Encoding and Line Breaks

I have been using the base64 encoding function from this answer (code is below) https://stackoverflow.com/a/506992/510296 I noticed that it is wrapping lines of output after the 72nd character (...
GWR's user avatar
  • 1,938
1 vote
0 answers
365 views

VBScript object property/method call?

I am debugging a legacy classic asp site using VBScript. In the global.asa file, I found there are some code, I couldn't figure out where the method/property comes from. Wonder if anyone could point ...
Xiao Han's user avatar
  • 1,004
1 vote
2 answers
575 views

Accessing Azure SQL Database from Azure Web App with VBScript and Azure Key Vault

How can I connect to SQL database hosted on Microsoft Azure without having credentials in plain text in my .asp files or config files in VBScript? I want to have the database connection string ...
Sunny Yu's user avatar
1 vote
0 answers
38 views

ASP Session times out in Java 1.8 but not 1.6. Causing huge user impact

We run a classic ASP web application that connects to a mainframe back end via a dll that creates a session between the mainframe and client (via an IIS web server). The website uses remote ...
Stuart Reynolds's user avatar
1 vote
1 answer
198 views

classic asp and soap response - how to handle changing prefixes in namespace?

I have inherited a classic asp page that uses webservices, which is something I'm relatively new to. The requests and responses work fine, but I have noticed that a prefix gets added to the namespace ...
Linea's user avatar
  • 7
1 vote
0 answers
926 views

Classic ASP assign class object to array

Having a legacy Classic ASP project and need to do the following. I have created a class: Class MeView Private m_x Public Property Get X() X = m_x End Property Public Property Let X(value) ...
user9671207's user avatar
1 vote
0 answers
486 views

Could not create SSL/TLS secure channel in COM object

We're using a COM object (called from a Classic ASP web application) to do a webservice call. Recently the webservice disabled TLS1.0. We've updated the COM object to .NET 4.6.2 and added the ...
Marthijn's user avatar
  • 3,322
1 vote
1 answer
791 views

Use Vue.js components inside Classic ASP application

I’m new to vue.js. I have a requirement to develop a calendar with a scheduling feature for a Classic ASP project. I did some research and found the following project on GitHub which is developed ...
Vishvanathan Logeisharooban's user avatar
1 vote
0 answers
542 views

Debugging a VB6 ActiveX DLL called via VBScript in a Classic ASP Application

Whelp, I avoided it as long as possible, but the time has finally come to make some changes to some ancient VB6 code. I'm a recent college grad so I was hoping to stay away from this code that is ...
thomasrea0113's user avatar
1 vote
0 answers
715 views

When downloading a zip file in classic asp, I am getting 'file is being used by another process error'

I am working on classic asp with vbscript application. Requirement: Consolidate files in a server folder to a zip file and download it. This should happen in a single button click. What I have ...
Nisha's user avatar
  • 1,389
1 vote
0 answers
200 views

Configure SQL Server to use unicode literals by default

We are migrating a classic ASP application, using SQL Server, to multilanguage, and for this, as first step we have to migrate from ansi / windows-1252 charset to Unicode. We have succeed moving the ...
Sourcerer's user avatar
  • 2,001
1 vote
0 answers
703 views

[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '@errno'

We have a classic asp page interacting with SQL Server 2000 Using ODBC SQL Server Driver. DB team moved this instance to SQL Server 2014. Now we have a procedure which is not using RAISEERROR @error ...
Abhilash D K's user avatar
  • 1,281
1 vote
0 answers
184 views

Classic ASP interact with jQuery AJAX

I have run into a bit of a problem that i cant seem to work around in my head. I have an asp page that has a while loop to print dynamic data coming from the database, in particular, checkboxes like ...
user avatar
1 vote
1 answer
1k views

ADODB.Recordset error '800a0cc1'

I'm trying to set new values for a table that I have in my DB with ASP Classic. I am getting this error: ADODB.Recordset error '800a0cc1' Item cannot be found in the collection corresponding ...
Maria No Dato's user avatar

1
4 5
6
7 8
63