E
ebrastow
Hi,
I've been using PowerBuilder for 12 years (programming part time) and
thought I might give VB a try. I'm using Visual Studio 2005,
specifically VB. My SQL Server is SQL Server 2000 Standard, running on
a W2K Server.
So, in VB, I create a new project, and then click Add New Data Source..
I choose Database as the data source type.
I choose New Connection...
The data source is "Microsoft SQL Server (SqlClient)"
I choose my SQL Server from the list of available servers, and then
choose SQL Server authentication.
I put in the user name and password for the database.
I choose the database from the drop down.
When I click Test, it succeeds.
Now, when I proceed, I get an error on the Choose Your Database Objects
screen:
--
An error occurred while retreiving information from the database.
Failed to retrieve data for this request.
An exception occurred while executing a Transact-SQL statement or
batch.
Line 8: Incorrect syntax near '1'.
--
Any ideas what I'm doing wrong? I'm just trying to create a connection
to the only db I'll be using in this app.
Thanks,
Evan
I've been using PowerBuilder for 12 years (programming part time) and
thought I might give VB a try. I'm using Visual Studio 2005,
specifically VB. My SQL Server is SQL Server 2000 Standard, running on
a W2K Server.
So, in VB, I create a new project, and then click Add New Data Source..
I choose Database as the data source type.
I choose New Connection...
The data source is "Microsoft SQL Server (SqlClient)"
I choose my SQL Server from the list of available servers, and then
choose SQL Server authentication.
I put in the user name and password for the database.
I choose the database from the drop down.
When I click Test, it succeeds.
Now, when I proceed, I get an error on the Choose Your Database Objects
screen:
--
An error occurred while retreiving information from the database.
Failed to retrieve data for this request.
An exception occurred while executing a Transact-SQL statement or
batch.
Line 8: Incorrect syntax near '1'.
--
Any ideas what I'm doing wrong? I'm just trying to create a connection
to the only db I'll be using in this app.
Thanks,
Evan