Error message on a Windows Vista-based computer when you try to connect to Microsoft SQL Server Management Studio by using a VPN connection: "The user is not associated with a trusted SQL Server Connection"
On a Windows Vista-based computer, when you try to connect to Microsoft SQL Server Management Studio by using a virtual private network (VPN) connection, you receive an error message that resembles the following:
The user is not associated with a trusted SQL Server Connection
Note This issue does not occur on a Windows XP Service Pack 2 (SP2)-based computer in the same environment.
On the computer that hosts the SQL Server role, the following events are logged:
Event Type: Error Event Source: MSSQLSERVER Event Category: (4) Event ID: 17806 Date: Date Time: Time User: N/A Computer: Computer Description:SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: ClientIPAdress] For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Event Type: Failure Audit Event Source: MSSQLSERVER Event Category: (4) Event ID: 18452 Date: Date Time: Time User: N/A Computer: Computer Description:Login failed for user. The user is not associated with a trusted SQL Server connection. [CLIENT:ClientIPAdress] For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
If you enable debug logging for the Netlogon service on the authenticating server, the following entry is logged in the in the Netlogon.log file:
[LOGON] SamLogon: Network logon of Computer\User from Computer Entered[CRITICAL] NlPrintRpcDebug: Could not get EEInfo for I_NetLogonSamLogonEx: 1761 (may be legitimate for 0xc0000064) (err 0xc0000064 = STATUS_NO_SUCH_USER)[LOGON] SamLogon: Network logon of Computer\User from Computer Returns 0xC000006A (err 0xC000006A= STATUS_WRONG_PASSWORD)
Note Computer is a placeholder for the name of the Windows Vista-based computer. Also, User is a placeholder for the user account that you use to log on to the computer.
This entry indicates that Windows Vista uses the Windows Vista-based computer credentials for authentication instead of using the domain credentials.
Note In different network environments, the following servers can be authenticating servers:
A Routing and Remote Access server
An Internet Authentication Service (IAS) server
For Windows Vista to use a VPN connection to connect to the applications that use NTLM authentication, Windows Vista must obtain VPN credentials from Credential Manager. However, Windows Vista cannot read the credentials from Credential Manager. Therefore, Windows Vista uses the Windows Vista-based computer credentials. However, the Windows Vista-based computer credentials do not apply to NTLM authentication.
Service pack information
To resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
There are no prerequisites for installing this hotfix.
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
To use this hotfix, you do not have to make any changes to the registry.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Vista Enterprise 64-bit Edition, Windows Vista Home Premium 64-bit Edition, Windows Vista Ultimate 64-bit Edition, Windows Vista Business, Windows Vista Business 64-bit Edition, Windows Vista Enterprise, Windows Vista Home Premium, Windows Vista Ultimate