Problems with ODBC creation

Got a problem you cannot solve? Try here.
BruceMcK
Posts: 14
Joined: Wed Jan 04, 2006 6:46 pm
Location: Sydney

Problems with ODBC creation

Postby BruceMcK » Tue Oct 10, 2006 8:47 pm

Hi,

Can anyone help with adding SQL Server ODBC entries. I'm trying to add a new ODBC (DSN) entry modified from an existing DSN on my system, but when I run the installer, it reports:

ODBC error 8: Invalid keyword-value pairs. Verify that the file exists and you can access it.

The attributes are:

Server=[MYSERVER]
Database=[MYDATABASE]
LastUser=[MYUSER]

where $MYSERVER$, $MYDATABASE$ and $MYUSER$ are all variable in my MSI script.

I also tried adding an existing ODBC entry, unmodified, but the didn't work either.

I have MDAC 2.8 SP1 as a pre-requisite in the installer.

Any suggestions?

Cheers, Bruce.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Oct 11, 2006 7:06 am

Did you specify the remaining fields correcty? If so, please post a minimum setup that illustrates the issue so we can take a look at it.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

BruceMcK
Posts: 14
Joined: Wed Jan 04, 2006 6:46 pm
Location: Sydney

Postby BruceMcK » Wed Oct 11, 2006 5:34 pm

Michael,

My test setup is enclosed. What I've done is create a new install project with the wizard, and I've then added a single DSN entry by selecting an existing DSN from the 'Data Source Name' combo box.

After posting, I managed to work around the problem by including one line only in the Attributes box:

Server=[MYSERVER]

As soon as I did this, the installer was able to create the DSN on the target machine for me.

Cheers, Bruce.

File Attached:

OdbcTest.ZIP

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Oct 11, 2006 5:50 pm

I see. I suppose the other fields were not supported then for some reason on the target system?
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

BruceMcK
Posts: 14
Joined: Wed Jan 04, 2006 6:46 pm
Location: Sydney

Postby BruceMcK » Mon Oct 23, 2006 11:49 pm

Michael,

Is there any way to trap errors with DSN creation? I'm still seeing an intermittent problem with creation on Win2000 Svr and Win2003 Svr. The DSNs are either created or not, but the installer never throws an error.

The systems are logged in with admin rights, and MDAC 2.8 is a pre-req for the installer.

Cheers,

Bruce.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Tue Oct 24, 2006 8:07 am

I'd use logging on those systems to find out what's going on...
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 35 guests