473,614 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sql Server does not exist or access denied issue again

I know this has come up frequently but I can't seem to put my finger on
the precise problem as it applies to me. I have a workgroup with a 2003
box with Sql server on it. Also, on this, I have an XP pro machine. So
the xp pro machine is running IIS. When I try and open a connection to
the Sql Server I get the Sql Server does not exist etc.

I am wondering what I need to do to correct this exactly. Because it is
on a workgroup and not a domain how do I solve the problem. Do I need
to have an id on the xp machine that is the same as one of the server,
I tried this but it doesn't seem to work for me.

There is plenty of info out there for domains but not workgroups. Any
ideas??

Thanks

Eamonn

Jul 23 '05 #1
7 2551

"Jenbo" <ej***@allstate .com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I know this has come up frequently but I can't seem to put my finger on
the precise problem as it applies to me. I have a workgroup with a 2003
box with Sql server on it. Also, on this, I have an XP pro machine. So
the xp pro machine is running IIS. When I try and open a connection to
the Sql Server I get the Sql Server does not exist etc.

I am wondering what I need to do to correct this exactly. Because it is
on a workgroup and not a domain how do I solve the problem. Do I need
to have an id on the xp machine that is the same as one of the server,
I tried this but it doesn't seem to work for me.

There is plenty of info out there for domains but not workgroups. Any
ideas??

Thanks

Eamonn


http://support.microsoft.com/default...b;en-us;328306

If this doesn't help, then you should post some more information - which
version and edition of MSSQL do you have, which authentication mode are you
using, how are you testing the connection etc.

Simon
Jul 23 '05 #2
I have looked at this article a lot and it does not have any specific
info on workgroups, just domains. I am using SQL Server Enterprise I
think, authenication is mixed mode. The problem seems to be that the
user of the client machine cannot access the SQL server. Do I need to
do something like create a user on the client called test with pwd and
then create the same user on the server machine, and create this in SQL
Server???

This is a workgroup I am dealing with not a domain so I am wondering if
this would work.

Simon Hayes wrote:
"Jenbo" <ej***@allstate .com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I know this has come up frequently but I can't seem to put my finger on the precise problem as it applies to me. I have a workgroup with a 2003 box with Sql server on it. Also, on this, I have an XP pro machine. So the xp pro machine is running IIS. When I try and open a connection to the Sql Server I get the Sql Server does not exist etc.

I am wondering what I need to do to correct this exactly. Because it is on a workgroup and not a domain how do I solve the problem. Do I need to have an id on the xp machine that is the same as one of the server, I tried this but it doesn't seem to work for me.

There is plenty of info out there for domains but not workgroups. Any ideas??

Thanks

Eamonn

http://support.microsoft.com/default...b;en-us;328306

If this doesn't help, then you should post some more information -

which version and edition of MSSQL do you have, which authentication mode are you using, how are you testing the connection etc.

Simon


Jul 23 '05 #3
Try adding the hostname(xp machine) to the LMHost file on win2003. And
then try adding it to sql client configuration.

It worked for me.

Jul 23 '05 #4

"Jenbo" <ej***@allstate .com> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
I have looked at this article a lot and it does not have any specific
info on workgroups, just domains. I am using SQL Server Enterprise I
think, authenication is mixed mode. The problem seems to be that the
user of the client machine cannot access the SQL server. Do I need to
do something like create a user on the client called test with pwd and
then create the same user on the server machine, and create this in SQL
Server???

This is a workgroup I am dealing with not a domain so I am wondering if
this would work.


<snip>

If you're using mixed mode, then the first thing to try would be connecting
with a SQL login which you know works fine when you're logged on to the
server:

osql -S MyServer -U sa -P xxxx

If that doesn't work, then you probably have some basic connectivity issue,
so you could look at name resolution, protocol configuration and so on. If
it does work, but a trusted connection doesn't, then you probably have an
issue related to workgroup security. As far as I know, if you have local
user accounts on the client and server with the same name and same password,
then you should be able to connect to the server. However, it's possible
that Server 2003 is setup somehow to disallow such connections by default -
you can test with something basic like connecting to a share on the server.
If that doesn't work, then you'll have to investigate workgroup security,
which is probably something to take up in a Windows security group.

Personally, I would consider setting up a domain - if you have the resources
to implement Enterprise Edition on Server 2003, then presumably you have the
resources to operate a domain, although of course I don't know your
situation, so you may well have a good reason for going with a workgroup.

Simon

Jul 23 '05 #5
I was having this exact same problem yesterday and foud out the fix
just 30 minutes ago. I am also operating in a Workgroup and like you
could not find any solutions. I hope this helps...

On the server running MSSQLServer,
Open the network connection properties for you NIC.
Be sure you only have the following installed:
Client for MS Networks
File and Printer Sharing
TCP/IP

I originally had these additional components installed:
AppleTalk
Client Network Monitor

I removed both from Add/Remove Windows Components and network
connections at the same time, so not sure which one caused the
conflict.

Good Luck

Jul 23 '05 #6
I have a related question: when i installed sql server, i chose windows
auth. instead of mixed mode. Although a second pc can see a sql
instance from the first pc, i cannot log-in using a sql login. How do i
change to mixed mode?

Jul 23 '05 #7
chrispycrunch (ch***********@ gmail.com) writes:
I have a related question: when i installed sql server, i chose windows
auth. instead of mixed mode. Although a second pc can see a sql
instance from the first pc, i cannot log-in using a sql login. How do i
change to mixed mode?


You do this from Enterprise Manager. If memory servers, you right-
click the server, choose properites, and then go the Security tab.
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #8

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

Similar topics

2
2133
by: Jay Chan | last post by:
We have just installed a SQL Server 2000 (SP 3A) onto a computer that has Windows-2003 Server on it. Now, we cannot get access to that database server from other computers. Seem like this may be an issue with Active Directory. Our network consists of Windows-2000 Servers (SP 4) and Windows-2000 workstations and Windows-XP workstations. We also have SQL Server 2000 (SP2) in three Windows-2000 servers. All work fine. Recently, we get a...
2
1595
by: Chris Stewart | last post by:
We're having an issue here at school with trying to access a SQL Server database from a .NET application. As a department, we roll out a generic image to all of our lab computers. For some reason we were getting "SQL Server does not exist or access denied" errors ( http://www.isy.vcu.edu/~cstewart/sqlerror.jpg ). One of the lab machines in the lab worked fine and could connect without any issues. As a quick fix, we re-imaged 3 of the...
2
5907
by: mal hit | last post by:
We developed an ASP.NET application on Windows 2000/SQL Server 2000/IIS 5.0. Recently, we moved the SQL Server 2000 database to Windows 2003. Now, we are unable to connect to the database (on Windows 2003 Standard Ed.) via ASP.NET code on Windows 2000 Standard Ed. The error we get is: SQL Server does not exist or access denied. The SQL Server very much exists on Win 2003. We are able to connect to it remotely via every known manner (SQL...
3
1303
by: Hermit Dave | last post by:
Hi, I am getting this SQLException: Sql Server does not exist or access denied Here is the situation: Build machine: VS 2003, Framework 1.1, Windows XP and SQL Server I have two sets of connection strings, one for local sql server and one for internet sql server. Both connect to the database perfect when i connect through the ASP.NET pages on my local IIS
9
2126
by: Steven Ung | last post by:
Hello all, I'm having the following error dump from an ASP.net application. The program is to calculate MRP and it involves complex queries looping thru hundreds of records in an few SQL 2000 table. After running for 2~3 minutes, the below error is shown. I've search high and low, but can't find anything close to solving this problem. The same ASP page, with less data however works without any issue and is still on test on our local...
1
4184
by: Atia Amin | last post by:
Hi, I am a new member. Hello to every one. I am new in ASP.NET area. I wrote an ASP.NET web application which was running ok with my old laptop. Currently I have given a new laptop. Now I copied my application to the new laptop and I am experiencing as SQL Server connection error: "SQL Server does not exist or access denied". Following is a simply ASP.NET application to test the connection and I am getting following error: For your...
1
4624
by: vamshika | last post by:
hi, I got a serious Problem. I get "Server does not exist or access denied" with 80004005 as the error code. the win2003 server uses all the latest components(like iis6,jet..etc) and is upto date. The Asp website and its database(sql server) are in two different servers. Can any one help me out. Did enybodyelse come accross such issue?????? I referred the msdn and tried the solutions(like setting permissions..etc) already but none of them...
3
1072
by: scarecrowwu | last post by:
I'm a newer in .net. I cann't conect to the SQLServer on a local area network computer.The more strange thing is that I can connect to another SQLServer which in USA.Now I'm in China. My appsetting: <add key="RRE_ConnectionString" value="data source=CADCISDTEST2;initial catalog=ForRRE;persist security info=true;user id=sa;password=sa;workstation id=CADCISDTEST2;packet size=4096" Error description is below: SQL Server...
1
5869
by: ahmnasa | last post by:
I have a website that has been running for over 1 year now that has never had these issues. Its running MS SQL Server 2005 Express Edition and IIS6 ASP 3 coded. All running from one server. I am starting to randomly get the following errors: Microsoft OLE DB Provider for SQL Server error '80004005' Timeout expired
2
1240
by: jayman9782 | last post by:
Hey all, I'm having a common problem under different circumstances. A little background information: I am running an "in-house" ASP web application in .NET 1.1 with a back-end in SQL Server 2000. The application is on a separate server from the SQL server. About 99% of the time users are able to sucessfully log into the SQL server and the other 1% of the time they get this nasty message "SQL Server does not Exist or Access Denied". When I get...
0
8179
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8576
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8427
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6087
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4049
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4119
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1712
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1421
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.