P
(PeteCresswell)
I'm going through MS's "DataValidation" sample, which uses the
NorthWind DB.
When I try to debug, it throws an error at
"Me.Order_DetailsTableAdapter.Fill(Me.NorthwindDataSet.Order_Details)"
The error being "A network-related or instance-specific error
occurred while establishing a connection to SQL Server. The
server was not found or was not accessible. Verify that the
instance name is correct and that SQL Server is configured to
allow remote connections. (provider: Named Pipes Provider, error:
40 - Could not open a connection to SQL Server)"
Seems to me like I need to edit "Order_DetailsTableAdapter" and
figure out why it's not connecting.
I'm able to drill down to "CommandText" - which seems tb the SQL
for the "Fill and "GetData" methods, but can't find where it
points to the DB.
Also, when I try to "Preview Data" it throws the same "...server
not found..." message - as tb expected, I guess....
OTOH, I am able to open NORTHWNDDataSet.xsd and see the
relationships diagram and, after doing a Tools | Connect To
Database, I can see the data in the table in question.
So it seems like "Order_DetailsTableAdapter" has something in it
or points to something that's not hooked into the DB properly.
Can anybody point me in the right direction?
NorthWind DB.
When I try to debug, it throws an error at
"Me.Order_DetailsTableAdapter.Fill(Me.NorthwindDataSet.Order_Details)"
The error being "A network-related or instance-specific error
occurred while establishing a connection to SQL Server. The
server was not found or was not accessible. Verify that the
instance name is correct and that SQL Server is configured to
allow remote connections. (provider: Named Pipes Provider, error:
40 - Could not open a connection to SQL Server)"
Seems to me like I need to edit "Order_DetailsTableAdapter" and
figure out why it's not connecting.
I'm able to drill down to "CommandText" - which seems tb the SQL
for the "Fill and "GetData" methods, but can't find where it
points to the DB.
Also, when I try to "Preview Data" it throws the same "...server
not found..." message - as tb expected, I guess....
OTOH, I am able to open NORTHWNDDataSet.xsd and see the
relationships diagram and, after doing a Tools | Connect To
Database, I can see the data in the table in question.
So it seems like "Order_DetailsTableAdapter" has something in it
or points to something that's not hooked into the DB properly.
Can anybody point me in the right direction?