Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Uploading ASP to Apache Server
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Uploading ASP to Apache Server

 Post Reply Post Reply
Author
ovendust View Drop Down
Newbie
Newbie


Joined: 06 June 2003
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote ovendust Quote  Post ReplyReply Direct Link To This Post Topic: Uploading ASP to Apache Server
    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"))
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
mrd_yaddayadda View Drop Down
Newbie
Newbie


Joined: 14 January 2003
Location: Australia
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrd_yaddayadda Quote  Post ReplyReply Direct Link To This Post 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:

SunONE WebServer

SunOne Active Server Pages

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



Edited by mrd_yaddayadda
Back to Top
mrd_yaddayadda View Drop Down
Newbie
Newbie


Joined: 14 January 2003
Location: Australia
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrd_yaddayadda Quote  Post ReplyReply Direct Link To This Post 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...

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.