Esteban Pacheco
2008-01-06 20:40:48 UTC
Hi guys,
The Environment:
Database MSSQL 2005.
DBX4.
Delphi 2007.
The problem:
We are getting error messages saying that the stored procedure is expecting
a parameter that we are not passing. After some research we found out that
it has to do with the dbxconnections, dbxdrivers ini files. We specify at
runtime all the SQLConnection properties and connection information and
seems to work fine, but it seems that for some stored procedures is not
requesting the stored procedure schema to the database. In computers with
Delph installed, the problem doesnt occurred, in production, we got the
problem and gets fix as soon as we put the .ini files with the executable.
I thought that if we specify all the parameters, and connection information
the ini files were not needed. We only needed the dbxmss30.dll to be
deployed (midas.dll too) in the production environment, but it seems we are
missing something inside those 2 files.
Any hints are more than welcome.
Att.
Esteban Pacheco
In development it works fine.
The Environment:
Database MSSQL 2005.
DBX4.
Delphi 2007.
The problem:
We are getting error messages saying that the stored procedure is expecting
a parameter that we are not passing. After some research we found out that
it has to do with the dbxconnections, dbxdrivers ini files. We specify at
runtime all the SQLConnection properties and connection information and
seems to work fine, but it seems that for some stored procedures is not
requesting the stored procedure schema to the database. In computers with
Delph installed, the problem doesnt occurred, in production, we got the
problem and gets fix as soon as we put the .ini files with the executable.
I thought that if we specify all the parameters, and connection information
the ini files were not needed. We only needed the dbxmss30.dll to be
deployed (midas.dll too) in the production environment, but it seems we are
missing something inside those 2 files.
Any hints are more than welcome.
Att.
Esteban Pacheco
In development it works fine.