Solved

Trying to access a SQL database across domains

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
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…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
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…

756 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