views:

38

answers:

2

Hi, I'm trying to connect to a remote SQL Server Express machine using Windows authentication. I´m logged on with a user with username Administrator, but when logging in, I get the error message:

Login failed for user guest ... 

Why is not using the Administrator account?

Thanks in advance.

+2  A: 

SQL Server Express by default only allows local connections - you can enable it, but you have to explicitly do so.

See:

marc_s
Remote connections are enabled beacause i can connect using sql server auth.
+2  A: 

For Windows Authentication to work, the target machine has to be on a domain where your Windows credentials will be recognized. If the server is outside of your organization's control, it will not recognize your credentials and you will have to use a Sql Server user ID and password to log in.

Paul Sasik
I´m not in a doiman. Both are in a workgroup, and i trying using the same account (username and password) in both machines.
What are you connecting from? SQL Mgmt Studio or ASP.NET or some other connection?
Paul Sasik
Sql Mgmt Studio...
I should post Answers o comments?