asp-classic

Classic ASP: Get "Authorization" Header

I've been searching for a solution on the internet for this, and can not find it anywhere. I've setup a simple POST request through Fiddler for an ASP page on my local machine: Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwav...

Call a parameterized Oracle query from ADODB in Classic ASP

I’m currently working on a classic ASP project talking to an Oracle database. I’m trying to find a way to safely call an Oracle PL/SQL script and passing parameters with ADO. The currently solution builds the SQL script by hand with embedded variables like this: strSQL = "SELECT field1, etc FROM my_table WHERE (field = '" & filter_val...

Any monitoring software which traces IIS & freely available ...

In continuation to last question - My site goes slow and stops access certain services externally if we check the Process monitor we see that it is normally due to the ‘w3p.exe’ process – which is the background process for running the website – it regularly reaches 99/100% - killing the process/restarting the WebPublishing service reolv...

ASP VBSCRIPT variable declaration issue

First of all, I got a question in .asp page Class clsTesting Function hash_call ( methodName,nvpStr ) ..... Set SESSION("nvpReqArray")= deformatNVP( nvpStrComplete ) ..... End Function end class When I perform call to this function, once reach the Set SESSION("nv line it say error: Microsoft VBScript runtime (0x800A01A8) Object ...

Web Services in Classic asp

hey all, first of all this is my third question about web services here and i am very thankful to guyz for helping me out, but yet something is missing which is not right here is the code which i got already from a question of mine Set oXmlHTTP = CreateObject("Microsoft.XMLHTTP") oXmlHTTP.Open "POST", "http://www.oursite.com/WebServ...

How do you debug classic ASP?

I have to debug a classic asp site being served by IIS 7 (windows 2008). How can I do this? I have only worked with ASP.NET. ...

VB6.0 and windows 2003 clustering

VB 6.0 / ASP (not .NET) web application that runs in a windows server 2003 / IIS environment with sql 2005 server.There is a c/c++ component (exe/service) that runs on the server. Customer would like to run in a windows clustered environment. Problems occur due to use of windows API GetComputerName. This pulls the actual server name, n...

Problem with Classic ASP Breakpoints in Visual Studio 2005

I am trying to set a breakpoint in an ASP page that isn't working correctly. I am doing this in visual studio 2005 on Windows server 2008. Whenever I try to set the breakpoint with the mouse, the IDE opens up a different page and sets a breakpoint somewhere in that page. I don't know why it is doing this. I have better luck setting th...

Classic ASP problem connecting to remote SQL Server database

I have a classic ASP app that I am trying to connect to a SQL Server 2008 database on a different server. The ASP app is being served from IIS7 on Windows Server 2008. I have changed the web site's application pool to run under a specific windows account, that I have verified has access to the database on the remote server. However, wh...

.Net, asp Global.asa equivalent

In classic asp you had the Global.asa file, what's the equivalent in .Net? I want a central point in which to create (once) a master DataSet that I want to be able to access throughout my application? What would be the correct event, onStart? Thanks R. ...

RDS Replacement in Classic ASP and How to Do the same in .NET

We have an application that makes heavy use of the RDS.Dataspace. As in : set objDS = CreateObject("RDS.DataSpace") set objJB = objDS.CreateObject("JBdbio.dbio","http://<%=Request.ServerVariables("SERVER_NAME")%>") To instantiate and then: NewQry 2,"QryUpdtItem" ' To set the name of the stored procedure AddParam 255,"ISBN",20...

Loading bar with classic asp

Hi, is there any chance to show a loading bar while creating something in a loop with classic asp? I thought about some ajax-style loading bar which shows that the page is stil creating something. I tried to do it with session variables which contains status information of the process but on this i found out that asp servers have a qu...

ASP print out array

Hi all, I would like to print out the data, for debugging purpose. Data format would be like this cntryCode = resArray("COUNTRYCODE") business = resArray("BUSINESS") ' Payer's business name. shipToName = resArray("SHIPTONAME") the resArray consist of more than 10 records itself. I tried to print out, but fail. version 1 not w...

ASP Classic Webapp - Connect to different SQL DB via login

Need a way to connect to a unique SQL db via login in ASP classic. THE SETUP Webapp: ASP classic/SQL 2005. Webapp stores information for multiple companies. All data stored in one master SQL 2005. All db's will be on same server. Each user has a unique login (Company, User ID, Password) Connection is with master db include file us...

32-bit crypt component running on 64-bit server with 32-bit IIS app!

I've got a Classic ASP application running on 64-bit Windows Server 2003 in 32-bit emulation on IIS. I'm bringing a COM component over from a 32-bit server and wondered how I would install that to be accessible from the Classic ASP app. I can choose between a 64-bit and a 32-bit version of the component. Do I: install the 32-bit ...

IIS 7 404.0 ERROR when using post/form method in classic asp.any solution?

I am just a beginner and trying to practice some of my classic asp codes. I am having the same problem as Rahul. I am getting 404.0 not found eroor while using the form and post method. However get and querystring works just fine. I am using vista preimum IIS 7. Why post method is not working with IIS 7? Any simple solution for this such...

Read in a html page within asp.net mvc

i am porting over a website from asp. i have one page that i can't figure out how to migrate it. The page is dynamic in the sense that it reads in other html pages and sticks the content into the main "container" page. In the middle of the asp page it has sections like below <% Dim fso1, f11, ts1, s1 Const ForReading1 = 1 Set fso...

IIS doesn't send two responses to the same client at the same time (only for ASP)

I've got 2 ASP pages. I do a request to the first page from Firefox (which takes 30 seconds to process on server-side), and during the execution of 30 seconds I do another request from Firefox to the second page (takes less than 1 second in server-side), but it does come after 31 second. Because it waits first requests to finish. When ...

ASP Option Explicit - Paypal Express Checkout trouble

Hi guys, I am facing a big trouble when integrating PayPal Express Checkout in classic ASP. The code provided by PayPal at the "PayPal Integration Wizard" works perfectly when run without Option Explicit. When I put into my coding pages and call to the functions provided, I am facing big trouble: My existing pages all use Option Explic...

cdonts and relay server?

I use CDONTS when I need to send up send email form on websites. Recently changed my hosting company to godaddy. I realized my send email form gives "permission denied" error. I called GoDaddy support. They told me I should use relay server "relay-hosting.secureserver.net" in my codes. I thought relay server used only with CDO. How can ...