Solved

Trying to access a SQL database across domains

Posted on 2001-07-17
3
1,280 Views
Last Modified: 2008-02-01
I am running an application that accesses a SQL 7.0 database.  The client (NT 4.0 workstation) that's running the application is in domain A, trying to access the database on an NT Server in domain B.  The following is the error being returned:

DB error: 10004 Unable to connect: SQL Server is unavailable or does not exist. , OS Error: 18 ConnectionOpen (sopen()).


The application allows you to specify the server and database when logging in.  Have tried specifying the server by ip address and by name and both have failed the same way.   Can ping the server successfully by name AND by ip address from the client.

The application gets to the database successfully when running from a client on domain B.  Also successful when running from a client on domain A when the database is on a server in domain A.

The application is being run off a server in domain A.

Any thoughts or suggestions would be greately appreciated.
0
Comment
Question by:kiellish
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
sefa earned 100 total points
ID: 6292671
first open the Client Network Utility then look at the default net-library or any alias fro that server.

If it is named-pipes, change it to TCP-IP then try again.

If could not succeed make a directory map from client to server and then  first try named-pipes later TCP-IP.



0
 

Expert Comment

by:cschuess
ID: 6295477
Quick question, do you have a System DNS set up on your client for the SQL Server in question??
0
 

Expert Comment

by:CleanupPing
ID: 9282028
kiellish:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question