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
Filter by
Sorted by
Tagged with
-1 votes
1 answer
649 views

IIS Domain Authentication works on all but the server hosting it

All domain users have access to the web application on the local network, except for the server that is hosting it for some reason. Here are some stats and the error details to get us started, but ...
-1 votes
2 answers
768 views

how to edit fields which are stored in textfile using classic asp

I have two fields which are taken in two variables that are StrcategoryName and StrcategoryUrl means category name is stored in StrcategoryName and url is stored in StrcategoryUrl which are come from ...
2 votes
1 answer
4k views

Request had invalid authentication credentials. Expected OAuth 2 access token error

I need to read and import google people contacts but I get the following error: "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid ...
0 votes
0 answers
162 views

Request.ServerVariables("HTTP_EMPID"). Is this CUSTOM (Warning: Classic ASP)

I suddenly have to support a Classic ASP web app (yes, I know it's older than dirt). I am using VS2017 to attach a debugger and debug it. When I debug the code I notice that the code appears to depend ...
-1 votes
1 answer
494 views

Classic ASP : Create MS Access Database ( *.mdb ) with adding tables without MS Access Installed

Please anyone can teach me how to create MS Access Database ( *.mdb ) by coding with Classic ASP? I have done with below coding and yes *.mdb file is created but it seems not valid *.mdb file. It can'...
2 votes
1 answer
253 views

Can't open Saleslogix SLX connection

I can't open a SLX connection with a Classic ASP (VBScript) page: Set connSlx = Server.CreateObject("ADODB.Connection") connSlx.open "Provider=SLXOLEDB.1;Password=pwd;User ID=uid;Initial Catalog=...
4 votes
2 answers
2k views

How to access ASP classic session variable from PHP?

I have a login protected back office website written in ASP classic running on Windows. Login status is stored in a session variable. I also have a PHP page that should be accessible only to logged in ...
1 vote
9 answers
10k views

Refresh problem in Firefox

In my asp page there is one textbox name "ProductName" if i write any thing in that textbox and refresh that page , textbox is not clear in firefox. But i open this same page in Internet explore and ...
-1 votes
1 answer
94 views

print signs on two columns table in Classic ASP

I am trying to print signs in two columns table in classic ASP, ASP file receive the Item-ID's and put them in Array then loop to select signs content from the database, i been able to print in one ...
0 votes
1 answer
612 views

ISAPI Rewrite RewriteRule for domain root username URLs

I am trying to create a root username using ISAPI Rewrite. E.g. www.mysite.com/myusername I want this to redirect to... /user.asp=myusername Then if the username is not found to load content based ...
1 vote
3 answers
3k views

What ASP classic code can I use to print the ASP version?

I have taken on a new ASP classic project and I don't have much experience with ASP. I want the code I can use to print the ASP version - so that I know which exact docs to look at.
5 votes
0 answers
322 views

Restrict access to content via a signed URL in IIS?

In the past, I've used NGINX and the ngx_http_secure_link_module to achieve this, which has worked great. If you try to access a media file directly, you get a 403 access denied error. But with a ...
3 votes
2 answers
544 views

File extension problems with classic ASP

I am running a classic ASP website where my online users can attach files to the internal message system. But whenever they upload an attachment with more then 3 characters in the file extension, the ...
0 votes
0 answers
37 views

Crystal Report in asp classic [duplicate]

WE are using Crystal Reports Developer 8.5 to deliver crystal reports via an ASP page into the activex viewer. We had this running perfectly on our old webserver (windows 2003 and IIS6), however we ...
0 votes
0 answers
133 views

Exporting to .CSV in classic ASP page: Number format in resulted excel wrong [duplicate]

I'm having issue retaining the number/text format when I export the data out in .csv format. In my database table, I have a column with this design: ClaimantNRIC varchar(20) In my classic asp page, I'...
3 votes
2 answers
10k views

Sort FileSystemObject by date

I would like to sort the files using ASP Classic FSO by date. Do I need to loop through all the files, put the dates into an array and then list the array by date order or is there a simpler way to do ...
0 votes
0 answers
49 views

Request.QueryString returns a value only twice. [ASP, JQuery]

I am creating a reservation program where the test2.asp page returns the result according to the date sent from the test1.asp page. I don't know where I'm doing wrong, but it only returns 2x result. ...
4 votes
2 answers
14k views

Remove "You're in Internet Explorer mode" from Edge

Note: This may be the wrong StackExchange site for this, but I'm starting out looking for programming/server solutions, and I'm most familiar with StackOverflow. We are a travel company with a classic ...
1 vote
2 answers
4k views

Executing a PHP script from VBScript

I have a classic ASP page that needs to access a file generated via a PHP script. Is it possible to call the PHP script somehow, from within VBScript? And before anyone asks, I do not have the time ...
3 votes
2 answers
30k views

Why am I getting "subscript out of range" when the subscript IS in the range?

I'm working with some legacy spaghetti code that processes some hairy EDI. Most of the code is indecipherable and has no indentation or comments or even good variable names but there's one line that ...
0 votes
0 answers
570 views

How do I "Check each OLE DB status value" as instructed by the error message?

I am troubleshooting a very old web site that uses Classic ASP written in Visual Basic. I've narrowed the problem down to a failure when attempting to open an ADO connection. The code looks like this: ...
5 votes
3 answers
6k views

ASP Classic CDOSYS Email via HTMLBody format

I have an issue sending an email using CDOSYS messaging system in ASP Classic using HTMLBody format. It seems to have a character limit, and when the email message is being sent, it cuts the message ...
0 votes
0 answers
62 views

Slow performing LEFT JOIN, CONCAT_WS search (MySQL, VBscript) [duplicate]

I am struggling with slow performance on an SQL search query. Hopefully somebody can help me understand the cause of this, as I have been hitting a brick wall for a few days now. The code for the page ...
0 votes
0 answers
37 views

How to return a XMLDom object forom classic asp function [duplicate]

I am working on a legeacy application where I need to return xmldom object from a classic asp function, here is my code, but gives me belwo error. not sure where I;m wrong. Microsoft VBScript runtime ...
-6 votes
1 answer
94 views

Need Classic ASP for dynamic declaration of request inputs to add database record [closed]

This is for Classic ASP I have a webform that submits 64 form inputs for 64 columns - not rows] and that number can increase depending on the number of players. I usually define those variables while ...
15 votes
6 answers
63k views

ASP Line-breaks - \n?

I have been searching for a way to insert linebreaks in my code for when I view my source. I am not looking for <br /> Something like the PHP equiv to \n Any ideas on how to do this in ASP? I ...
1 vote
2 answers
1k views

Option Compare Text in Classic ASP

This should be a no-brainer, but I haven't really written any classic ASP code in like 10 years and just cannot remember how to do this, and can't find it on google. All I'm looking to do is to set a ...
1 vote
2 answers
1k views

VScode: how to setup for local edit and ftp-deplyment

I used to use Dreamweaver. I've a huge Classic ASP website. I edit the files on my local system, and when done, I can upload the file(s) via ftp to the remote webserver. Now, I try to switch to VSCode....
0 votes
3 answers
154 views

Can I duplicate this classic ASP pattern in ASP.NET MVC?

Virtually every ASP app I've written (hundreds) follows the exact same pattern. A "single page app" with a header and footer, and a dynamically updated content area that changes depending ...
0 votes
1 answer
1k views

ASP Error No value given for one or more required parameters

I am receiving the following error on my ASP login Microsoft JET Database Engine error '80040e10' No value given for one or more required parameters. /vdateUsr.asp, line 47 The data is being ...
4 votes
2 answers
5k views

ASP equivalent of PHP print_r

Plain old ASP, not .NET I've got a really large and complicated class for making an upload progress bar and I'm trying to find out the uploaded file name. I think easiest way to accomplish that would ...
0 votes
2 answers
109 views

ASP Comments - Multiple Apostrophes [duplicate]

I have been tasked with taking over management of a database interface. I cannot contact the original designer, but a lot of their ASP code has lines with multiple apostrophes ('). Below is an example....
5 votes
4 answers
11k views

Classic ASP - When to close recordset

I would like to know, which of the following examples is the best for closing a recordset object in my situation? 1) This one closes the object inside the loop but opens a new object when it moves ...
1 vote
2 answers
5k views

Classic ASP - Dynamic array not working

Im trying to create an array from a string i have but its not working, i was wondering if someone could let me know where im going wrong. There could be quite a few filenames in the string, which is ...
0 votes
0 answers
261 views

Getting Timed out Error in Classic ASP While Calling XMLHTTPRequest

I'm getting an error when calling a method of an ASP.NET MVC controller from Classic ASP using XMLHTTPRequest. msxml3.dll error '80072ee2' The operation timed out /createpaymentlink_ajax.asp, line ...
3 votes
2 answers
250 views

Spaces and carriage returns are being added to HTML email

We have a server generated HTML file (myFile.html) that we embed in emails that get sent to our clients. We've been using this method for years with minimal issues. We use Windows Server 2012 with ...
0 votes
2 answers
3k views

Confused about SMTP / IIS and what actually happens with emails sent via ASP

I have a windows 2003 / IIS 6.5 machine running a classic ASP site. The site itself sends emails ('forgot password', etc.) and I also run scripts on the machine to send email newsletters. I don't ...
1 vote
0 answers
47 views

how to read excel(xlsx) file from classic asp [duplicate]

I have tried to extracting data from excel file but I am getting the below error Microsoft VBScript runtime error '800a0046' Permission denied: 'Createobject' /myaspclassic/rdexl.asp, line 3 My code ...
14 votes
12 answers
30k views

Thread Sleep in Classic ASP?

I'm doing some revision on an old app that is written in classic ASP/VbScript. It has a feature to send out an e-mail to the members of the application, but because the member list is quite large, ...
2 votes
3 answers
3k views

Classic ASP Intentional Wait / Delay inside Loop with Buffer Flushing

We have a script that sends emails and we want an intentional wait for n milliseconds between messages to not flood the server. The asp_Wait() I found works but without any output. That is, when the ...
0 votes
1 answer
508 views

Converting classic asp to javascript: How to write or make returned string (json+ld) visible in header of webpage using javascript?

I have this Classic Asp code in header section of webpages: <% dim url, param, avgrate, votes, p, s url = "https://au2mailer.com/api/a2m-getschemaorg.asp" param = "?apikey=...
5 votes
10 answers
57k views

OLE DB Provider for ODBC Drivers Error "80004005'

I have to move some customer sites from a very old IIS Server to a newer one, and some sites have troubles to work in the correct way. Most of them complain about a failure called: Microsoft OLE DB ...
-1 votes
2 answers
8k views

HTML and image conversion to pdf using jspdf

Currently i work on a project in asp classic, jquery, and html Recently, i sucessfully convert a html file to a pdf using "from-html.js", but i got one question wich is: How can i insert some ...
1 vote
1 answer
397 views

Classic ASP - Server.CreateObject - Unauthorized operation

I have the following code : Set objUpload = Server.CreateObject("ASPUploadComponent.cUpload") It seems to be failing, because the following debug code : Response.Write(" begin "...
0 votes
2 answers
466 views

part of the vbscript code gets trashed with hyphens

on some computers, when a client opens the specific html page, part of the vbscript code on the client side gets trashed with hyphens. i saw that the vbscript code on that page was composed of one ...
0 votes
2 answers
4k views

localhost IIS error - HTTP Error 403.14

I am getting this error when I goto my localhost site that I setup on IIS `HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. A default document ...
2 votes
2 answers
2k views

Integrate classic ASP with ASP.NET

I have a classic ASP site hosted on IIS and I need to add new pages to the site, but the new pages have to be ASP.NET; I created few pages put them in the same directory and they are working fine. My ...
0 votes
1 answer
8k views

Parsing json string in classic ASP

Im trying to parse a json string in classic asp. A found a useful script referenced on stackoverflow: https://github.com/douglascrockford/JSON-js/blob/master/json2.js when calling the 'parse' ...
13 votes
9 answers
29k views

A good IDE for classic ASP?

I'm using Dreamweaver, but it doesn't give me classes, functions, subs names when I am starting to write.. Are there any good alternatives?
2 votes
1 answer
66 views

How to prevent outlook.office.com from displaying message source in emails

Our club directors are using online.outlook.com as a webmail solution for messaging, and I have noticed something peculiar in that while messages sent to the directors from a mail client like ...

1
4 5
6
7 8
230