Connect Multiple Servers In MS SQL Server Express

Jun 26, 2007

How do I connect DB's on different servers? I can't find a good explanation that works for me.

View 1 Replies


ADVERTISEMENT

Can&´t Connect To SQL SERVER 2005 Osql -L Servers:---NONE---

Mar 28, 2007

Hi, i´m new to SQL SERVER, I've been using Oracle and MySql without problems so far.
I'm having problems to connect to SQL SERVER on my local machine.
**UPDATE
I can connect via command line, but from Visual Studio can´t connect to SQL SERVER
Sometimes I got this error:
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
And sometimes something about enabling remote connections in SQL SERVER , but the server is in the local machine.
what´s suppose to be the name of my server? localhost?
what am I doing wrong, ?
I have no problems to connect to Oracle and mysql with Visual Studio.
Thanks in advance

View 3 Replies View Related

Cannot Connect W/ Java App But Can Connect W/ .Net App - SQL Server Express 2005

Dec 12, 2006

I'm having a problem connecting with a Java application but I CAN connect using my .Net application - the user name and password are the same for both (using the same database on SQL Server Express 2005).

The error I get is: "com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "CORNERS" requested by the login. The login failed." An interesing note - I get the same message if the database is not running.

SQL Server Express 2005 is installed in mixed mode.

Here is my connection string in the .Net appplication: <add key="connectString" value="Server=(local);UID=sa;PWD=myPasswd;Database=CORNERS" />.

These are my values in my Java app web.xml -

<init-param>
<param-name>DBDriver</param-name>
<param-value>com.microsoft.sqlserver.jdbc.SQLServerDriver</param-value>
</init-param>
<init-param>
<param-name>DBURL</param-name> <param-value>jdbc:sqlserver://localhostsqlexpress:1055;databaseName=CORNERS</param-value>
</init-param>
<init-param>
<param-name>DBUser</param-name>
<param-value>sa</param-value>
</init-param>
<init-param>
<param-name>DBPwd</param-name>
<param-value>myPasswd</param-value>
</init-param>.

And yes, the port is 1055 - I checked to find it.

I am using Microsoft SQL Server 2005 JDBC Driver 1.0 (sqljdbc_1.0.809.102).

Does anyone have any idea what is wrong so that the login fails in the Java application but works in the .Net application?

View 7 Replies View Related

Two Databases/servers - Can I Connect To Both To Create New Table On One Server?

Nov 20, 2007



Good morning all,

I need to create a new table on a SQL Server 2005 Database, but the data needed for the table is kept in different databases on different servers.

Half the data is on the SQL 2005 database, so that shouldn't be too much of a problem, but the other half is on a SQL Express database on a different server, is it possible to write a T-SQL query to retrieve this data on the other server?

Normally I use a create table + insert into kind of query to create custom tables but I don't know how to connect to the SQL Express server/database using T-SQL (if it's possible at all?) to do this.

Any tips, hints, ideas very welcome. Please use small words and short sentences.

Thanks,

Paul

View 3 Replies View Related

I Can No Longer Connect To My SQL Server Express 2005 From Manager Studio Express

Sep 28, 2006

Everything was working fine. I have been able to connect using windows authentication. Then, I went into the ODBC manager to add a data source and it failed to connect so I went back into the Server management studio to modify users. After doing this I now get an error when I try to conenct the management studio to the SQL server.

I wasn't modifying the login for my windows account that I normally use, I was modifying a different one, however I now get the message "An error has occured while establishing a connection to the SQL server. This kind of problem can ocure because the default behavior of the server does not support all connection methods" blah blah.

Does anyone know how I can attach to the server? Or, do I need to somehow remove the server and create a new one? How would I do that?

Thanks in advance for any input.

View 1 Replies View Related

Can't Connect To SQL 2005 Express With SQL Server Management Studio Express

Mar 10, 2006

I've seen the following error posted when people try to connect to their server via their applications but didn't see anyone having problems when trying to connect with SQL Server Management Studio Express. Am I missing something here? This is the error:<<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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)>>The server is not remote so I don't see why I need to enable remote connection. I am also using the default connection settings.

View 3 Replies View Related

Cannot Connect To SQL Server 2005 Express With Management Studio Express

Feb 24, 2007

On my home machine without permanent network connections enabled, I cannot get the Management Studio connect to the database server. Always get this error:



Cannot connect ot MPLIAMSQLEXPRESS

Additional Information:

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, erro: 26 - Error Locating Server/Instance Specified)(Microsoft SQL Server)



I have used the SQL Surface Area Configuration Tool to reset the defaults to allow remote connections, stopped and restarted the server, but still get the same message.

Please help.

View 12 Replies View Related

Transact SQL :: Server Script To Run On Multiple Servers

Nov 4, 2015

I have a backup checking script on my server. I want to change the script to run on multiple servers, and below are my requirements,

1. I have an input file with my sql script which i want to run in command prompt and i have a list of servers in an another input file.
2. I need a script to take the input from the input file , process my sql script and produce an output for each servers.
3. Or can we use SSMS or some sql agent script to make it possible ?

View 4 Replies View Related

Linking Two SQL Server Express Servers

Oct 26, 2006

Hello all!

How do I go about linking two SQL Server Express servers? I can't seem to find information on this.

Also, I need to import data from MSDE. Is there anyway to do this?



Regards,



Andrew Cappella-Pakos

View 1 Replies View Related

SQL Server 2008 :: SSIS - For Each Loop Through Multiple Servers

Jan 30, 2015

I have an SSIS job that dynamically loops through each server, grabbing data for typical DBA reporting, like diskspace, and errorlogs. If the server is down for whatever reason the SSIS package fails. Is there any way I can prevent the SSIS package from failing if one of the servers is down?

View 1 Replies View Related

Setting Up SQL Server Encryption Between Multiple Servers And Databases

Feb 23, 2007

Greetings.

I have a setup/deployment question regarding SQL Server Encryption.

Internal database encrypts data in 3 different tables. This could execute on any one of 6 different servers.
The tables with encrypted data are replicated to another database on different servers (3)

How should the keys/certificates be created so that the data in the replicated database can be decrypted?

In my test scenario so far, I have been unable to have the second database decrypt the data that was encrypted on the first database (currently on the same server).

-- Create Database Master Key
CREATE MASTER KEY ENCRYPTION BY
PASSWORD = 'p@ssw0rd'
GO

-- Create Certificate
CREATE CERTIFICATE MyCertificate
WITH SUBJECT = 'My Data Encryption Certificate',
EXPIRY_DATE = '10/31/2010';
GO

CREATE SYMMETRIC KEY MyKey
WITH
ALGORITHM = AES_256,
IDENTITY_VALUE = 'My Symmetric Key',
KEY_SOURCE = 'Unique phrase that will be used to secure the key'
ENCRYPTION BY CERTIFICATE MyCertificate;
GO

View 3 Replies View Related

Not Able To Connect To SQL Server Express From VWD 2005 Express

Jan 16, 2008


Hey all! I am new in this form and also new with the SQL serve. I have installed that free express edition of SQL server 2005 and when i am trying to connect to server from my C#.net application i am not able to do it and when i am trying to degug it gives me the error that is the user is not SQL thrusted user. I am able to connect directly thru SQL server using this userid and password but not thru VWD 2005 Express application.

I have read online that so many people are having that problem. so is it the problem of swl server Express edition or do i have to make some setting to connect to the application.

Please please please please someone guide me . I am stuck here in the beginning only. I would really appreciate it.

the code that i wrote is here:----

using System.Data.SqlClient;

public partial class _Default : System.Web.UI.Page

{



protected void Page_Load(object sender, EventArgs e)

{

if (!Page.IsPostBack)

{

}

}
protected void Submit_Click(object sender, EventArgs e)

{

String querry;

SqlDataReader dbread;

try

{

SqlConnection conn = new SqlConnection(ConfigurationSettings.AppSettings["Conn1"]);

SqlCommand comm = new SqlCommand();

conn.Open();

querry = " Select password from login where userId='" + TxtUser.Text + "'";

comm.CommandText = querry;

comm.Connection = conn;

dbread = comm.ExecuteReader();

dbread = null;

if (dbread.HasRows)

{

while (dbread.Read())

{

if (dbread["password"].ToString() == Txtpwd.Text)

{

Response.Redirect("home.aspx");

}

}

Response.Write("Your Password Doesn't Match");

}

else

{

Response.Write("Your User Name Is Wrong");

}

conn.Close();

}

catch (Exception ex)

{

Response.Write(" This is an Error - " + ex.Message );

Response.End();

}



Thanks,
Komal

View 1 Replies View Related

Can't Connect To SQL Server Express W/ Management Express?

May 27, 2008

I have everything enabled and I still can't connect to the server. Everytime I try to connect to MS SQL Express from home I get this error:

TITLE: Connect to Server
------------------------------

Cannot connect to 67.159.*.*SQLEXPRESS.

------------------------------
ADDITIONAL INFORMATION:

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)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------


I have Remote Connections enabled (I think). Any advise is greatly appreciated.

View 13 Replies View Related

Sql Server Express And VB.net Express - Unable To Connect...

May 31, 2007

Hi!

I'm trying to connect a DB in SQL express with a program in VB.NET Express. I'm using the Data Source Configuration Wizzard. When I select the file (.mdf), the following message appears:



Unable to open the physical file "path to my file". Operating system error 5: "5(error not found)".

An attempt to attach an auto-named database for file 'myFile' failed. A database with the same name exists, or secified file cannot be opened, or it is located in UNC share.



I'm using the Windows authentication for this, but if I try with the sa user, I get the following message:



Failed to generate a user instance of SQL Server. Only an integrated connection can generate a user instance. The connection will be closed.



Any ideas to solve this?



Thanks

Jose Israel

View 1 Replies View Related

How To Connect To My Sql Server Express,also Pubs And Northwind For Sql Server Express

Feb 20, 2006

1, I have installed VWD express,sql server 2005 express.I also install management studio and adventureswork db.In the management studio I can able to connect and view adventurework db.But I can't manage to make a connection string to my db server when connecting to management studio server name is "KAMRANSHAHIDSQLEXPRESS".I wants a connection string with respect to this server.2,Is there new database for pubs and northwind for sql server 2005.Or they are of old sql server 2000.I have installed sample databases but can't find script for pubs and northwind nor it install automatically.I wan't to use tutorial's sample.

View 1 Replies View Related

SQL Server Admin 2014 :: Query Multiple Servers With A Scheduled Job Using CMS?

Mar 13, 2014

I can easily query multiple servers using the multi-server query function in Central Management Server and write some of the results to logging tables. I would like to be able to do this via a scheduled job. So far I am finding that even setting up Master/Target Servers this may not work and the only workaround is either using SSIS, SQLCMD (by basically hard coding the servername) and possibly Powershell.

tell me if they have been successful just using standard jobs and querying against multiple servers?

If I can't save the results to a 'central' database/table (I can do this when in SSMS), but can still query against multiple servers I was thinking I could write the results to a CSV file that a SSIS job picks up.

I have attempted using SSIS to iterate through servers and have been plagued with intermittent connection issues when using a For...Loop container.

View 1 Replies View Related

Linking SQL Server 2000 Servers In Express 2005

Jun 5, 2006

Hello,

I was wondering whether it is possible to query linked servers in SQL Server Management Studio Express 2005 if those servers linked to are SQL Server 2000 machines?

I have added some linked servers to express and queried them, however the login timeout is expiring. I thought it might be because of an incompatability.

Cheers,
Damien.

View 1 Replies View Related

Creating A Database From Multiple Databases Accross Multiple Servers

Sep 13, 2007

Hi,

I'm trying to create a database that takes specific information from a number of databases on different servers to make some reporting that we have much easier.

I'm pretty new to SQL so I'm not sure of the best way to proceed. I read an article that suggested I use the OPENROWSET command. The problem is, the version of SQL that came with one of the programmes we use is limited and will not allow you to turn on the allow "Ad Hoc distributed Queries" so the SLQ statement will not execute.

I'm confused why it won't let me to connect through ODBC as I've created a web page that selects data from this database with no problems!

Here is the SQL statement that I've written to make sure it is the correct one (on the msdn library page it said that this was the ODBC connection):

SELECT a.*
FROM OPENROWSET('MSDASQL','DRIVER=(SQL Server);SERVER=APPOLOACT7;UID=sa;PWD=***************',
'SELECT * FROM MDCTestAndDev.dbo.TBL_CONTACT') AS a



I've also created the ODBC connection using the tool on Administration Tools>Data Sources ODBC

Any help would be greatly appreciated (also any ways of selecting from one database and inserting it into another will be helpfull)

Thanks

View 8 Replies View Related

How To Connect To My Sql Server Express

Feb 20, 2006

1, I have installed VWD express,sql server 2005 express.I also install management studio and adventureswork db.In the management studio I can able to connect and view adventurework db.
But I can't manage to make a connection string to my db server when connecting to management studio server name is "KAMRANSHAHIDSQLEXPRESS".I wants a connection string with respect to this server.
2,Is there new database for pubs and northwind for sql server 2005.Or they are of old sql server 2000.
I have installed sample databases but can't find script for pubs and northwind nor dit it install automatically.
I wan't to use forums.asp.net asp.net tutorial's sample.
What Can I do.

View 3 Replies View Related

Connect VB Express To SQL Server

Dec 13, 2007

VB Express seems to allow me to connect to a Database File using the data connection wizard but what do I do if I want to connect to an Instance of SQL Server?

Thanks in advance

Alex

View 5 Replies View Related

Using Evb To Connect With Sql Server Express

Dec 16, 2007



hi, i wanted to start develop a mobile application using evb (emvedded visual basic 3.0) using sql express 2005.
am i able to do so ? what is the connecting string to connect to sql express 2005 in evb ? it seen to be different connection string using visual basic 6.0 ? please assist... TQ

View 5 Replies View Related

Connect To SQL Server Express

Jul 13, 2007



Hi,

I have a problem when i try to connect to a remote database. I have tried with both these connectionstrings:



connstring = @"Data Source=DELLOPTIPLEXSQLEXPRESS;Connect Timeout=30;User Instance=False;initial catalog=Test;Integrated Security=SSPI;Persist Security Info=False";

and

connstring = @"Data Source=DELLOPTIPLEXSQLEXPRESS;Database=TEST;Trusted_Connection=True";



But when I try to open the database with this connectionstring I get this errormessage:



"Login failed for user 'DELLOPTIPLEXGäst'."



It seems that I cant login to the database or...? I have set up SQL Express to allow remote connections.



Thanks for all help.



Jan Olsson

View 3 Replies View Related

Connect To Sql Server Express

May 2, 2006

Hi,

I cannot connect to the sql server express, and i recieve an alert which says:

TITLE: Connect to Server
------------------------------

Cannot connect to Sql Server (SQLEXPRESS).

------------------------------
ADDITIONAL INFORMATION:

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

Hope you can help me....


View 11 Replies View Related

Connect To Different Servers Via SQL?

Jan 24, 2008

Hi everyone I was wondering whether it was possible to connect to another server within SQL?

The scenario:
- There are 2 servers that need to communicate to each other as Data needs to be in sync with each other.
- Server 1 receives a command.
- I need an SQL Statement to connect to server 2. Is this possible using variables @Connection?

I have a TRIGGER that detects any changes in my Table... if anything is INSERTED or UPDATED a TRIGGER is called to deal with that and sync my necessary tables. I need to connect to Server 2 and basically do the same operations if possible?

I would be happy to provide further information on the matter if required. Thanks, Onam

================================================================
In all I need to know if its possible to connect to another server on the network.
================================================================

View 7 Replies View Related

Multiple FTP Tasks That Connect To Same Server At Same Time Error

Apr 2, 2007

I have this job that download 4 files once a month from the same server. The files are sizable and I need to download them in less than 5 hours total. In 2000 I use an active x script to generate the ftp script then execute the script. all four files download at the same time in 4 different tasks with no issues.

I am rewrote the process in 2005 so that it uses the IS FTP function but when all 4 ftp tasks kick off they all fail... instantly. the initially shared the same FTP connection manager so I created different ones for each and still the same result

the error is one that relates to changing directories.... Now if I just run one of the tasks it runs fine it is just when more than one try to run at once. I ended up putting in 10 second delays between each ftp task kicking off and it works just fine...



Does this sound like a bug??



Also... I am on SQL 2005 Enterprise SP1 on Windows 2003 enterprise SP1.



View 3 Replies View Related

I Can't Connect To My Local Sql Server Express Db. Please Help

Nov 26, 2007

Hello, I need help to connect to my local sql express db in visual studio 2003 in vb.It currently works with the production db information and I need to test a few things, So i'd like to point it to the local db.It works this way:Const CONN_STRING = "server=johndoe;user id=john;password=doe;database=johnd"Dim conn As SqlConnection = New SqlConnection(Me.CONN_STRING)conn.Open()I want to point it to my local db and it doesn't connect.        Dim connectionString As String = "Data Source={myusernameSQLEXPRESS};Initial Catalog=johnd;Trusted_Connection=yes"        Dim conn As SqlConnection = New SqlConnection(connectionString)        Try            conn.Open()        Catch ex As Exception            Response.Write(ex.ToString())        End Tryand even that doesn't work.When i go to my sql server 2005, it saysMYUSERNAMESQLEXPRESS (SQL SERVER 9.0.3042 - theworknetworkmyusernamewhat am i doing wrong ?Thanks. 

View 7 Replies View Related

Can Not Connect To SQL Server Express After Installation

Jan 13, 2008

 Hi everyone I have some problems with SQL server. I just installed the SQL Server 2005 express edition on my computer. And after installation, i cannot connect to it. I don't have any firewalls on my computer, and in the installation I have chosen to be able to log in with both (windows authentification or sql authentification). Both authentifications doesn't work when I tried to log in The following is the error I get :"Cannot connect to localhost. An error has occurred while establishing a connection to the server. When connecting to SQL server 2005, this failure may be caused byt he fact that under the default settings SQL server does not allow remote connections."Can somebody please help me ?
 

View 3 Replies View Related

Can't Connect To SQL Server(SQL Express) In VS 2005

Feb 9, 2007

In SQL Server Configuration Manager I apparently have a server namedSQL Server(SQL Express) running - however, in VS 2005 when I try to'add connection' (right click in server explorer) I cant see it- Iwould like to see it so I can create a new SQL server database.Any help much appreciated- trying to learn web programming usingvb.net, asp, html, vbscript and SQL server.D

View 2 Replies View Related

Can't Connect To SQL Server 2005 Express

May 9, 2007

PLEASE HELP ME



I ran the upsize wizard on one of my databases to SQL Server 2005 Express. I can connect to it just fine. I have 3 test users and they cannot. They get the following:

Connection failed:

SQL State: '01000'

SQL Server Error: 11004

[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen (Connt()).

Connection failed:

SQL State: '08001'

SQL Server Error: 6

[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL server not found.



I tried adding the SQL Server to 1 users System DSN, but I got this message:

Connection failed:

SQL State: '01000'

SQL Server Error: 53

[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connt()).

Connection failed:

SQL State: '08001'

SQL Server Error: 17

[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.



What am I doing wrong???

View 3 Replies View Related

Unable To Connect To SQL Server Express Using SA

May 7, 2007

just installed a new machine with windows 2003 server and SQL SERVER EXPRESS; I am able to connect to the SQL Server using my windows credentials however I am unable to log on to it using 'sa' (and no password) user; i get the following error message.


2007-05-07 15:42:12.32 Logon Error: 18456, Severity: 14, State: 7.
2007-05-07 15:42:12.32 Logon Login failed for user 'sa'. [CLIENT: <local machine>]




would really appreciate any help... thanks

View 1 Replies View Related

Cannot Connect Locally To SQL Server Express

Aug 23, 2006

Hi,

I'm trying to connect to a SQL Server 2005 express on my local Windows
XP Professional machine. I've searched the the MS fora and Google
but all the answers I find relate to trying to connect to a remote DB,
not local.



I run the aspnet_regsql.exe program in the interactive wizard mode, and
in the Select the Server and Database step when I click on the Database
drop-down list an error box pops up:



Connection failed

Failed to query a list of database names from the SQL server.

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: Named Pipes Provider, error: 40 -
Could not open a connection to SQL Server)



Exactly the same error message appears when I:

* Change the 'Server' name from my computer's name to localhost, 127.0.0.1, or SQLEXPRESS. in the aspnet_regsql wizard.

* Stop my firewall (ZoneAlarm, native Windows firewall is disabled, and I switched off my cable modem at the time).

* Use the SQL Server surface area utility to enable remote connections
with both named pipes and TCP/IP), and also to enable CLR integration
in the Features section.

* Stop the SQL Server service. I did this to see if a different
error occurred, but it's as if aspnet_regsql.exe can't even see the SQL
Server.

* Have an additional instance of SQL Server running under my own username (see below).





I have an ASP.NET project (created by someone else on another computer) which attempts
to open a SQL Server database. It runs fine until the call to
System.Data.SqlClient.SqlConnection::Open() which raises an exception
with exactly the same error string as above (including what's in
parentheses). The connection string is "Data
Source=localhost;Initial Catalog=blah;Integrated Security=SSPI;" where
blah is specific to the company I'm doing this for.



I've created a test ASP.NET project to which I added a SQL
Database. My only option was to create a .mdf file in the
APP_DATA folder. The connection string is "Data
Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|Database.mdf;Integrated
Security=True;User Instance=True" and it works fine and displays the
data I've put into the database, but in the Task Manager another
instance of sqlservr.exe appears (running under my username; the
existing sqlservr.exe runs under the NETWORK SERVICE username).
Should this happen??



If I stop the SQL Server service (or both of them), an error message in my web browser
appears (no exception is raised because there's no code in the project,
just a data-bound control). The error is the same as above,
except the parenthetical part is "(provider: SQL Network Interfaces,
error: 26 - Error Locating Server/Instance Specified)".



Edit: oh yeah, I've also tried to set up an ODBC data source connected
to SQL Server throught the Control Panel/Admin, but the ODBC applet
can't seem to see SQL Server either.  I only get three options for
data sources: dBASE files (.dbf), Excel files (.xls), and MS Access
Database (.mdb).  If I click on 'Add' and select "SQL Server" and
go on from there, it comes back and says the server doesn't exist or
refuses access.  If I stop the service, the ODBC applet says the
sql server wasn't found.



Can anyone help please?

I'm stumped..

View 8 Replies View Related

Use VPN To Connect Remotely To SQL Express Server

Dec 15, 2006

Hello,

I'm using a Windows XP Home laptop to connect to a network of one of my customers. The administrator of the customer has given me a username and password for a VPN connection. I've got the VPN connection working and I can ping the SQL Express server.

This server is using Windows Authentication. For the users of my VB application we have added a group to the Active Directory and added this group as a user to the SQL Express Server. This works and the users can access the database from within the application. The SQL Express Server allows remote connections and the browser service is also running.

I would like to use the SQL management Studio Express on my laptop to access the remote SQL Express server and manage the database files. To do this I first connect to the remote LAN using VPN and add the address of the SQL EXpress server in the field 'Server name' of the 'Connect to server' screen. The authentication field is set to Windows Authentication. However the username is greyed out and states the login for the SQL Express server on my laptop: laptopusername. How can I correct this?

I don't know whether the username of the VPN connection is in the Active Directory. Should this be the case and should this user also be added to the login/user of the SQL Express server? And how do I get the Management Studio to connect to the remote server? Could XP Home be the bottleneck as it cannot logon to a domain?

Anyone any ideas?

















View 2 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







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