473,418 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

how to access Database from sql server of another computer ?

19
Hi.....

we are 5 members working in same project.we are using sql server 2005.so we have to share one database.how to do that?how to connect sqlserver from another computer?
Jul 15 '10 #1
6 28634
When you say "Connect", do you mean connect from Management Studio or do you mean connect programatically with some sort of connection object in code?

From Management Studio, you just choose Connect\Database Engine from the Object Explorer and enter in the server name and authentication mode/credentials.

If you are talking about a connection object, you should post in the forum related to your platform.
Jul 15 '10 #2
vidhyaG
19
@Christopher Nigro
Thanks for Replying...

I want to connect sqlserver of another system from my sqlserver Management Studio.

I tried following Steps..

1)in sqlserver surface area configuration i enabled local and remote connection
2)restarted database engine
3)enabled sql browser in sql configuration manager
i did that in two systems
then i did
4)tried to connect sqlserver of another system from my system
sqlserver management studio->object explorer->connect->gave sql server name of another system->connect
but i did not work successfully....

Error:
cannot connect to nexus1

A network related or instance specific error occurred while establishing a connection to server.the server was not found or not accessible.verify instance name is correct and that sql is configured to allow remote connections


Please help me...
Jul 16 '10 #3
Did you verify that the instance name from the SQL server that you are trying to connect to was the same as the name you entered? In the Server Name list, click <browse for more> and see if it shows up. Is the SQL Server in your environment/domain?
Jul 16 '10 #4
vidhyaG
19
@Christopher Nigro
ya.you are correct.... instance name is not there...

but i tried to browse..in that also system name is only there...then i typed ownly (Ex).Nexus1\SQLEXPRESS

but same error is coming..

then tried with another server which have correct name with instance...

but that also not working...

another error came...

ERROR:Login failed for user ".the user is not associated with a trusted sql server connection..(Microsoft sql server Error:18452)

Note :in security option windows authentication is enabled.
Jul 17 '10 #5
Jerry Winston
145 Expert 100+
Here's a few hot-spots to check:

1. Ensure all users are in the same domain
2. Check the CONNECT rights granted to domain group containing the 5 developer logins.
3. Make sure you have enabled your network protocols e.g. TCP/IP, Shared Memory, ect from inside SQL Server Configuration Manager.
4. Make sure your firewall is not blocking SQL Server ports 1433. (1434)

Try this:
1. Change the security mode to Mixed mode.(restart the SQL server)
2. Create a new SQL login and map it to the common database.
3. Grant the new login connect rights to the server.
4. Login using the IP address of the server and instance name 123.1.2.123\SQLEXPRESS and the new SQL login.
Jul 21 '10 #6
Just add a port in your firewall

add exception:

name : sql
port : 1433


or simply turn off fire wall
Oct 28 '10 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Noozer | last post by:
We've created a new database and need to import the data from our old database. Both are MS Access databases and each have multiple tables. The table structure of each table is completely different...
5
by: jh | last post by:
The situation: A database is wanted. It's purpose is to show some co-workers' skills. Therefore I will need to make a database that contains names and the posts "skill1", "skill2", "skill3"...
4
by: Luvin lunch | last post by:
Hi, I've developed a worklist system in Access and I plan to deploy four copies of it to the four users that need it. I said I'll be deploying copies because there is no shared network in the...
0
by: rajaaryan44 | last post by:
how can we transfer data from one access database to another databse . the table name is same for both the database . in one table some records are there (rs say e.g.) now another table has say...
3
by: fabdulla | last post by:
I have a tabel A in access database A and i would like to copy tabel A into access database B. But when ever tabel A updates I want tabel B to update as well. If anyone know who to do this please...
2
by: Andrius B. | last post by:
Hi. I am writing an app, whitch has to access a database, located on another computer (Intranet). Let's say, the computer where the app is to be installed, is "Computer1". The computer with the...
1
by: vbace2 | last post by:
I have searched this forum, and the web, and I have not been able to find a solution to my issue. I may not have used the right search information to find the answer, but I found a lot of issues...
2
by: compquest | last post by:
I know how to access different tables on the same server by prefixing the table with the database name. Is there anyway to prefix the server name to link two tables across servers? Thanks.
2
bard777
by: bard777 | last post by:
I am creating a utility database to use to update and maintenance other databases. One of them has an update process that uses 19 queries and as many linked tables. It works, but is complicated...
9
by: bougie | last post by:
I have installed an application on machine X, this application is a C# application and stores the data on sql server 2008 and it is working perfectly on Machine X. Now my problem is I trying to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.