jtrujillo
Posts: 1
Score: 0
Joined: 8/19/2008
Status: offline
|
Hi Pete, I haven’t been able to connect to my database Microsoft Dynamics (Formerly Navision). This is the code I’m using: sqlCe.Connection_String = "Provider=MSDASQL;DSN=Navision"; sqlCe.Remote_Port = 9888; sqlCe.Host = "10.1.21.155"; if (sqlCe.Connect_To_Server() == 0) { MessageBox.Show("Connected"); } else { MessageBox.Show(sqlCe.Error_Message.ToString()); } I created an ODBC on my computer called Navision and it connects when I test it from the Control Panel. Do you have any ideas on this matter ? I haven’t been able to run your example (SqlLinkCe). I get an error every time I try to open it from VS2005. Thanks in advance.
_____________________________
Juan Trujillo Miami, Fl
|