Sqlclient and SQLTransaction error:::: vb. net
-
hello everybody, I've created setup of my vb.net application using installshield 12. This setup when installed on my development machine works fine. But when i install this thing on another machine which has only .Net framework and MS-office, and try to run my exe it gives me error which says:
**No accessible overloaded 'SqlCommand.Transaction' is most specific for these arguments: Public Sub set_Transaction(value As System.Data.SqlClient.SqlTransaction) Public Sub set_Transaction(value As System.Data.Common.DbTransaction)**
:( Can naybody help me out and tell me what this error is about? Thanks in advance............ -
hello everybody, I've created setup of my vb.net application using installshield 12. This setup when installed on my development machine works fine. But when i install this thing on another machine which has only .Net framework and MS-office, and try to run my exe it gives me error which says:
**No accessible overloaded 'SqlCommand.Transaction' is most specific for these arguments: Public Sub set_Transaction(value As System.Data.SqlClient.SqlTransaction) Public Sub set_Transaction(value As System.Data.Common.DbTransaction)**
:( Can naybody help me out and tell me what this error is about? Thanks in advance............What database are you using, Access ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
What database are you using, Access ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
No ! i am using SQL server 2000. This works fine on my developemtn machine. But when i create a setup using installshield 12 and install it on test machine it gives the said error.
-
No ! i am using SQL server 2000. This works fine on my developemtn machine. But when i create a setup using installshield 12 and install it on test machine it gives the said error.
Nilesh Hapse wrote:
i am using SQL server 2000.
OK, but you didn't say SQL Server is installed on the target machine. so, how can it work ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Nilesh Hapse wrote:
i am using SQL server 2000.
OK, but you didn't say SQL Server is installed on the target machine. so, how can it work ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
on the test machine SQL client is installed. SQL server is installed on another machine. I am getting the server details thru a file. From those details i am formatting the connection string and connecting to the database.
-
on the test machine SQL client is installed. SQL server is installed on another machine. I am getting the server details thru a file. From those details i am formatting the connection string and connecting to the database.
It's the exact same project ? It looks to me like you need to be more specific about which item you're trying to pass through. Why did yo usay you had Office installed, when you're using SS ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert