Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Firebird Database connectivity with ASP

Posted on 2004-09-17
4
Medium Priority
?
611 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

636 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