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.

Initially released as an add-on to Internet Information Services (IIS, formerly Internet Information Server) via the Windows NT 4.0 Option Pack, it was subsequently included as a free component of the Windows Server Operating System (since the initial release of Windows 2000 Server).

ASP 2.0 provided six built-in objects: Application, ASPError, Request, Response, Server, and Session. Session, for example, represents a cookie-based session that maintains the state of variables from page to page. The Active Scripting engine's support of the Component Object Model (COM) enables ASP websites to access functionality in compiled libraries such as DLLs.

ASP 3.0 provided some enhancements to the 2.0 version, including the Server.Transfer method, Server.Execute method and an improved ASPError object.

ASP supports multiple scripting languages, including VBScript (by default), but there are other options. An alternative Active Scripting engine can be selected with the @Language directive or the syntax. JScript (Microsoft's implementation of ECMAScript) is the other language that is built-in. PerlScript (a derivative of Perl) and others are available as third-party installable Active Scripting engines.

Though ASP is considered to be an old technology (first version released on December 1996, last version released on November 2000), the use of ASP pages is still supported today (November 22nd 2018).

According to Active Server Pages (ASP) support in Windows page on support.microsoft.com:

...The use of ASP pages with Microsoft Internet Information Services (IIS) is currently supported in all supported versions of IIS.

IIS is included in Windows operating systems, and therefore both ASP and IIS support lifetimes are tied to the support lifecycle of the host operating system. Visit Microsoft Lifecycle Policy for information about the lifecycle policy of your operating system.

11473 questions
208
votes
15 answers

Detailed 500 error message, ASP + IIS 7.5

IIS 7.5 , 2008rc2, classic asp, 500 error msg: The page cannot be displayed because an internal server error has occurred. I need to know how to configure IIS to get a more detailed error. I've tried setting to true all of debugging options in the…
egidiocs
  • 2,747
  • 3
  • 21
  • 20
134
votes
9 answers

Using ConfigurationManager to load config from an arbitrary location

I'm developing a data access component that will be used in a website that contains a mix of classic ASP and ASP.NET pages, and need a good way to manage its configuration settings. I'd like to use a custom ConfigurationSection, and for the ASP.NET…
Mike Powell
  • 5,914
  • 4
  • 28
  • 28
78
votes
8 answers

Any good libraries for parsing JSON in Classic ASP?

I've been able to find a zillion libraries for generating JSON in Classic ASP (VBScript) but I haven't been to find ANY for parsing. I want something that I can pass a JSON string and get back a VBScript object of some sort (Array,…
Mark Biek
  • 146,731
  • 54
  • 156
  • 201
70
votes
10 answers

What happens if the meta tags are present in the document body?

I am working on a ASP application and the code, template and files are organized in a way that does not allow me to alter anything outside the body tag. So I am thinking about inserting the meta tags inside the body -- like this:
Mask
  • 33,129
  • 48
  • 101
  • 125
59
votes
7 answers

Classic ASP on IIS7: refusing to send errors to browser on 500 Internal Server Error

I have classic ASP running on IIS 7. Even though I configured the ASP "Debugging Properties" to "Send Errors to Browser = True", the web app REFUSES to send errors to the browser and continues to send a 500 internal server error. My browser has…
Matias Nino
  • 4,265
  • 13
  • 46
  • 63
58
votes
6 answers

Get the type of a variable in VBScript

How do I get the type of a variable using VBScript?
Ash Burlaczenko
  • 24,778
  • 15
  • 68
  • 99
53
votes
19 answers

Are there benefits to Classic ASP over ASP.net

Having worked with Classic ASP for about 2 years now by creating a few 100 simple web forms I can't see a good reason for switching to .net; however, I'm not that versed in .net so I'm sure I could be missing a few things. Some points that I often…
Nip
  • 712
  • 1
  • 6
  • 15
53
votes
6 answers

.NET vs ASP.NET vs CLR vs ASP

Although I know the terms I used to forget the differences sometimes...So just to maintain a place for reference...Thanks all for your answers.
Vishal
  • 12,133
  • 17
  • 82
  • 128
51
votes
1 answer

How to unregister the assembly registered using regasm

I registered one of my dlls on the development machine using regasm as below (ASP application) In a cmd prompt, I navigated to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 and did: regasm /tlb "xxx.dll" Now I made some changes in the dll. So I…
Vani
  • 1,345
  • 4
  • 27
  • 48
47
votes
12 answers

Response Buffer Limit Exceeded

I am running a simple query to get data out of my database & display them. I'm getting an error that says Response Buffer Limit Exceeded. Error is : Response object error 'ASP 0251 : 80004005' Response Buffer Limit Exceeded …
Samir
  • 605
  • 3
  • 9
  • 14
46
votes
5 answers

Can someone explain this SQL injection attack to me?

I wanted to post this here as it is very much coding related and was something I had to clean up this week on one of my company's old ASP (classic) sites. We got hit with the SQL injection attack that was run just a few days ago, but I'm scratching…
Jakub
  • 20,418
  • 8
  • 65
  • 92
44
votes
8 answers

Is try-catch like error handling possible in ASP Classic?

What options are there in ASP Classic for error handling? For example: I'm using the Mail.SendMail function but when switching on the testing server it doesn't work, which is normal. I want to test if mailing is possible, if not then continue and/or…
Sander Versluys
  • 72,737
  • 23
  • 84
  • 91
1
2 3
99 100