473,385 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Unable to connect to SQL Server Express Locally or Remotely

I have read all of the posts regarding this subject as well as 3
"Dummies" guides and I keep having the same problems. I have a very
simple multi-user application that has to hit a database. We
cuerrently have this system deployed and it is working fine on a
domain based network. We are scaling back and the network we will be
using is now a workgroup not a domain.

It should be simple. I have XP boxes (clients) trying to hit the SQL
Server Express database on a Windows Server 2003 machine. It is a
closed network so security is not an issue. I am trying to make this
thing wide open. All I want is for the user to be logged in on his
client machine, run the application, and access/update the database
without having to re-authenticate to the SQL server. I want windows
to handle all of the authentication between the XP machines and the
Server 2003 machine.

Any suggestions would be greatly appreciated.

Jun 22 '07 #1
1 6260
Billy (bi*********@keesler.af.mil) writes:
I have read all of the posts regarding this subject as well as 3
"Dummies" guides and I keep having the same problems. I have a very
simple multi-user application that has to hit a database. We
cuerrently have this system deployed and it is working fine on a
domain based network. We are scaling back and the network we will be
using is now a workgroup not a domain.

It should be simple. I have XP boxes (clients) trying to hit the SQL
Server Express database on a Windows Server 2003 machine. It is a
closed network so security is not an issue. I am trying to make this
thing wide open. All I want is for the user to be logged in on his
client machine, run the application, and access/update the database
without having to re-authenticate to the SQL server. I want windows
to handle all of the authentication between the XP machines and the
Server 2003 machine.
In a workgroup? That is not that easy. Since you don't give much
information, I don't know what your setup looks like, and what error
message you get.

To get Windows authentication to work in a workgroup, the user must
have the same username on his client machine that he has one the server.
Furthermore, he needs to have the same password. There is also a group
policy setting that you may need to set. Run gpedit.msc, and go to the
node: Local Computer Policy->Computer Configuration->Windows Settings->
Security Settings->Local Policies->Security Options. Scroll down to
Network Access: Sharing and security mode for local accounts. Set this
to Classic.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jun 22 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: amber | last post by:
Hello, I've just upgraded to VS.NET 2005 and SQL Server Express 2005. I converted my 2003 project into 2005. Now, when I try to run it, I get the error message: A first chance exception of...
1
by: Daniel Manes | last post by:
Some facts: 1) I have an Access database (.mdb file) sitting on my harddrive. 2) I have Visual Studio 2005, Sql Server Express, and Sql Server Management Studio Express. 3) I do *not* have...
0
by: d.grabov | last post by:
I am trying to set up mirroring between two SQL SERVER 2005 servers using a third SQL SERVER Express as a witness. However SQL SERVER Express does not seem to work as a witness. I have set up the...
5
by: Glen Buell | last post by:
Hi all, I have a major problem with my ASP.NET website and it's SQL Server 2005 Express database, and I'm wondering if anyone could help me out with it. This site is on a webhost...
10
by: =?Utf-8?B?UHVuaXQgS2F1cg==?= | last post by:
Hi, I am developing a windows application in VS.NET 2005. The application is database driven and I need to deploy it on a client's pc. How should I go about developing such an application. I...
2
by: s j shah | last post by:
How to connect server2005 and insert,delete,update record in database.plz help me
10
by: Scott M. | last post by:
I've seen many posts and ready articles discussing how changing the membership & roles "provider" in VS .NET is easy, but have yet to see instructions on how to do it. If I already have SQL...
1
by: =?Utf-8?B?UmljaGFyZCBTdGVlbGU=?= | last post by:
Hi I have a win app (allways running 24x7) (.net 2 c#) that uses sql server express. and i use the following connection string to attach it in the app.config <connectionStrings> <add...
4
by: Joe Willis | last post by:
I've been having issues running certain commands in Sql Server Express 2008. One of the specific commands in question looks like this: SELECT COUNT(DISTINCT Sno) as NumberShipping FROM...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.