?
Solved

Firebird Database connectivity with ASP

Posted on 2004-09-17
4
Medium Priority
?
618 Views
Last Modified: 2008-02-01
I have a Firebird Application. I am trying to create a web interface to the Database. I am using the IBPhoenix ODBC Drivers on a Windows 2000 Server.

I have written other web applications using MS SQL Server with no problems but at the moment I cannot get the Database to even connect.
Here is my Connection Script

Set RecordSet1 = Server.CreateObject("ADODB.RecordSet")
connect = "data source=wsiyard;user id=SYSDBA;password=masterkey;dbase=c:\warehouse\warehouse.gdb"
query = "select * from export_checkin"
adOpenKeyset = 1

      recordset1.Open query, connect, adOpenKeyset <---- Error Occurs here.
I get an error. "unavailable database"
I have confirmed all the settings in the ODBC Configuration are Correct. The Database does exist. It just will not Connect.

Please any ideas, comments and solutions would be much appreciated.

Andy
0
Comment
Question by:andyd70
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:GoofyDawg
ID: 12087672
Have you tried to connect to the database through the ODBC Manager in Windows? This would probably be the best place to start so you could see if you can connect at all. From there, you could use that information to build a connection string that should work in ASP.

GoofyDawg
0
 
LVL 1

Author Comment

by:andyd70
ID: 12089179
In the ODBC Manager I can actually see all my Tables, Views and Stored procedures.
Using Dreamweavers Recordset Wizard also sees the Tables and creates the Queries.
When I try and execute the page I get the error. This is why I'm so confused as to why it doesn't work.
0
 
LVL 12

Accepted Solution

by:
GoofyDawg earned 1000 total points
ID: 12090695
Hmmm... Do you have permissions set so that IUSR_<machine> can access the database on your web server?

GoofyDawg
0
 
LVL 1

Author Comment

by:andyd70
ID: 12092108
I tried giving the IUSR Administrator rights and that still didn't work.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question