473,549 Members | 2,594 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to access Database from sql server of another computer ?

19 New Member

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 28665
Christopher Nigro
53 New Member
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\Databas e 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
19 New Member
@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... .

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.veri fy instance name is correct and that sql is configured to allow remote connections

Please help me...
Jul 16 '10 #3
Christopher Nigro
53 New Member
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
19 New Member
@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\SQL EXPRESS

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..(Mi crosoft sql server Error:18452)

Note :in security option windows authentication is enabled.
Jul 17 '10 #5
Jerry Winston
145 Recognized Expert New Member
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\SQL EXPRESS 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

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 from each other, but the actual fields of the data we need to move exist in both tables. From what I see in the MS Access help I can only find...
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" etc. (YES/NO-posts) This should be easy; one table in a simple database, but... In the company we already have another database containing the...
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 cave I'm working in. Each of the users will have their own copy and work on it on their own machines. It's so 1989 I dunno what to do with myself. ...
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 rs+10 records . now i have to pass there 10 values to another table with same name . can anyone help me with this
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 help.
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 database is "Computer2", and the full path to needed database is "\\Computer2\AppFolder\mydata.mdb". The user can access that folder when it...
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 close to mine, but nothing has helped. We are running Apache/2.2.4 (Win32) PHP/5.2.3. I am trying to use the odbc_connect to connect to an MS...
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.
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 (and undocumented), so I would rather just have a button that opens that database. I would prefer opening a specific form, but that is optional. ...
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 acces this application from machine Y and I could not access it and this error I got when I tried access this application: ...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.