If you are connecting to a remote instance of express edition you need to ensure that the IP protocol is enabled. By default IP protocol is not enabled so only local connections ae possible.
Main Topics
Browse All TopicsSQL Server installed for testing on WinXP Home SP2 and IE7.
Workstation running WinXP Pro SP2 with IE7 and Office 2003 SP2 produced this error when trying to run the Upsizing Utility in Access.
Connection Failed
SQLSttate '01000'
SQL Server Error: 2
[Microsoft][ODBC SQL Server Driver][Shared Memory]ConnectionOpen(Conn
Connection failed
SQLState" '08001'
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][Shared Memory]SQL Server does not exist or access denied.
Found this article - http://support.microsoft.c
Tried a different workstation running Win98 and IE6 with Office 2000 SP3 and the error was similar but ended like this:
Login failed for user 'username'. The user is not associated with a trusted SQL Server connection.
Which led me to this article - http://support.microsoft.c
Now on either workstation I get the same error.
Connection Failed
SQLSttate ‘28000’
SQL Server Error: 18456
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user ‘admin’.
I’ve tried every valid administrator account on the server computer and get the same error.
Then I tried the following commands from a cmd prompt on the server itself
sqlcmd -e -s i2400\sqlexpress
sqlcmd -e -s 192.168.111.11\sqlexpress
And get these results:
C:\Program Files\Microsoft SQL Server\90\Tools\Binn>sqlcm
HResult 0x2, Level 16, State 1
Named Pipes Provider: Could not open a connection to SQL Server [2].
Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections..
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
C:\Program Files\Microsoft SQL Server\90\Tools\Binn>sqlcm
HResult 0x2, Level 16, State 1
Named Pipes Provider: Could not open a connection to SQL Server [2].
Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections..
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
Desperate for help! The server is needed to test a couple of Crystal Reports – reports and an Access Front-end.
Now that I am all the way down here I’m wondering about IE7 on the server computer…
Oh, and I should mention that my SQL Sevrer knowledge is slim to none!
Ideas anybody?
Thanks
Scot
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
ShogunWade,
Yes I have enabled the IP protocol for the remote connections, that was one of the steps in one of the links I provided. Which is why I did the last test to see if I could connect using the sqlcmd statement on the server itself; which I couldn't.
After removing IE7 I can now connect remotely using the sql logins I created but not the Windows Authentication logins... which is ok because I can create my stored procedures and test the reports and front-end.
Scot
Business Accounts
Answer for Membership
by: p912sPosted on 2006-12-30 at 21:48:06ID: 18220661
Also, forgot to mention that I had added users using the Express Managaement Tool - both Windows and SQL and they still didn't work.
I have since removed IE7 and re-applied some Windows Updates that were removed with it and now the users I created can login!
Tomorrow I'll reinstall IE7 and see if I can break it.... in any case I'll be requesting the question closed.