Active Server Pages (ASP) is Microsoft’s first server-side engine for dynamic web pages. ASP’s support of the Component Object Model (COM) enables it to access and use compiled libraries such as DLLs. It has been superseded by ASP.NET, but will be supported by Internet Information Services (IIS) through at least 2022.

Share tech news, updates, or what's on your mind.

Sign up to Post

Experts - I am looking for a freeware / without any third party components to read email (Pop3 / imap / exchange) from classic asp & create a ticket with just "From" as Requestor email & attaching the entire email to the ticket.

Can someone help me on the same please?
Never miss a deadline with
Never miss a deadline with

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

We have a web application that uses ASP classic.
It is installed in a windows 2012 server. IIS has debugging errors off, when it is off there is one page that shows a 500 error.
If we turn the details of the errors ON to debug and display the error on the screen then the page shows just fine, this is if we have turned errors on for local and remote pages.
If we have it either off or on for local pages (but not remote pages) then we get the 500 error.

I imagine this is an IIS issue. We restarted the server but no luck so far.  Any clues?  We need to have the page work with errors turned off for security.
Converting a classic ASP site to run on Windows Server 2012 R2. The site makes extensive use of custm HTML meta tags and Index Server to achieve many different results. Windows Server 2012 does not have Index Server and it seems the recommended replacement to use is Windows Search service. I can modify my queries on the search catalog to find standard information such as title, filename etc. The problem is I can't figure out how to add my custom meta tags to the catalog and then be able to search for them on the ASP pages.

So I need to know two things: how to ad the custom tags to the search catalog/index and then how to search for them via classic ASP code.
Hello Team,

I have following doubts on the below questions . Kindly please answer

-What is the difference between private authority and object authority?
- How do we delete temporary and permanent PTF ? Does it depend on the PTF type?
-PTF install has failed and what is the roll back plan?
-what is PSP and use of it?
-How do we connect HMC to server? I mean how HMC will talk to all the Hardware?
-Do you have document to configure HMC from scratch?
-Difference between capped and uncapped processor?
-what is processor pool and memory pool?
-what is CPW and how do we calculate the CPW of our LPAR/server?
-How to check how much memory is being used currently? using WRKSYSACT?
-In some point of time the ASP has been reached from 40 to 90, so how do we identify which object has been caused/saved?
- What is MIMIX Application Group and Data group?
I have secured classic asp web application and I want
instead of having a link format of:<UserName>&uidhash=<EncryptedUserName>&cid=<YourCustomerId>

I want to display, URL format like:

Option 1 hide the .asp extension<UserName>&uidhash=<EncryptedUserName>&cid=<YourCustomerId>

or Option 2 replace generic word<UserName>&uidhash=<EncryptedUserName>&cid=<YourCustomerId>

or Option 3 replace .aspx in place of .asp<UserName>&uidhash=<EncryptedUserName>&cid=<YourCustomerId>
I'm using the well know function below.. I receive the payload, split the string, and sometimes it works, sometimes it does not.

I take the same  string I am trying to decrypt, and try in javascript, and it decrypts it ( ... I have been scratching my head for 2 days trying to figure out what the issue is.. I get the error "Error parsing [BigLongBASE54stringGoesHere] as bin.base64 datatype"

If I snip off the last 2-4 characters it process it, but removes the trailing "}" unencoded response.... about 1/2 of the return payloads act like this.

Function Base64Decode(ByVal vCode)
    Dim oXML, oNode
    Set oXML = CreateObject("Msxml2.DOMDocument.3.0")
    Set oNode = oXML.CreateElement("base64")
    oNode.dataType = "bin.base64"
    oNode.text = vCode
    Base64Decode = Stream_BinaryToString(oNode.nodeTypedValue)
    Set oNode = Nothing
    Set oXML = Nothing
End Function
Hi there, I have been looking for some code to use with click and enlarge of images, however...

All the code I have found opens a new window (of the browser) which the user would have to click to close...

I have prob the wrong wording, and do not know the correct.

What I am looking for is the image is enlarged over the top of it (not within the page itself)

a good example is:

another good example is when you click the link button above

Is anyone able to help me find the right code or suggest where I can find it?
w3socketc.dll can work both vb, asp and php? Could anyone  replay me. I need it badly.
There is a server and I need to socket connection and give some command and get output from there. Now it is connected w3sockets.dll vie VB. I wants to convert it to php but I am stacked at connection stage. Only telnet is enable there. Please help me regards this issue.
how do I get moments.js to output to asp classic variable  e.g <%=mytimeORsomthing %>
Take Control of Web Hosting For Your Clients
LVL 12
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

dim rs
dim user1
dim pass1
dim role
dim strsql

set rs=server.CreateObject("ADODB.Recordset")

if session("user")="" then
      Response.Redirect "loginpage.asp"
end if

'Response.Write session("user")
strsql="select granted_role from user_role_privs"
rs.Open strsql,Session("conn")
set rs=nothing
'-----------for war alert...-----------

if session("user")="ADMINISTRATOR" or role="CSG_ROLE"  then
            set rs=server.CreateObject("ADODB.Recordset")
            strsql="select WARRANTY_DT,asset_no from tabasset where WARRANTY_DT<=(sysdate+90) and WARRANTY_DT>=(sysdate-30)"
            rs.Open strsql,session("conn"),3 ( Shows Error in this line)
            'Response.Write rs.Fields(0)
            if not rs.EOF then%>
I have a web site that uses an Excel 2007 spreadsheet to store information for displaying new pages when buttons are clicked.  It has been function for more than a year with the following connection information

mystring="Driver={Microsoft Excel Driver (*.xls)};"
mystring=mystring & "DriverId=790;Dbq="& Server.MapPath("2012_SimplifiedItemsForSale.xls")

This now fails with the following error message:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Excel Driver] Reserved error (-5016); there is no message for this error

Searching the web, I found that many people have seen this error, and the recommendation is to use a different OLEDB driver.

I downloaded and installed AccessDatabaseEngine from Microsoft site and changed the code to the following:

mystring=mystring & Server.MapPath("2012_SimplifiedItemsForSale.xls")

The new error code is:

ADODB.Connection error '800a0e7a'
Provider cannot be found. It may not be properly installed

Q1.  Can anyone tell me if I have properly written the code to use the new OLEDB?
Q2.  Is there another step that must be taken to be able to use the driver software?

Office 2007 is installed in c:\Program Files (x86)

Help. Please.
i wanna knowing to run asp pages without IIS or PWS
Hi, is it possible to sort xml data in a classic asp page using AJAX and querystrings??

xml code

<?xml version="1.0" standalone="yes"?>
<Issue>Aeon Financial 2019</Issue>
<LongBLPTicker>QZ3838484 Corp</LongBLPTicker>
<ShortBLPTicker>8570 JT Equity</ShortBLPTicker>

Open in new window

Page code...

<!doctype html>
<meta charset="utf-8">
table {
    border-collapse: collapse;
    width: 100%;

th, td {
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: left;
    padding: 8px;
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #eef6ff
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;

Open in new window

Hi, experts, I found a code in the google that seems able to upload the file to the server. However, when I run it, I've got an error saying that; "Operation not Allowed /clsUpload.asp, line 208" Is the code below really can upload files to the server? if yes, which part of the code should I change? Thank you!

<!--#include file="clsUpload.asp"-->
<FORM ACTION = "clsUploadTEST.asp" ENCTYPE="multipart/form-data" METHOD="POST">
Demo Input: <INPUT NAME = "Demo"></INPUT><P>
File Name: <INPUT TYPE=FILE NAME="txtFile"><P>

set o = new clsUpload
if o.Exists("cmdSubmit") then

'get client file name without path
sFileSplit = split(o.FileNameOf("txtFile"), "\")
sFile = sFileSplit(Ubound(sFileSplit))

o.FileInputName = "txtFile"
o.FileFullPath = Server.MapPath("/MyWebDocument") & "\" & sFile

 if o.Error = "" then
	response.write "Success. File saved to  " & o.FileFullPath & ". Demo Input = " & o.ValueOf("Demo")
	response.write "Failed due to the following error: " & o.Error
 end if

end if
set o = nothing

Open in new window

I'm having difficulties with setting up a new site to site vpn to two other sites. I currently have a site to site working with from the 128.0 to the 2.0 networks.  I have a new site which I'm trying to configure a site to site vpn to the other two sites through the vpn wizard and they aren't connecting.  I went through the ASDM site to site vpn wizard and it worked for the first one but it doesn't for the new site to the others.  I have included the configs below. NETWORK
ASA Version 9.1(6)
hostname ciscoasa
enable password OlOxQ1nyrZ49h6MK encrypted
interface Ethernet0/0
 switchport access vlan 2
interface Ethernet0/1
interface Ethernet0/2
interface Ethernet0/3
interface Ethernet0/4
interface Ethernet0/5
interface Ethernet0/6
interface Ethernet0/7
interface Vlan1
 nameif inside
 security-level 100
 ip address
interface Vlan2
 nameif outside
 security-level 0
 ip address 104.201.x.x
ftp mode passive
object network obj_any
object network EMAIL
 description Woodchuck
object network Webserver
 description ETIMAIN
object network cl
object network NETWORK_OBJ_192.168.1.0_24
object network SC
object-group protocol TCPUDP
 protocol-object udp
 protocol-object tcp
Hi experts, I wish to stop or kill the running exe on  my computer using vbscript. I have a program running on my pc named, SkyWin.exe. This exe is found in c:\xFolder\SkyWin.exe and  I'm using Windows 10. Any help please!
Hi all, I have set out some data, however I am not sure if it is possible to list it in a specific way

For each product (prod_ID) there is events that happen, no matter what date the event is (like lines 20-24 & 32 & 33)
product is the Formula 1 event

For each departure (dep_ID) there would be different things happening (like lines 25 & 31)
departure is the specific package (where as there could be different-longer packages with different itinerary)

TABLE: prod_itin
itin_ID	brand_ID	cons_ID	date_added		itin_live	prod_ID	dep_ID	itin_day	itin_IATA_start	itin_start	itin_finish	itin_IATA_finish	itin_item
20		GPT		1	9/08/2017 1:00:00 PM	Yes		3		1		AEGPA		1:00:00 PM	2:30:00 PM				Free Practice 1
21		GPT		1	9/08/2017 1:00:00 PM	Yes		3		1		AEGPA		5:00:00 PM	6:30:00 PM				Free Practice 2
22		GPT		1	9/08/2017 1:00:00 PM	Yes		3		2		AEGPA		2:00:00 PM	3:00:00 PM				Free Practice 3
23		GPT		1	9/08/2017 1:00:00 PM	Yes		3		2		AEGPA		5:00:00 PM	6:00:00 PM				Qualifying
24		GPT		1	9/08/2017 1:00:00 PM	Yes		3		3		AEGPA		5:00:00 PM						Race
25		GPT		1	9/08/2017 1:00:00 PM	Yes		3	6	1		AUH		2:00:00 PM						Check-in
31		GPT		1	9/08/2017 1:00:00 PM	Yes		3	6	5						10:00:00 AM	AUH			Check-out
32		GPT		1	9/08/2017 1:00:00 PM	Yes		3	6	1		AEGPA		8:00:00 PM						Concert: Calvin Harris
33		GPT		1	9/08/2017 1:00:00 PM	Yes		3		4		AEGPA		8:00:00 PM						Concert: P!NK

TABLE: prod_deps
dep_ID	brand_ID	cons_ID	date_added		dep_live	prod_ID	dep_date	dep_type	dep_conf	dep_sold	dep_prod	

Open in new window

Hi experts, please help me  understand what's the reason why some computers cannot  get the message from the server while trying to  accessed it? The codes below is trying to test the server response how the server deal with the response. My laptop is able to get message while some of my destops, pc cannot. I'm using chrome to all computers but some of my computers cannot get the message from the server. The alert box message will appear blank but some computers able to obtain the message.


 function iSaveToServer(x)
	if (window.XMLHttpRequest)
	  {// code for IE7+, Firefox, Chrome, Opera, Safari
	  xmlhttp = new XMLHttpRequest();
	  {// code for IE6, IE5
	  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	  if (this.readyState==4 && this.status==200)
	        	var str = this.responseText; 
	        	alert (str);
	  }                                      "GET","SendMsg.asp?a="+ x, true);

Open in new window


dim msg
msg = request.querystring("a")



Open in new window

The new generation of project management tools
The new generation of project management tools

With’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

I am having issue trying to get my Web Application published and running correctly on our IIS server.

When I test from within Visual Studio 2015 with the same ODBC driver setups, everything works fine.  It is only once I try to publish the Web Application and access it off the IIS webserver in a browser that I am getting an issues.

I am using Visual Studio 2015 v14.0.25431.01 Update 3

The IIS server is a 64-bit Windows 2016 server

The ODBC driver is a Progress OpenEdge 11.6 driver - 32 Bit

The ODBC connection is setup using the 32-b it ODBC Manager found in c:\windows\sysWOW64\odbcad32

I came across many forums that say to make sure that the ODBC driver is setup correctly, and using the correct ODBC manager, which it is.

I also came across some posts that reference compiling the Web Application and specifying in the Configuration manager to use x86 instead of Any CPU.  x86 is not an option when I go into the configuration manager.

I am at a loss as to how to resolve this error so that I can access the new Web Applications from the IIS server.

The error I get is...

Server Error in '/' Application.

ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception …
Hi experts, I wish to put some colspan in a table created from server side as a response of a certain request. My code below is trying to implement such thing but it does not work. Any help please!

            response.write("<th style="" width: 170px; color: black; padding: 1px; text-align: center; colspan: 2; "">" & "Date executed" & "</th>")
            response.write("<th style=""width: 130px; padding: 3px; color: black; "">" & "Notes" & "</th>")


Open in new window

Hello All,

I am trying to re-direct from Classic asp application to a .aspx page for a File upload. I am receiving following error. Any input of what this error is can be really helpful.

Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located.

Source Error:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
ASP Script using request from data sent via get can reat using request("data") but if data is sen via post no data is received.

Originated with the get method

Variables are retrieved and the job get done.

Originated with the post method

Variables are not retrieved and the script does not work

Any ideas






Active Server Pages (ASP) is Microsoft’s first server-side engine for dynamic web pages. ASP’s support of the Component Object Model (COM) enables it to access and use compiled libraries such as DLLs. It has been superseded by ASP.NET, but will be supported by Internet Information Services (IIS) through at least 2022.

Vendor Experts

Gil FeldmanMonday Learn more about Monday