asp

how to invoke the file download window in javascript?

Hi all, I have got a PDF fle which i would like my users to download when they click on a button/link/image.Is this possible? Thank You ...

Security of clearing down cookies in IE

Hi, I've been asked to analyse an old web app which stores sensitive information in cookies rather than sessions/similar. (To be precise, it's classic ASP and uses cookie families). The only clients are IE 6/7/8 After the process in question has been completed on the web app, the cookies are cleared down. The question I need to answer...

How do you Debug/Run classic asp pages in Visual Studio 2008?

Whenever I try to open a classic asp page while running the site in VS2008 I get the error: "This type of page is not served". How do you Debug/Run classic asp pages in Visual Studio 2008? AnthonyWJones has the correct answer but it is not letting me select an answer for some reason. Here is a tutorial I found that goes into more deta...

Classic ASP development

I work with a actively developed production web application that is written entirely in Classic ASP. Like most classic asp applications it is a mess full of spaghetti code. So I am beginning to break pieces into simple VB classes to gain some basic encapsulation benefits. While creating the classes I feel conflicted that a higher lev...

Access and classic ASP error 80004005 System resource exceeded.

An old site on shared hosting has developed an error when executing a simple SQL statement Microsoft JET Database Engine error '80004005' System resource exceeded. /411971/users1.asp, line 68 Line 68 is Set objCon = objCommand.Execute The Access database isn't large (less than 2Mb), this is a single table query and the table only c...

Formatting floating point numbers in ASP

A friend asked me to update his shopping cart software. It's written in classical ASP using IE's JScript. I can't seem to format the variables correctly. . <% if (oOrder['product'] == "camera") { %> <%= format_float(oOrder['cost'], 2, 3)/2 %> <% } %> %> When I do this I get a bunch of jibberish with regards to the output...

Get authenticated user from ASP.NET in ASP classic

Hi I have a lot of ASP.NET 2.0 applications using the form authentication. It works well but now I need to integrate this in one of our old ASP classic application. I've checked this Scott Gu blog entry (http://weblogs.asp.net/scottgu/archive/2007/03/04/tip-trick-integrating-asp-net-security-with-classic-asp-and-non-asp-net-urls.aspx) a...

Accessing an asp.net web service with classic asp

My company is considering working with another company on a particular module. Information would be sent back and forth between us through my web service. Thing is, my web service uses ASP.NET, and they use classic ASP. Everything I've found online says (it's a pain, but) they can communicate, but I'm not clear on some details. Speci...

Eclipse – ASP classic plugin

Where can I find an Eclipse plugin for ASP classic? ...

ASP IDE on Windows

What is the best free alternative to Visual Studio for ASP development on Windows platform? ...

SQL query, can i have WHERE as a wildcard?

Hello everybody! Is it possible to have the WHERE as a wildcard in a SQL query? I have this simple query: SQL = "SELECT ID, Firstname, Lastname, Company, City, Email FROM table WHERE * LIKE '%" & q & "%';" lets say the variable q equals "John Doe". Then I want the query to search for q in both Firstname AND/OR (??) Lastname. I just...

how to connect ms sql server with aspwebsite project?

in my project, there're name,surname,e- mail regions.then user must tick to "Okey".if users entered textboxs correctly, i want to transfer these knowledges to my sql database. how can i do that?(in okey.buton click or textname_text_changed). ...

name of the site which have Multilanguage option ? i want solution in asp

i want the name of the websites in which options for multi languages available.... EX... English, Turki, Dutch, By selecting English The websites contents should be in English language.. Thanks And how can i use that functionality in asp.... ...

A generic type as a parameter.

My first question is, is it possible to specify a generic type as a parameter, secondly, is anything such as the pseudo code ive listed below possible? I assume it will be using .net 4.0 and the dynamics modifier but i am more interested in a pre 4.0 solution. public static void SomeMethod(List<T> l, Type type, Control samplecontro...

Asp website with vbsript functioning differently on different servers

Hi there, I am currently trying to move a web site from one server to another, one of the asp pages contains some vb script that looks like this: Dim oSearch 'AS Object Dim strXML 'AS String Dim strXSL 'AS String Dim oRS 'AS ADODB.RecordSet Set oSearch = Server.CreateObject("ETHERNET_PL.CETHERNET_PL") strXSL = Server.MapPath("...

Is it possible to ceate a DSn to my FTP Account

hi, i using sql2005, my hosting company allow me to use 300mb for my sql server. i wand to increase my sql database size but i have 300GB is available in my FTP account. Is It possible to create a DNS (some thing like MS ACCESS below) to my FTP account <% ConnStringHB = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath...

ASP running in 64 bits environment with Access database

I have a customer since 2003 running a simple web site built in asp 3.0 with an access database file (.mdb). Recently that customer aquired a new server that came with windows 2003 server 64 bits and the web site doesn´t function any more, showing this message: ADODB.Connection error '800a0e7a' Provider cannot be found. It may not be pr...

CDO.Message - "The transport failed to connect to the server."

I'm working on a Classic ASP & Vbscript site that uses CDO.Message to send email in a function. I'm running into trouble with this function and am recieving the error, CDO.Message.1 error '80040213' The transport failed to connect to the server. I believe it has to do with the SMTP authentication settings and the shared host we are r...

How to handel Script Timeout error in Classic ASP?

Hi, In my Classic ASP application I am trying to generate a web report having more than 7K and 14K records respectively, but it shows "Script TimeOut" error after 10 to 15 minuts. The IIS setting is already more than default value.And also I have written the following code in individual page: <% server.scriptimeout=4000 %> Please su...

image position and clipping

hi, does anybody knows how to place an image in the webpage, but both position and clipping (maybe also resizing) are interactively done by user ?, i need it for my registration page, i've done some clipping and resizing from css and javascript, and it's not really solve the problem. If it's can be done by php, it will be perfect ! thx. ...