Thank you bnews987 for very patiently trying to help.
We passed a milestone.
I no longer get this error:
"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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
When using this code:
Code:
Dim objConnection As SqlConnection = New SqlConnection("Server=SIRMILT-PC\SQLEXPRESS;Trusted_Connection=True;Database=PUBS;")
I now get this error:
Cannot open database "PUBS" requested by the login. The login failed. Login failed for user 'sirmilt-PC\sirmilt'.
I have tried variations using "Integrated Security" rather then "Trusted_Connection" to no avail. I even tried using the User ID in Windows, I have no password set up.
Are there any further suggestions as to where I can search for a solution?
Thanks,
sirmilt