Solved

Trying to access a SQL database across domains

Posted on 2001-07-17
3
1,262 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
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to shrink a transaction log file down to a reasonable size.

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now