Connect To SQL Server On A Machine On Another Network?

Nov 12, 2006

Hi,

I am hoping you will be of assistance to me and provide a little advice on what exactly is possible using SQL Express / SQL Server 2005 with regards to remotely connecting to a server.

I am a final year undergraduate student studying computing sciences in the UK. As a final year project I am attempting to create a client-server database, where the client (a WM5 PDA) can connect to an SQL server hosted on a different machine (a PC). However, I must be able to connect to the server when the PDA is being used on any Wi-Fi connection.

Basically I want the PDA to be able to connect to a database kept on the PC at home when you're out and about using the PDA's wi-fi.

Is this possible? If so, could you explain in 'dummy' terminology how one would go about this?

As my university is part of the MS Academic Alliance I have access to VS 2005 and SQL Server 2005 for this project.



Many thanks for your time and I eagerly await your responses!
Simon

View 7 Replies


ADVERTISEMENT

How Do I Check Whether The Sql Server Is Installed Or Not In The Particular Machine In A Network?

Mar 26, 2006

How do I check whether the Sql Server is installed in the particular machine in a network within the same domain? Suppose If i got a machine name as c-4200 in a network I need to display the all the database instances it has How do i do that?

View 1 Replies View Related

Cannot Connect To SQL Server On Different Machine

Oct 17, 2005

Hello, I know this has been covered many times but I just can't get an answer that applies to my situation. - SQL Server is on different machine.- I need to connect to SQL Server with SQL authentication. (Not a Windows account)- I CAN connect through Server Explorer as the user specified by the database administrator.  - I CAN run stored procedures through the Query Analyzer as the user specified by the database administrator.  - I CANNOT connect by the browsing ASP.NET applicationI have tried the connection string in the Web.Config and at the page level but keep getting messages such as Login failed for user 'User' or sometimes  "Not associated with a trusted Connection"In Web.Config I have:<authentication mode="None" />
On the page I have:Dim strConn As String = "database=servername;initial catalog=databasename;user id=User;password=password"Dim conn As New SqlConnection(strConn)conn.Open()I always get an error at conn.Open()I have spent too many hours playing around with this - any suggestions?? Please!!By telling it to connect as User the ASPNET account does not have to be created in SQL Server correct?Thanks for any help!!

View 2 Replies View Related

How To Connect To SQL Server 2K Without The Machine Name ?

Feb 19, 2004

With SQL Server 7, I could connect to a "local" server

driver={SQL Server};server={Local};uid=sa;pwd=password;

with SQL Server 2K it seems to need the computer name

driver={SQL Server};server=MachineNameInstanceName;uid=sa;pwd =password;


How can I replace "MachineNameInstanceName" by "{Local}"

View 9 Replies View Related

How To Connect To Sql Server On Another Machine Through Asp.net

Jul 23, 2005

Hi All,I have been struggling with this problem for quite some time. Basicallyi have an asp page (on the ISP server) that I want to connect to a sqlserver on another machine (on my server) and I have been trying tofigure out how to do this. I tried to connect using an ip address inthe data source and it did not work. The asp.net code looks somethinglike this:Conn.Open ("Provider=SQLOLEDB;Password=xxxx;Persist SecurityInfo=True;User ID=xxxx;Initial Catalog=mssqlxxx;DataSource=xx.xxx.xxx.xxx,1433;Network Library=dbmssocn")That did not work. Gave me an access denied or sql server does notexist error. I tried playing around with or without the 1433 port,still no luck.Is there something I need to set up on sql server in order for me toconnect to this?? Can someone give me some suggestion how i can connectto another computer?My ISP offers sql server support and they give me an ip address toconnect directly to the sql server, code looks something like this:conMyData = New SqlConnection( "Server=xxxxxxxxx.registeredsite.com;UID=userxxxxxx; PWD=xxxxxx;Database=samplecom" )now, my question is, how do I set up my sql server to have an ipaddress so i can connect??so i see 2 possible w ays to do this but i have no clue to make thiswork. Any help is appreciated.

View 1 Replies View Related

Cant Connect To Server From Another Machine

Feb 1, 2006

Hi Friends
I
have a sql server (2005 standard edition) on Win xp machine. i can
connect to this server from my machine ok but others on the network try
to connect i get following error

"An error has occurred during report processing.
Cannot create a connection to data source 'dataSource1'.
A
connection was successfully established with the server, but then an
error occurred during the pre-login handshake. When connecting to SQL
Server 2005, this failure may be caused by the fact that under the
default settings SQL Server does not allow remote connections.
(provider: Named Pipes Provider, error: 0 - No process is on the other
end of the pipe.) "

but my remote connection allows remote
connects. i also enabled "Named pipes" and "VIA" protocols under sql
configuration manager but no avail.
any ideas on this one.
Thanks for your help.

Cheers

View 16 Replies View Related

Connect SQL Server- Network

Aug 20, 2004

Hi,

I have 2 SQL 2K Servers set up on my home network. Both PC's are running Windows XP and as far as I can tell are configured identically, however I can connect to the Server A from PC B but not Server B from PC A (both work fine when I am on the same machine I try to connect to). Any ideas anyone, the error message I am getting is attached.

View 3 Replies View Related

Could Not Connect Server From Client Machine

Dec 12, 2006

Hi all

I m a new member to this forum. Im a hardware engineer who rectify aome software related issues. Now our employees having problem with connecting their XP prof based clients to 2003 server from SQL query analyzer. I tried refresh sql server manager in server and tried restarting the server machine many times. sometimes it the client machine connects and disconnects immediately. i aslo tried changing the poll interval , but no use.

waiting for a speedy solutin... i know this is as easy query.



View 4 Replies View Related

How To Connect To A SQL Server On A Deferent Machine Using ASP.Net?

May 5, 2006

Hi,

I am trying to connect to a SQL server on a deferent machine using ASP.Net written in C#. The machine on which the SQL server reside dose not have the ASPNET user and the authentication is falling. Any ideas on how to connect using a different User. I changed the ASP.Net service on my machine to run as a deferent user MyUser, which is a domain user that have access to the server machine?

Note: We can not change the privileges on the server side.

Thanks.RH

View 4 Replies View Related

Cant Connect To SQL Server Express Over Network

Mar 13, 2008

Is there a limitation in sql server 2005 express that it does not accept connections via the network? I am trying to develop a web application running the web server as a VM but I can't connect to the sql server on the host machine. Similarly, I can't create an ODBC connection on the VM, but I can on the host. I could install sql express on the VM, that is probably the next thing I'll try.

View 2 Replies View Related

How To Set Client Machine Name When Using ADO To Connect To SQL Server 2000?

May 15, 2007

When you connect to SQL Server using SQLConnection, how to set client machine name(or IP address) so that you can monitor the process on Server side using Enterprise Manager?

View 2 Replies View Related

Help !!!! Unable To Connect To SQL Server From 64 Bit Processor Machine

Oct 20, 2007

Hi all,

This is weird situation for me as i can access my database server from 32- bit processor and its working fine but when i try to connect through 64 bit processor it throws the following error : Please help. I am using enterprise library january 2006 to access database.





An Error has occured while stablishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow Remote Connections . (provider : Named Pipes provider,error: 40 - Could not open a connection to SQL Server)


Any clue or help will be appreciated.

View 8 Replies View Related

Can't Connect To SQL Server 2005 Express From Another Machine

Aug 1, 2006

I know there have been many posts made on this subject; however, despite the resources available, I have not been able to get this to work! I've spent time working on this here and there over the last couple of months only resulting in frustration. I am finally posting to solicit help for my situation to figure out what is wrong with my SQL Server or firewall configuration.

Two machines connected to a router, one wireless, one wired. Both have SQL Server Express and the Management Studio tools installed. From either machine I can connect to its local SQL Server Express instance.

I have enabled Shared Memory, Named Pipes, TCP/IP, and VIA in the SQL Server Configuration Manager. (BTW what is VIA?)

I have added sqlsrvr.exe and sqlbrowser.exe to my Windows Firewall exceptions. I have tried disabling Windows Firewall. One of the machines is configured as DMZ in the router configuration.

Please, someone offer up some brilliant diagnostic steps I am missing to expose what is wrong in my setup and make this work... Thank you!

View 8 Replies View Related

Error While Trying To Connect To Another SQL Server Express Machine

Jan 24, 2007

The error states:

Additional Information:
An error has occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that unthe default settings SQL Server does not allow remote connections.

How do I correct this issue?

Thanks,

Steve C.

View 1 Replies View Related

IIS6 Connect To Sql Server On Another Machine W/windows Authentication

Sep 11, 2006

 Can someone point me at an article that tells how to allow the
ASP.net worker process to connect, via windows authentication, to a
remote sql server instance ?  

View 2 Replies View Related

I Changed My Windows Password And Now I Cannot Connect To SQL Server On My Development Machine

Jun 11, 2007

I changed the login password on my computer today, and now I cannot connect to the SQL Server instance I have on that same machine. I am using Windows Authentication. I would think that, if I can log on to my computer, I would be able to connect to the database, since I have been "authenticated" by windows but, that does not appear to be the case. Can anyone offer any advice? Thanks in advance for any help you can provide. 

View 4 Replies View Related

Unable To Connect To Export Server, Please Verify That You Are An NT Administrator On That Machine

May 15, 2002

Trying to upgrade a 6.5 to a 2K.
Running SQL Agent from an admin account, admin account active as admin on both 6.5 machine and 2K machine, but I can not get the upgrade past the second screen, where I get the error message:
Unable to connect to export server, please verify that you are an NT Administrator on that machine.

Stefanie

View 1 Replies View Related

Remote Connect To SQL Server 2005 At Home From Private/office Network

Dec 18, 2007

I'm green on this networking stuff so any help is greatly appreciated.

I have setup my home computer as a server and assigned a static IP to it. I installed SQL Server 2005 Developer and allowed remote connections to it through the Surface Area Config tool, added port 1433 TCP and 1434 UDP to firewall's exception list, and started the SQL Server Browser service.

Now I can't seem to remote connect to this SQL Server from my office network. Is there something I'm doing wrong here?

Thanks!!

View 3 Replies View Related

New IBM Laptop Running SQL Server Cannot Connect To Another Sql Server On Network

Jul 20, 2005

I am trying to connect a new LBM Laptop to an SQL server on thenetworkand I get "test connection failed because of an error in initializingprovider, [dbnetlib][connectionopren(connect()),] SQL server does notexist or access denied. The laptom has sql server running on itlocally and I am trying to connect to an SQL server on the network.ThanksTom

View 1 Replies View Related

Connecting To SQL On Network Machine

Aug 8, 2005

Hi,I'm trying to use one of my machines as a database server, just for local network testing/development etc.  This machine/server is on my local network via a router.Can anyone advise me of how, when using VS 2005 Beta 2, to connect to my SQL Server 2005 installation on the server running on my network.  ?  In the 'add connection' dialogue, what do I put in the 'Server name:' field, (apart from server name...) is it the name of the machine or the IP address of the machine on the network ?Any and all advise appreicated.Thanks in advance.

View 3 Replies View Related

Backup From A Remote Machine Over The Network.

Nov 29, 2000

Hi all,

I have scheduled a backup on a remote machine. Everyday I FTP these backups from the remote machine to the local drive.

A local drive is maped to the remote machine in Windows NT Explorer but SQLSERVER7 Enterprise Manager can't see this drive so that I could do the backup to it.

Can any one please tell me how to make this work?

Thanks in advance.

Attaullah

View 1 Replies View Related

Data File In A Different Machine On The Network.

Jul 20, 2005

Hi All,I have a requirement to create the database with data and log files ina different machine on the network.Googling, I got a link which said Mapped drives do not work but UNC pathswork. However in my case, both are failing.Any advices or links on net will be highly useful.Thanks and Regards,Chandra Mohan

View 5 Replies View Related

SSRS Report Access From A Network Machine

Mar 28, 2007

Hi,

I have created and deployed an SSRS report, which I am able to access from the same machine using the URL. But I am not able to access the URL from a another machine in the same network.

What could be the problem, do I need to make some configuration changes to the reporting server?

View 2 Replies View Related

MSSQL 2000- Backup Activity On A Network Machine

Dec 20, 2006

Hi,
I am using an Enterprise Manager and i have created a Database Maintainance Plan, can anybody guide me as to how to create backup on a remote machine.

I also mapped that device(say M/c B) onto my server box(M/c A) but i am not able to see that particular location in my backup activity screen.

Can this be done in the first place ?

Regards,
Tahir

View 7 Replies View Related

Recovery :: Cluster Network Interface Error In AO Setup With HyperV Machine

Nov 13, 2015

Two node AO cluster setup.

I found errors frequently in cluster events at  logs as below

"Cluster network interface 'Node1 - 10.X.XXX.1' for cluster node 'Node1' on network 'Cluster Network 1' failed. Run the Validate a Configuration wizard to check your network configuration. If the condition persists, check for hardware or software errors related to the network adapter. Also check for failures in any other network components to which the node is connected such as hubs, switches, or bridges."

How to fix this issues? is it missing any patch OS or cluster side?

View 3 Replies View Related

Best Way To Connect To AS400 Machine??

Nov 28, 2007



Hi All,

What is the best way to connect to a AS400 IBM machine from SSIS or SQL2005. Then I want to write those libraries to a SQL2005 Database

Thanks in advance,

Tim

View 11 Replies View Related

ADO Doesn't Connect Without Network!

Nov 18, 2004

Hi!

I wrote an application which connects to a SQL Server / MSDE 2000 DB through ADO components. Now the application doesn't start if I don't have an active network connection; as far as I try to connect, the error I get is:

[DBNETLIB][ConnectionOpen (Connect()).].........

Everything is ok if I simply plug the network cable and let the PC connect to the TCP/IP network.

Hope someone can help me!
Thanks

Umberto

View 4 Replies View Related

Is It Possible To Connect To SQL Express Without Network?

Sep 6, 2007



I have notebook, client server application and sql express sp2 on this notebook.
Also, I know domain user login/password,
but I don't know any local user name/password
and I don't know any sql server user name/password.
Domain user is not a local administrator on this notebook.

When notebook connected to the office LAN I am working good with my app-> my sql express as a domain/user.

I'd like to work at home too. I can logon to the system (XP SP2) using domain account when notebook has no network connection. (probably OS caches something)

Is it possible to work with sql express using domain login when no network connection?

PS. old version of this software used MSDE 2000 and it was possible(!).


Thank you.

View 5 Replies View Related

Cannot Connect To Reportserver From Outside Of Network

Oct 12, 2007



I am able to connect to reportserver from within the network. However I am unable to connect to reportserver from outside of network.


I am using the syntax http://xxx.xxx.xxx.xxx:1433/reportserver where xxx.xxx.xxx.xxx denotes the ip adress and the 1433 denotes the port




Reportserver is on a windows 2003 small business server. I added exceptions to my firewalll and checked all permissions to the physical directories. I am sure it is a simple issue but cannot figure it out.

Any help would be appreciated.

Thanks.

View 2 Replies View Related

Can't Connect To SQl Via Windows NT Network

Jun 21, 2007



Help!



I'm writing some VB.net 2005 windows applications which connect to various tables within SQL Server 2005.

If my programs are running from C drive, I have no problems connecting to my database.

but if i run my exe file from a network drive, then the SQL server doesnt recognise the user's pc, and wont allow my program to access any data.



Can anyone help me with this problem?

View 4 Replies View Related

Can't Connect To Sql2005 On My Local Machine

Nov 22, 2007

hello,

Sql server type: database engine
server name:
authentication: sql server authentication
login: sa
password: xxxxx


I remember the server name being sqlexpress (I think that was the default name during the install).

OR are they asking for my computer name? because I tried that also and it gave me an error saying "the default installation doesn't allow remote connections"

View 6 Replies View Related

Can't Connect In Sql Express On Local Machine

Aug 7, 2007

I have SQL Express running on my laptop but are unable to connect to the default database paulm-laptopsqlexpress

When I try to connect I get the error message
TITLE: Microsoft SQL Server Management Studio Express
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)

Everything is on my laptop whcih is running Vista Business as an administrator

Any ideas why,
Thanks Paul


View 2 Replies View Related

Error When Connect To Sqlserver From Another Machine

Nov 17, 2006

hi ..

i install sqlserver and make app with vb6 using ADO to connect to the database and successfully

i put that application on another pc on the network
when i open it it says "can't login computernameguest" ??!!

any help

thanks in advance.

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved