MS SQL Server

Got a problem you cannot solve? Try here.
mikesm
Posts: 10
Joined: Wed Jul 19, 2006 4:00 am

MS SQL Server

Postby mikesm » Fri Jul 21, 2006 3:23 am

Hi.
I have a problem with MS SQL Server plug-in. Installed instance of MS SQL Server Express SP1 isn't able make bulk insert commands! There's no posibility to read files from SUPPORTDIR by MS SQL Server Express SP1 on WXP.

Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Postby Gizm0 » Fri Jul 21, 2006 3:43 am

There is was a bug on plugin which is fixed on InstallAware 6.0 SP1.
As a workaround use the #FILESCRIPT#$SUPPORTDIR$\\myscript.sql command on the script window , and insert the myscript.sql file as a support file on your project.It should work fine.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
InstallAware Software Corporation

mikesm
Posts: 10
Joined: Wed Jul 19, 2006 4:00 am

Postby mikesm » Fri Jul 21, 2006 4:30 am

It isn't right, it doesn't work correct!
Yes, I can create table, alter table, and so on..., but i can't use "BULK INSERT" command, because the $SUPPORTDIR$ isn't accesible to MS SQL Server Express SP1. For example command "BULK INSERT tableName FROM '$SUPPORTDIR$tableDataFile.tbl' WITH (CODEPAGE='1250')" ends with error access denied to file "C:\\Dokuments and settings\\Username\\Local settings\\Temp\\mia\\tableDataFile.tbl".

Files in $SUPPORTDIR$ aren't accesible to MS SQL Server Express SP1!

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

Postby MichaelNesmith » Fri Jul 21, 2006 5:18 am

I think Gizmo was suggesting something else, and you misunderstood.

Simply install the latest version of InstallAware from the public website - that version has no issues with the SQL Server plug-in, and you may use it to connect to your database, no need to worry about $SUPPORTDIR$.

Gizmo's post was referring to the #FILESCRIPT# option - please read the help file entry on the MS SQL Server plug-in for more information on this option (and what he really meant by $SUPPORTDIR$).
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: Google [Bot] and 243 guests