asp-classic

Connecting A Second Site To Current SQL Database

Ok - long story short. Have an e-comm site hosted on Windows VPS using SQL Server 2005, site been up for years and works just fine. I am now trying to set up a new site hosted on another Windows VPS Server that will share the same database. Both sites are using classic asp and I have put up a duplicate page to each server that has a s...

Checkbox list in columns via JQuery

How can I create a layout with a set of checkboxes evenly distributed into columns at the top of a page? I'm using jQuery and classic ASP. ...

Redirect response output with VBScript in ASP classic

In a plain .asp file, any content outside of <% %> tags is sent directly to the output buffer. Additionally, an expression in <%= %> tags is evaluated and sent to the output buffer. I want to redirect it so that, in some context that I establish, the result of those two constructs is instead sent to a buffer that I control. If possible,...

LDAP Call in ASP page no longer works

Hi all I have a Classic ASP page that made an LDAP call to our Domain Controllers to find out the group membership of the logged on user. Since our Network Admin demoted the two old Windows Server 2003 Domain Controllers and promoted two Windows Server 2008 R2 servers the page now fails at Set CurrentUser = GetObject("LDAP://" & ADSysIn...

ASP shopping cart

Hello based on the example at http://www.15seconds.com/issue/010411.htm i will like to create an ASP shop but i would like to rewrite the connection to db as i don't have a dedicated server . Instead of Sub SubGetDSNCreateConn strBasketDSN = Application("strBaskDSN") set BaskConn = server.CreateObject ("ADODB.Connection") BaskConn.Conn...

How can I properly load test a new component on a webserver?

We're implementing a new solution in our classic ASP environment that's using COM interop to instatiate a .NET component to do some work. The solution is working great and our team lead wants to make sure that it will perform well under load since this is the first time we'll be working with .NET components on our site. What do I need ...

How to display data from stored procedure in a drop down in Classic ASP ?

This is related to Classic ASP code. A page fetches data for a particular ProjectCode. There is a general text field which shows the Site-Location for selected Project-Code. I want to change it to drop down, so that a user can change the Site-Location from options available (fetched from DB) and then save it. Also, on page load the Sit...

Recommended references for classic ASP

I have to dive into a big chunk of legacy ASP code. What ressources would you recommend reading in order to grasp the best practices of this platform (object orientation, configuration for i18n, ..) ...

SQL and ASP HELP!!!!

Hi all, I've been working on this script for the last week or so and i'm having major problems trying to understand why it's not working right. I've got some checkboxes link to email address and all i need is for the corresponding username to go with that email. This script is for users that have registered for different newsletters. ...

Define Failover SQL Server

Hi, We are begining to test some BC solution's for our SQL Server DB's, we have decided that where possible we will use DB Mirroring and for all other less critical or where DB mirroring is not possible to use log shipping. I have setup two test SQL Servers to test log shipping to be able to document procedures, and also to establish w...

How many requests per second should my asp(class) app handle

I'm profiling a asp(classic) web service. The web service makes database calls, reads/writes to files, and processes xml. On a windows server 2003 box(2.7ghz, 4 core, 4gb ram) how many requests per second should I be able to handle before things start to fail. I'm building a tool to test this, but I'm looking for a number of requests pe...

get AppFriendlyName of currently executing web page in global.asa ?

Hello, I need to get access to the AppFriendlyName of a IIS application in the global.asa Application_Start event (classic ASP) I am looking for the equivalent of HttpContext.Current.Request.ApplicationPath in the global.asax (ASP.NET) Is there a way to do that ? Thanks for your help ! Jerome Wagner ...

Sending Values to Iframe HTML PAGE

Hi All, I have an asp page and in asp page there is iframe having HTML page. What i need is to send two values from asp page to inner HTML page. How is it possible. ...

Posting forms to a custom 404 Classic ASP URL in IIS7: where is the post data?

Have recently migrated a number of websites from an ageing Windows 2003 server running IIS6 to a new Windows 2008 server running IIS7. The sites all use a CMS written in classic ASP which requires that the 404 error is modified to load a default.asp file which looks at the URL and loads content from a database. This is just to keep all ...

Classic ASP/ASP.NET: How do I retrieve data from classic asp from my .net page?

I have an asp page with an input/text field and an anchor/href that links to an aspx page. What I want is to populate the label control on my aspx page with the value entered in the input/text field. How would I do that? ...

MVC vs ASP Classic

I've been given the task of designing the architecture of a new web based trading system. I see Scott Gu is hot on the task of pushing out MVC releases, but the more i look at them the less difference I see with Classic ASP. Due to the availability of classic ASP programmers, I'm contemplating using this instead of paying top dollar t...

Trying to create a X509Certificate2 certificate fails when called within a COM interop environmen

I've got a classlibrary which defines a couple of helper classes/methods which are used from a classic asp web application. So far, everything works fine. Now I've added a new helper method which signs a PDF file using a third party tool. Using a console application to call this wrapper method, everything works fine. Once I use an asp pa...

Can someone please tell me what is wrong with this statement?

I am using this to insert a few things into my table and it keeps giving me this error: Microsoft VBScript compilation error '800a03ee' Expected ')' /thanks.asp, line 63 Set rstSimple = cnnSimple.Execute("insert into SALT (Email, Username, FirstName, LastName, ActivationCode) VALUES ('"Request.QueryString("payer_email") "', '" & Requ...

Using XSL to sort XML data then output an XML file to be read by Classic ASP

Hi, Hopefully this will be a simple fix. I'm completely new to XSL but I've managed to get a little script that sorts my data by date. I now want to use ASP to limit this data to all entries within a month (this works by using a DateDiff() function). When I go to load in the XSL scripts output it says that my XML is malformed. Can anyon...

string concatination in asp

Hi.. i am facing problem on concating string in classic asp <%=xlagc("http://www.abc.com.au/templates/?a=&lt;%=request.QueryString("a")%&gt;&amp; "&z="<%=request.QueryString('z')%>") this call must be like <%=xlagc("http://www.abc.com.au/templates/?a=12&amp;z=12")%> Any help will be appreciated. ...