Solved

Trying to access a SQL database across domains

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

815 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

12 Experts available now in Live!

Get 1:1 Help Now