MYOB odbc connection problem

Posted by Inam Jameel on Stack Overflow See other posts from Stack Overflow or by Inam Jameel
Published on 2010-06-09T14:17:46Z Indexed on 2010/06/09 14:22 UTC
Read the original article Hit count: 776

Hi guys, i recently got a prebuild application which uses MYOB odbc connection to myob file. the odbc connection works perfectly in that application

i uses the same odbc connection string in other application but it failed to open in that application. the connection string is perfectly identical but it wont works the new application. Server explorer in the visual studio 2008 connects as well with the same connection string.

is it a trusted application issue? because my new application is digitally signed at the moment

        OdbcConnection odbc = new OdbcConnection("Driver=MYOAU0901;TYPE=MYOB; UID=Administrator; PWD=; DATABASE=C:\\Premier125\\Clearwtr.MYO; NETWORK_PROTOCOL=NONET; DRIVER_COMPLETION=DRIVER_NOPROMPT;;KEY=****");
        odbc.Open();

the key used in the connection string is also valid for sure

kindly help me i have to deliver a prototype in 2 days

the same connection string is works in one application but not in other application whats the problem?

© Stack Overflow or respective owner

Related posts about c#

Related posts about odbc