Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5722 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello everyone,

I'm new to FMP10A (Windows) and a task delegated to me has left me with a throbbing head. It's regarding the setting up of a ODBC connection to my fp7 files.

I've followed the instructions laid out in the documentation and help files and also reinstalled both the DataDirect driver and FM itself several times. Here is a run down of what I've done:

1. Create simple database file with single table with some nonsense text records.

2. Enable ODBC for privileged users. Created simple admin account to facilitate.

3. Go to ODBC Administrator > Set up System DSN as instructed with name, Host: localhost, Port: 2399 and data source as the extensionless name of the file I have in FMP10A (I do not close file nor program)

4. Test Connect.

I always get an error of code -511 and with the description 'Cannot open file(802)'. Is there a way to get through this? I'll be glad to provide any other details if requested. Thanks for your help.

Note: I am running on an un-updated instance of Windows Server 2003 OS. Could this cause any problems?

madeener

Posted

What are you using the ODBC connection for?

If you are connecting FM to, let's say MySQL or SQL Server, you need to put the name of that database, not the FM file.

Posted

Directly, or are you migrating the data to SQL Server?

I don't believe, and I could be wrong, that you can directly use FileMaker as a datasource directly. Unless you have Server and use Custom Web Publishing, even then, it is PHP compatible not ASP.

You could either use a SQL Server back-end and a FM front-end, or import the data into the SQL Server.

You would then need an ODBC connector to connect FM10 and SQL Server.

Posted

Am I right in reading that you are trying access the FileMaker data from another application...to drive the data to your website?

If yes, I think you need FileMaker Server Advanced.

If no, we need to know a little more about your setup.

  • What application are you using to try to access the data in FM?
  • What ODBC connector are you using?
  • What kind of database is storing your data for the website?

Posted

Your assumption is correct. I find it odd that the directions for setting up FMP10A as a data source is provided in the program specific documentation when it isn't possible to use it as one. Thanks anyway.

Posted (edited)

Hmmmm. Looking at the ODBC/JDBC Guide, it seems like you should be able to connect to it. I will try to play around with it this afternoon. In the meantime...

Couple of obvious questions:

Did you enable ODBC sharing in the host file? And Set it to allow "all users" or specific users?

Is the host file on the computer you are using to set up the Connection?

Did you select the correct driver?

Edited by Guest
Posted (edited)

1. Yes.

2. Yes.

3. ODBC driver wise, I'm using DataDirect 5.5 32-bit Client for ODBC which was provided to me with FM. Could an update be required?

EDIT: One more thing to note (which may potentially reveal me to be a big idiot), the computer I'm using FMP10A on doesn't have a connection to the internet. Could this be a problem?

EDIT*: Another update, I tested the above setup routine on my personal XP computer and it works perfectly. I'm really lost right now :

Edited by Guest
Posted (edited)

Whooaaaa. Back the truck up.

FMP10A is on Computer A...where is the app you are trying to connect with? Same computer [Computer A], different computer [Computer B] on the same network [network A], different computer [computer B] on different network [network B]?

Computer A, and Computer A, should work

Computer A, and Computer B, on network A should work

Computer A, on network A, and Computer B on network B could work with proper setup.

Computer A, on no network and Computer B on network A, B...Z won't work.

Edited by Guest

This topic is 5722 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.