asp-classic

Getting results of dotnet page into classic asp page

hey guyz, i need to ask you that is it possible that i can get the code of the page which is built using dot net into classic asp page actually i am accessing a webservice for which i need to have dotnet. so i want to run that service in asp.net get or parse results and then i want to show them in a classic asp page. is it possible, if...

French character 'à' is being read as 'Ã' in Classic ASP server-side and database

I have a form that accepts text and is posted to the server. If a user were to input a French character such as 'à', it will be read as 'Ã' by Classic ASP code and be stored as 'Ã' in a SQL Server 2005 database. A similar affect happens to other accented characters. What's happening? ...

Is there a way to make ASP page update in real time, like Ajax?

Is there a way to make ASP page update in real time, like Ajax? ...

SQL Server error '80040e14' Ambiguous column name

Hi there, I have an admin page to search for products to edit, but the page keeps returning the error; Microsoft OLE DB Provider for SQL Server error '80040e14' Ambiguous column name 'prod_id'. /__admin/searchproducts.asp, line 89 I'm unsure why this error is cropping up, because the page and site is a direct copy of another website ...

Migrating from custom ASP & ASP.NET applications to PHP (Typo3)

So we've hired a company to migrate our three websites from custom built CMS solutions to Typo3. One of our sites is still in classic ASP while the other two are in ASP.net 1.1 & 2.0. Typo3 wasn't my choice, but the choice of those with the purse strings. Anyway, the migration of the sites is progressing but I have a problem that nobo...

ASP Login page for ASP.NET Application

Hi All, In my work place, we have several classic ASP and ASP.NET application. All these application though doing different works are integrated through a single sign on mode, which is handled by one main application. The main application is in classic ASP and verifies the userid and password initially and then stores the UserID in a ...

classic asp connecting to access database, file not found

I am having to work in classic ASP for a small job. I am trying to get the site running on my computer to test. I am running Windows 7 and IIS 7. I get an error when running from local host and on checking the logs I get the error: 80004005 | Could_not_find_file_'c:\inetpub\wwwroot\sc\website\data\si.mdb' My code is like so dim objCon...

IIS 6 Hangs , then app pool resets. IIS Debug Diag Dump Attached

IIS 6.0 Hangs, then the app pool resets after approximately 3 minutes. This is an ASP site, upon reset it functions great for a few seconds, then hangs. All other App Pools on this instance of IIS 6 function correctly. There do not appear to be any performance issues with this machine. I took a memory dump using IIS Debug Diagnostics, an...

Calling a WCF service from classic ASP

Does anyone have any good examples of calling a WCF service from a classic asp page? I looked at Calling REST web services from a classic asp page [closed] and it got me closer but I need to pass parameters to the service and I'm not sure how to do that with a wcf? Currently I'm just getting back the wsdl. Thanks Robert ...

Open source file upload with no timeout on IIS6 with ASP, ASP.NET 2.0 or PHP5

I'm after a cross-platform cross-browser way of uploading files such that there is no timeout. Uploads aren't necessarily huge -- some just take a long time to upload because of the uploader's slow connection -- but the server times out anyway. I hear that there are methods to upload files in chunks so that somehow the server decides no...

Unknown INPUT tag attribute: CURSOR TRANSMIT

I inherited an ASP classic application created in Visual Studio 6.0, I believe. There is an INPUT text tag in a form with attributes I don't quite recognize: <INPUT TYPE="TEXT" NAME="OPERATOR_CODE" SIZE="12" MAXLENGTH="12" TRANSMIT CURSOR> What is this TRANSMIT CURSOR attribute and what does it do? ...

Using ActiveX to get username

I'm working with an old intranet site written in classic ASP. I'm trying to retrieve their username they logged into their machine with. Each user is logged into AD, but I can't retrieve it from the server since the intranet site does not use AD. I was told I could use ActiveX in order to retrieve it. I did some research and I found ...

How do I convert an HTML page to a PDF using Classic ASP VBScript?

There seems to be a lot of paid components out there and stuff for .Net, but are there any free ways to convert an HTML page into PDF using Classic ASP VBScript? There has to be something from Adobe maybe? ...

Sending binary data from ASP to .net component

The ASP application allows uploading of image files (jpg, gif, tif). These files are sent to a .net component registered in the GAC of the server. In the component file is encoded using System.Text.Unicode to byte[] array. This encoding is done with some data loss. The byte array has values 253 and 255 in consequetive elements. What cou...

Looking for tutorial to call WCF service from classic ASP

Hello everyone, I have some legacy classic ASP code (not ASP.Net, but ASP), and I want to call a WCF service which I developed by using VSTS 2008 + C# + .Net 3.5 and using basic Http Binding. Any reference samples? I heard the only way is -- we have to manually generate the tricky SOAP message, and parse SOAP response, is that true? :-...

Server-side includes in ASP.NET (on Mono, Perhaps): Deprecated?

I have a tiny job to perform on an HTML/ASPX site, and I don't have time to muck around with ASCX (though I've done it before quite a bit, and it is a wonderful technology). My question is: are "classic" ASP server-side includes deprecated in ASP.NET, or merely not recommended? Will they work on Mono? Edit: Yes I have seen this questi...

If Statement Not Working as Expected in ASP Classic

I have an if..else statement that will display whether or not the student is qualified to go for competition based from the value in database. But, my code is not working correctly. My code is as follows: <% If (rs_view.Fields.Item("StudentStatus").Value="OK") Then %> <strong><font color="#3300FF" size="-1" face="Arial, Helvetica, sans...

how to call COM object from classic ASP

Hello everyone, How to call COM object from classic ASP? I tried hard but cannot find a good tutorial. Any recommendations? I am using C# in classic ASP. thanks in advance, George ...

Classic ASP not working on Windows Vista IIS7

I have just moved from Windows XP Pro to Windows Vista Ultimate. I installed IIS and all sub categories (including Classic ASP). I have a few websites in my wwwroot folder that are Classic ASP sites. When I try to view them through localhost, I keep getting an error message: An error occurred on the server when processing the URL. P...

Parameterized queries WITHOUT stored procedures?

Every sample I've seen uses stored procedures. I've adopted an old application written in Classic ASP that uses inline SQL. This is an obvious issue, so I need to convert it to safer code. The client does not wish that I use stored procedures in this application, so is there a way to run parameterized queries without stored procedures...