asp

Finding performance bottlenecks in a classic asp/sql server website

Hi, ok i've got an old classic asp/sql server app which is constantly throwing 500 errors/timeouts even though the load is not massive. Somoe of the DB queries are pretty intensive but nothing that should be causing it to fall over. Are there any good pieces of software I can install on my server which will show up precisely where the ...

ActiveX component can't create object (comReport)

Hi, I am trying to print a pdf report and it is not printing and giving this error. Error Type: ComReport (0x800A01AD) ActiveX component can't create object I have registered the ComReport.dll with my OS. This works fine on our developemtn and production server but is not working locally on my machine. And I need for it to work on ...

Using ASP and INSERT INTO -

Hey, I am trying to create a simple page that enters data in to a database and my code is below. <%@ LANGUAGE="VBSCRIPT" %> <% Option Explicit %> <!--#include FILE=dbcano.inc--> <% dim username,password,f_name,l_name,objConn,objs,query username = Request.Form("user") password = Request.Form("pass") f_name = Request.Form("fname...

Classic ASP Database error

Well I am querying my DB, a table called bookBilling, to get a value under the column of billingID. In my first query I get the customer ID from a table based on what value the cookie holds. In my second query I take that custID value and am looking to get the billingID associated with it. query = "SELECT custID FROM bookSession WHER...

Setting connection with function

Hey, I am trying to use ASP to create a connection to my database and i have the following connection code: Set objConn = ConnectDB() Set objRS = objConn.Execute(query) I have an include file that I have at the top of my page: <!--#include FILE=dbcano.inc--> And I get this error when I call my page: Microsoft VBScript runtime...

ASP Line-breaks - \n?

Hey All, I have been searching for a way to insert linebreaks in my code for when I view my source. I am not looking for Something like the PHP equiv to \n Any ideas on how to do this in ASP? I will be placing this in side a string. Thanks, Ryan ...

Simple ASP form validation - swapped?

I am trying to do some very simple form validation checking for null or '' (empty) using a conditional, but when I submit my form with ALL BLANK FIELDS, it does the latter section of my code. And when I fill out all of my fields it does that other part. So when they are blank, tell the user, which is the first section of the conditional...

How to debug COM object in Visual Studio 6.0 that is created in an ASP page?

I have an old C++ COM component which has to stay in Visual Studio 6.0 format. I can't for the life of me figure out how to debug the code in the actual COM component. I'm able to build it in debug mode, add breakpoints and attach it to the dllhost.exe process, but the Visual Studio environment will only show me the disassembly from dl...

Active Directory authentication

I have a c# class which uses the WindowsIdentity namespace to return details of the current Active Directory user. This is accessible through a web part on SPS and sure enough returns the desired record values specific to that user. I have a classic ASP application which I would like to have inherit this functionality. After wrapping ...

ASP Web Page Logging Off Users

I was recently given an older ASP web application to maintain. I haven't touched it much, from what I understand, the actual VB6 project files are gone, so I only have the ASP files themselves to work with. Recently, users began complaining of being logged off, sometimes after a minute or less. I tried myself, and logged in once, clicked...

Adding up total cost - ASP while

Hey, i am simple cart page where it displays the content in table form and I am trying to find a way to add up the Cost column then display the total price at the bottom. Does anyone have any suggestions how to do that? The part that is confusing me is that it the table is dynamically created via ASP. My code can be found here: http://p...

How to determine if the default document was served in traditional ASP?

In a file called index.asp, which is set up in IIS as a default document for the directory, I'm trying to determine via .asp VBScript if the page was called as the default document versus directly by name, i.e. I'm trying to distinguish between these two cases server-side: http://someurl/ http://someurl/index.asp I know how to do this...

ASP equivalent of Curl (not ASP.NET)

I need to "post" data to a url in the middle of a script. I haven't been able to find anything like curl for windows though, suggestions? For instance... User fills out form Form submits to process.asp (I want to make the curl request in here, it's for a 3rd party integration and then i'm also going to trigger an email) process.asp fi...

asp mysql variables testing problem

Hi everyone. I have a problem that just started happening after I reinstalled my website's server. In the past I could do do this: Code: <% set msgSet = conn.execute("select * from base_scroller where scroller_num = 1" %> check if it's not empty or anything else Code: <% if msgSet("scroller_name") <> "" then %> and if it is i...

Performance Testing for Classic ASP pages?

I would like to know how to do performance testing for the old asp pages. Any tools out there that you've used? ...

Passing form data from asp file to php

I have a form in an ASP file that I would like to pass to a php script for processing. Is this possible? I don't see why it wouldn't be, but I tried a dummy form on an asp file, with the action="phptest.php" and when submitting it just reloads the form page. ...

xampp with asp (not aspx)

Hello, is it possible to use xampp (apache 2) with asp (it works with aspx, but i want to use "normal" asp). With kind regard, JSMB ...

How can I call java from asp?

I'm not familiar with ASP, but am helping someone out with their website as a side project. I am trying to call Apache FOP (a java application) from ASP using VB. I have seen simple examples using the GetObject('java:...') constuct, but I don't know how to pass and retrieve binary data from a java object. Ideally, I would do this all ...

How do CMS's show pages at directories or at plain filenames?

If all CMS's (Drupal, MediaWiki) are just a collection of PHP or ASP in the background, then how do they display pages at www.site.com/directory/ or www.site.com/File_name without extensions or anything? Is this some .HTACCESS configuration? Python? Perl? What could do this? How could I do this for my server/websites? (Without using a ...

How do I do this ASP WebDAV FBA Authentication example in PHP?

Hi, I need to have PHP authenticate to an exchange server. Once able to succesfully connect to it, I'll need to write webdav requests in the PHP so I can extract data from the exchange server and use it in a web application. It would be somewhat simple except that the 2003 Exchange server has Forms Based Authentication (FBA) turned on. ...