Print Page | Close Window

Uploading ASP to Apache Server

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=3327
Printed Date: 30 March 2026 at 4:29am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Uploading ASP to Apache Server
Posted By: ovendust
Subject: Uploading ASP to Apache Server
Date Posted: 06 June 2003 at 12:10pm
I am using an access database and ASP code. All of my coding works on my local IIS. When I upload it to the Apache server it no longer works. I was wondering what I need to change in my code to make the connection work with the Apache server. Here is a copy. (I know the DB should not be in the same folder as the ASP code but it is just temp. until the bugs are worked out. Thanks for any input.

Set objConn = CreateObject("ADODB.Connection")
objConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
Server.MapPath("poll.mdb"))



Replies:
Posted By: Scotty32
Date Posted: 06 June 2003 at 1:02pm

i dont know if this is true but

i hear ASP isnt the greatest of friends with Apache

i think ya should be usin PHP on a Apache server!

but i dont know if this is true



Posted By: michael
Date Posted: 06 June 2003 at 1:18pm
They may be friends but they don't work together. asp does not run on apache. Sure you can install 3rd party comps that make asp avail but it is not something I would recommend, I beliece ChillieSoft for example only supports asp 2.0 so get a windows box or use php like Scotty said.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: fernan82
Date Posted: 07 June 2003 at 4:39pm

i tried to run wwf on an apache server with a few different asp components and never got it to work, it always threw errors and when i got it to work with one component cookies never worked right so i couldn't even log in.....

Also unless you're running apache on a windows box i think you need to install a driver to connect to an access db....



-------------
FeRnAN
http://www.danasoft.com/">


Posted By: WebWiz-Bruce
Date Posted: 08 June 2003 at 1:18am

Web Wiz Forums is written to run with ASP2.0, but on an Apache all 3rd party products that make Apache support ASP don't fully support even ASP2.0 and many properties and methods of ASP are not supported at all.

On an Apche server you would be much better using PHP.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: mrd_yaddayadda
Date Posted: 16 June 2003 at 6:41am

I've setup a site using a trial of SBS2000 so using SQL Server 2000 and IIS5 and I'm trying to get funding to buy the proper thing but figured I'd like to see if I can get it moved over to a less expensive platform.

I have a forum (this) and a chat (conquerchat) and so didn't hold out much hope of getting something going.

Well I turned to ChiliASP which is now owned by SUN and they have done good things with it. Real good things. I'm running it on just my workstation (WinXP) with SunONE Web Server and SunONE Active Server Pages which supports ASP3 and it just worked. I copied my site directory over and boom. That was it. Chat works. Forum works. Logins work. EVERYTHING WORKED.

SunONE Webserver/ASP have windows, linux and solaris versions so I'm getting RedHat9 from a guy at work tomorrow to try and setup the box with that as a next step. Then looking at seeing if I can use the Access code (modified?) to run it on a mySQL database instead.

I will post more on it if I get there but just thought I'd pass on that - in my situation - it has worked. And surprisingly painlessly.

edit to add some urls:

http://wwws.sun.com/software/products/web_srvr/home_web_srvr.html - SunONE WebServer

http://wwws.sun.com/software/chilisoft/index.html - SunOne Active Server Pages

(from page: "Supports ASP 3.0, VBScript 5.5, JScript 5.5, XML, and Java technology")



Posted By: mrd_yaddayadda
Date Posted: 16 June 2003 at 8:43am

Just gone and uninstalled the SunONE Web Server and the SunONE ASP. Installed APache 2 for windows and reinstallled SunONE ASP over it and it just works.

More as I get it...




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net