?
Solved

Firebird Database connectivity with ASP

Posted on 2004-09-17
4
Medium Priority
?
598 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

800 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