Hi
Im opening a database connection like this:
con.Open "Provider=SQLOLEDB;" & _
"Data Source=EST40;" & _
"Initial Catalog=XMLTeste;" & _
"user id=internet;" & _
"Password=teste"
I had already defined the user "internet" with the password "teste" in the security folder of SQL Server enterprise manager.
However, when I try to load my asp page i get this error:
"Microsoft OLE DB Provider for SQL Server error '80004005'
Login failed for user 'internet'. Reason: Not associated with a trusted SQL Server connection.
/ProjectoUltimo_Local/ASP Page1.asp, line 17 "
The question is: How can I make a trusted connection to that user? I already give him all the permissions I could give... The only way I think to solve this was putting in the connection string "Trusted_connection=yes". However I would like to control the connection in the SGBD...
I´m using win2000 professional; SQL Server 7.0; IIS5.0
Thank you for your help.
Sergio Oliveira
Im opening a database connection like this:
con.Open "Provider=SQLOLEDB;" & _
"Data Source=EST40;" & _
"Initial Catalog=XMLTeste;" & _
"user id=internet;" & _
"Password=teste"
I had already defined the user "internet" with the password "teste" in the security folder of SQL Server enterprise manager.
However, when I try to load my asp page i get this error:
"Microsoft OLE DB Provider for SQL Server error '80004005'
Login failed for user 'internet'. Reason: Not associated with a trusted SQL Server connection.
/ProjectoUltimo_Local/ASP Page1.asp, line 17 "
The question is: How can I make a trusted connection to that user? I already give him all the permissions I could give... The only way I think to solve this was putting in the connection string "Trusted_connection=yes". However I would like to control the connection in the SGBD...
I´m using win2000 professional; SQL Server 7.0; IIS5.0
Thank you for your help.
Sergio Oliveira