?
Solved

Trying to access a SQL database across domains

Posted on 2001-07-17
3
Medium Priority
?
1,288 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 300 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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

752 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