asp-classic

Is there an open source web based management for MS SQL server?

Does anyone know of a web based MS SQL manager (in ASP.NET or classic ASP)? I'm getting sick of using their studio software, and use MySQL a lot too, so I'm used to the web based management. Thanks :) ...

Classic ASP port -- how to replace #INCLUDE (.inc) files

We are porting a Classic ASP app to ASP.NET. What do we do about the #INCLUDE (.inc) files? Now they're causing build errors because ASP.NET thinks the variables are "not declared". ...

How to parse XML in ASP/vbscript?

I have a result string with the following structure <items> <item> <id> I must iterate through down to id and I have some other tags there also. I really don't know how to do it in vbscript. And I would like to have all id:s returned in an array. Is there not really a method like this: Dim doc Dim thumbArray Set doc ...

ASP Classic coding on the Mac?

Anyone here do classic ASP development on the Mac? The biggest thing that I'm looking for is a Web Preview that is capable of handling ASP Include files. I personally use Textmate and Espresso for web development, but neither of those handle Include files. My boss is in love with Dreamweaver but I'm loathe to adopt it because I've never ...

Can you use constants in VbScript switch statements?

Id expect this to work (below) If iTestVar is 1, I'd expect DoStuff() to be fired. However it always falls into the else. I have researched const in the past and found they can only be defined outside of classes. The select statement is inside the class. 'This is defined outside of the class (vbscript won't allow const inside c...

How to fix remove whitespace from email headers in classic ASP?

I have a email function which sends email. The thing is done in classic ASP/VBScript and uses Set objMail = Server.CreateObject("JMail.SMTPMail") JMail. How can I remove extra whitespace (= bad MIME encoding) in the header? ...

Where is the documentation for MSXML API?

Especially for vbscript/ASP. set xmlDoc = CreateObject("Msxml2.DOMDocument.3.0") ...

Classic ASP sending email with SMTP Authentication

We have inherited a classic ASP site from a design agency who just wanted us to do a search and replace to change SMTP hosts. No problem, we are a PHP shop but can turn our hands to most things. On further investigation it was discovered that we need to authenticate with the new SMTP server. A bit of googling lead us to believe that it...

How to tell if the requested URL is HTTPS behind a content switch that call the server on http?

I have classic asp web page in which I am calling an XML source using MSXML2 on an IIS box. MSXML2 requires a full URL http://www.dom.com/path etc. and this all work very well until I tried to install on a server behind a content switch on https url. After some debuging I worked out the that the content switch didn't have path for http ...

ASP - How to get URL of Referring Site

This is an ASP question, not ASP.Net. Assume there are two sites: www.domain-1.com www.domain-2.com www.domain-1.com has a redirection URL in IIS that points to www.domain-2.com. In www.domain-2.com, I need to know the URL of the referring site (e.g. in this case, it would be www.domain-1.com). How is this done? ...

Classic asp server-side JSON library

I have inherited some classic asp code and I need a JSON library that can be instantiated and run server-side for use with JavaScript-coded server-side asp. How can I do this? ...

Classic asp: why doesn't Request.QueryString("foo").toString() work in a javascript (JScript) based page?

All I want to do is Get the name-value pairs that were supplied to Request.QueryString Populate a javascript object (aka hash) with keys from the names and values from the values Halt the page if one of the expected hash values is the empty string The Request.QueryString object is reminding me why I hated classic asp even before it w...

"Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'." to SQL Server 2005

I'm trying to migrate a legacy application we have to Windows Server 2008 x64 and IIS7. It's written in Classic ASP and connects to a SQL Server 2005 database. However, when the page runs, I receive the error: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. The connection string I'm...

Integrating First Data (previously YourPay and LinkPoint) payment gateway with custom ASP booking system

Hiya, I’m trying to integrate a simple booking system (developed in ASP) with this payment gateway: https://www.firstdata.com/ My site is hosted on a shared server and I was hoping to pass the transaction details to firstdata and have all the secure data entered and processed on their system (as in a Form Purchase token type model). ...

Making a variable name a dynamic variable

Hi There I hope someone can help me with the following... I have this code below it is written in classic asp and javascript... I have this variable in the code below my2String1 how can I make this a dynamic variable like: my2String1_1 my2String1_2 my2String1_3 I have a database value Recordset2.Fields.Item("article_no").Value wh...

Relitve path for MSXML2.ServerXMLHTTP.6.0 not working

I have this code which works but I need to stop using http in the string as it sometimes is on a https servers. Hence my wish to change it to a relative path e.g. Url = "../../path/to/file.asp" but when make the change to this code we get this error. msxml6.dll error '80072ee6' System error: -2147012890. I am sure I missing somethin...

Reading multiple recordsets

I have a Stored proc which returns 6 select statement results. I'm trying to use one record set to execute sp and get records for each select statement but i get 0 or empty records when i read them, How can i query record set with multiple select statements from stored procedure? ex: Set rs = Server.CreateObject("ADODB.Recor...

How to deploy classic asp website?

I would like to know how to deploy or what are the steps that are involved to deploy a classic asp website in IIS 6/7 Can we create an installer for the existing project? ...

SqLite and Classic ASP with JScript

SqLite is widely pitched as zero install, however I am having problems understanding how I can write data from an asp web form to an sqlite database without installing a dll. Am wondering if you could point me to some reference as to how to configure sqlite on an ASP server so I can connect to an sqlite database. In addition is there a...

Return value and item string from HTML Select using ASP

I have a select box on a classic ASP page which looks like this: <select name='reason' id='reason'> <option value='77000005471253'>Family issue</option> <option value='77000005471256'>Holiday</option> <option value='77000005471254'>Medical</option> <option value='77000005471255'>Meeting</option> </select> I can return the value elemen...