Windows 7 64-bit issue

MLDatabase allows MLServer3 to interact with any ODBC database that you create or attach to. Intended for advanced users only.
User avatar
hakha4
Member
Member
Posts: 88
Joined: Wed Dec 24, 2008 3:18 am
Location: Moholm Sweden
Contact:

Windows 7 64-bit issue

Postby hakha4 » Tue Jan 11, 2011 2:59 pm


User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10534
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Windows 7 64-bit issue

Postby CinemarDave » Tue Jan 11, 2011 3:06 pm

You probably need to supply the full path to Switchking.mdb unless it is in the plugins folder and that is not recommended.

User avatar
hakha4
Member
Member
Posts: 88
Joined: Wed Dec 24, 2008 3:18 am
Location: Moholm Sweden
Contact:

Re: Windows 7 64-bit issue

Postby hakha4 » Tue Jan 11, 2011 3:11 pm

The mdb-file is located in same folder as script for testing just to make sure that it's not a path issue and it works ok outside MLServer so that's not the problem

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10534
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Windows 7 64-bit issue

Postby CinemarDave » Tue Jan 11, 2011 3:41 pm

When running from within MLServer MLScript's path is the plugins folder. Humor me and put the full path in to see if it makes a difference.

User avatar
hakha4
Member
Member
Posts: 88
Joined: Wed Dec 24, 2008 3:18 am
Location: Moholm Sweden
Contact:

Re: Windows 7 64-bit issue

Postby hakha4 » Tue Jan 11, 2011 3:54 pm


User avatar
hakha4
Member
Member
Posts: 88
Joined: Wed Dec 24, 2008 3:18 am
Location: Moholm Sweden
Contact:

Re: Windows 7 64-bit issue

Postby hakha4 » Wed Jan 12, 2011 1:27 pm

Find the solution ,DSN must be set with 'C:\Windows\SysWOW64\odbcad32.exe' and not the default odbcad.exe for 64 bit !
Anyway thanks for replying

bigDvette
Expert
Expert
Posts: 718
Joined: Thu Oct 12, 2006 12:19 pm
Contact:

Re: Windows 7 64-bit issue

Postby bigDvette » Wed Jan 12, 2011 7:12 pm

makes sense considering MLServer is 32bit so it is using 32bit libraries.


Return to “MLDatabase”

Who is online

Users browsing this forum: No registered users and 1 guest