AnsweredAssumed Answered

Connecting to FMSA 11 with ASP.NET

Question asked by RandellMcGlynn on Apr 16, 2012

Title

Connecting to FMSA 11 with ASP.NET

Your post

Hi, I'm trying to make a connection to FMSA 11 in an ASP.NET Web application. Port 2399 is open and the ODBC/JDBC connection is enabled in the admin consol, and the ODBC driver is installed. I found a connection string online, but when I use it I get an error. Can any shed some light on what I may be missing?

Here is what I use to try and connect (I did not put in the ip address, user id, and passoword, but they are correct in the application):

----------------------------

        protected void Page_Load(object sender, EventArgs e)
        {
            OdbcConnection conn = new OdbcConnection("Driver={FileMaker ODBC};Server=IPAddress;Database=D Form; UID=userid;PWD=password");
            conn.Open();
            conn.Close();
        }

--------------------------

 

This is the Error I get:

 

ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

 

Any help is appreciated. Thank you.

Outcomes