I'm trying to get my program to connect to a SQL Server 2005 database over the internet.
The remote computer is on another network and it's connected to our network through Windows VPN. I'm running Windows Small Business Server 2005 on our server with SQL Server 2005 and ISA Server 2004.
I can do this at home with my laptop using the following connection string:
strCnn = "Provider=SQLOL EDB.1;Integrate d Security=SSPI;P ersist Security Info=False;" & "User ID=" & _
sysUser & ";Initial Catalog=" & sysDatabase & ";Data Source=" & sysServer & ";"
db.CursorLocati on = ADODB.CursorLoc ationEnum.adUse Client
db.Open(strCnn)
I'm using the local IP address of the server as 'sysServer' - 192.168.1.2
But my laptop has Visual Studio 2008 and SQL Server Express on it.
When I try to do it from this other remote computer, I get:
Login failed for user ''. The user is not associated with a trusted SQL Server connection.
SQL Server is set on Windows authentication and I'd rather not have to change that. I don't want the users to have to use their Windows password to get into my program.
What do I need to change to get this to work?
The remote computer is on another network and it's connected to our network through Windows VPN. I'm running Windows Small Business Server 2005 on our server with SQL Server 2005 and ISA Server 2004.
I can do this at home with my laptop using the following connection string:
strCnn = "Provider=SQLOL EDB.1;Integrate d Security=SSPI;P ersist Security Info=False;" & "User ID=" & _
sysUser & ";Initial Catalog=" & sysDatabase & ";Data Source=" & sysServer & ";"
db.CursorLocati on = ADODB.CursorLoc ationEnum.adUse Client
db.Open(strCnn)
I'm using the local IP address of the server as 'sysServer' - 192.168.1.2
But my laptop has Visual Studio 2008 and SQL Server Express on it.
When I try to do it from this other remote computer, I get:
Login failed for user ''. The user is not associated with a trusted SQL Server connection.
SQL Server is set on Windows authentication and I'd rather not have to change that. I don't want the users to have to use their Windows password to get into my program.
What do I need to change to get this to work?
Comment