Solved

Firebird Database connectivity with ASP

Posted on 2004-09-17
4
569 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 500 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Imported characters from spreadsheet look strange on ASP page 6 73
JSON error 4 64
Need to rewrite code for checking if a file exists 3 66
Error in query expression 3 42
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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