VB Program Connecting To Remote SQL Server

Sep 25, 2007



Hi,

I've written a piece of database software in Visual Basic (Visual Studio 2005) to use in my office. My office has networked computers all connected to a server (windows server 2003). I have an old-ish version of SQL server on the server computer (version 7). The software works perfectly within the office environment - each computer on the network connects to the SQL server on the server computer and works very efficiently.

I now want to be able to access the database from home by running the software on my home PC. I want the software to somehow connect to SQL server in the office over the internet. Having read many of the threads about remote SQL server connections, I feel totally out of my depth. I vaguely understand that SQL server needs to be somehow configured to receive connections from the 'outside world'. I don't know how to do this. I also don't know what I need to do on the Windows server to allow this to work. I thought I might be able to use the computer's IP address in the connection string, but using IPconfig on the server I only get network IP addresses - the server may be behind a router... How do I get the proper internet address? Once I've set up the server side to work with remote connections, how do I get my software to communicate with that server? Do I just need to change the connection string and that's it? What would the format of the connection string be?

I'm very sorry for asking so many questions in one go! I have ended up a bit frustrated after reading many threads and articles about SQL remote connections - it's all rather advanced and don't understand most of it!

Thank you very much in advance for any help you can provide.

Sam

View 1 Replies


ADVERTISEMENT

Connecting To SQL Server 2000 Via VB6 Program On Vista

Jul 18, 2007

I am having difficulty connecting to SQL Server 2000 on one of ourservers via a VB6 program on Vista. I can connect fine to a differentserver, but it gives me the following error with the server inquestion:"Unable to connect to database. Please check your internet connectionError# -2147467259[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist oraccess denied"Using the program, I am able to access the database just fine whilerunning on Windows XP, but when I run the program on Vista, it givesme that error message for that server. If I change the connectionstring to a different server address, it works fine on Vista. Whatdifferences in the servers might cause this?Here is my connection string:"driver={SQL Server};Server=ipaddress;Uid=userID;Pwd=pwd;databa se=db"

View 7 Replies View Related

Connecting Remote Sql Server For Asp.net 2.0

Nov 6, 2006

Hi all,
I have an application in asp.net 2.0 and iam trying to connect database which is in remote server(Sql server 2000).But  iam getting error as follows:
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)
i know this is because asp.net 2.0 try to connect sql serverexpress by default.i have removed sql server express from my machine,Still iam getting the same error..any body have an idea how to solve this ... 
regards
anitha
 

View 1 Replies View Related

Need Help With Connecting To Remote Sql Server

Dec 12, 2003

I need to connect to a remote sql server. this is the information i have:

IP address: http://222.224.222
database name: db1
uid: exampleuser
pwd: examplepwd

what would be my connection string? here is my connection string that didn't work
"Server=http://222.224.222;Database=XyberToursSQL;Uid=exampleuser;Pwd=examplepwd;"
i get a invalid connection error

Do i need to do anything at the sql server end?

any help would be appreciated

thanks

john

View 2 Replies View Related

Connecting To A Remote Sql Server

Sep 15, 2005

Hi,

I have a web application installed on a server. I want to connect to a
remote database server. I have access to both the servers, I can assign
any user privileges or settings that are needed. How do I do this? I
tried it the usual way, specifying the conn string and opening the
conn, and expectedly it throwed an sql server does not exists error.

Thanks.

View 4 Replies View Related

Connecting To Some Remote Sql Server

Jan 10, 2007

Hi

I've got a desktop and a notebook and both are connected to the router. On both I've got Sql Server Express and Sql Server Management Studio Express installed. I need to connect to a remote Sql Server (using user ID and password) which works fine on my desktop, but fails on my notebook: Error:0 and Error: 10060.

I checked all router settings and notebook settings, but I don't know what I am doing wrong. I got myself another notebook and installed Sql Server Express plus Management Studio, which did not work either.

Hopefully someone can help.

Thank you.

View 3 Replies View Related

Connecting To Remote SQL Server

Sep 14, 2006

I have recently taken over as webmaster at my company and need help connecting to our remotely hosted SQL server. The company who is hosting it will charge me "support time" to explain how to connect to it.

The database is used to store data and application information for our customer service center. So it is ALL database driven...

i have installed SQL Server Enterprise Manager on my machine, but have no ideas on where to even being trying to connect. I have the name of the server, password....etc. But do not know where to configure a connection.

ALSO, when i install my Enterprise Manager the first options askes me whether i want to create a new instance of SQL server on a local or remote machine....i am guessing my local machine right...??

any insight or direction is greatly appreciated.

tony.

View 4 Replies View Related

Connecting To A Remote Sql Server Problem..

Nov 10, 2006

i have sql server 2000 running on a windows server 2003 machine but have my web application on another windows xp machinei'm getting access denied  from the client machine.... the 2 computers are connected by workgroup..  anyone can tell me how and what i need to do to connect to the sql server thanks  

View 2 Replies View Related

Problems Connecting To DB On A Remote Server

Nov 22, 2006

Hello
I wrote a web app (vb.net) with mssql 2005 express edition DB.
I created a vs2005 setup project and added it to my app solution.
On my local computer it works fine (using IIS 5.1).
Now, I'm trying to deploy the app on a remote server (with mssql 2005 express edition installed) but when I try to run my app via the remote server's IIS, I get this Error message:
ERROR: Could not connect to database.
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).
My app connectionstring looks like that:
<connectionStrings>
<add name="SiteSqlServer" connectionString="Data Source=localhost;AttachDbFilename=C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataMaxinet.mdf;Integrated Security=True;User Instance=False"
providerName="System.Data.SqlClient" />
<add name="MaxinetConnectionString" connectionString="Data Source=localhost;AttachDbFilename=C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataMaxinet.mdf;Integrated Security=True;User Instance=False"
providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="SiteSqlServer" value="Data Source=localhost;AttachDbFilename=C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataMaxinet.mdf;Integrated Security=True;User Instance=False"></add>
Can anybody tell me what I'm doing wrong and how to fix it

View 3 Replies View Related

Connecting To A Remote Sql Server Problems, Please Help

Mar 26, 2007

I am currently developing a 2.0 asp.net application from my home pc (Windows XP) and am trying to connect to a sql server on my host. This works fine at work but at home I just get the following error message:
 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)
Any ideas, i have even tried disabling my firewall to see if that made a difference.
Your help is much appreciated.

View 2 Replies View Related

Problem With Connecting To Remote Sql Server

Jul 2, 2007

Hi guys ,I connect to internet using a proxy for example   122.158.190.5 : 8080 Most software read it from IE setting and in some cases I have to enter this proxy setting manually so that software can connect to the internet . I want to connect to a remote server using "SQL Server Management Studio"  but it doesn't connect. And I couldn't find any proxy setting . How can I set this proxy setting ?And also I need to connect with may asp.net program  to that remote server  from my local computer how can I set this one ? Thank you in advance .
 

View 1 Replies View Related

Connecting A Web Site To A Remote SQL Server

Feb 11, 2006

Hello everybody!
Can anyone tell me what steps i should follow in order to get my web site (which is hosted with a  web host in ireland) to connect to yet another server (different country) where SQL Server 2005 will be running?
Thank you! - Callam

View 1 Replies View Related

Connecting To Remote SQL Server Over TCP/IP Using ODBC

Mar 27, 2001

I was wondering if anyone knows how to connect with SQL Server over TCP/IP using ODBC

I tried using the IP address or domain name of the remote machine, but I get the following error:

Microsoft SQL Server ODBC Driver Version 03.70.0690

Running connectivity tests...

Attempting connection
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]General network error. Check your network documentation.

TESTS FAILED!

Thanks in advance
Mohamed

View 1 Replies View Related

Help Connecting To Remote Server With SSMSE

May 2, 2008

Hey guys, I am new to the SQL server scene and I am having some trouble connecting to a remote SQL Server with SQL Server Management Studio Express. I have the username, password, IP address, and port necessary to log in but am apparently not plugging them into the correct places. Can anyone at all point me in the right direction or somewhere that I might at least find the answer? I appreciate any help that can be provided.

Thanks a bunch,

Gary

View 4 Replies View Related

Error When Connecting The Remote Sql Server

Oct 4, 2007

Hi..

I have been assigned to make a database in some remote machine.The machine has MSSQL 2005.I need to connect to that remote machine's sql server via my pc using my SQL Management express.I do have that computer's IP address(say,123.456.789.000),and the username and password.But when i try to connect to the server ,I get the following error:


Cannot connect to 123.456.789.000sqlexpress


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 unser the default settings SQL server does not allow remote connections,(provider: SQL Network Interfaces,error:26-Error Locating Server/Instance specified)(Microsoft SQL Server)


I am a new programmer and dont know much.But i guess the problem is not in my server but in that server to which i am trying to connect.I guess that server has some instance created or it does not allow remote connections.But i am not sure.Is it so?Or is anything wrong in my server.Any ideas?


Thanks

View 12 Replies View Related

Connecting To Remote SQL Server 2005

Jun 17, 2007



I have set up a SQL Server 2005 to use for testing before moving to another production server. The server works fine when I connect to it with a program on the same computer but not when accessed remotely.



I have set it to to allow remote connections and use TCP IP only and have opened TCP port 1433 on the Windows XP firewall and am using the Teredo service on Port UDP 3544 Also the Server Browser service is running. The server is connected directly to the internet on a static IP (eg. 67.156.18.167) I have set the server to Windows authentication.



When I try to connect to the database from a data grid in Visual Studio on another computer it fails.



I am pretty surethat the problem is that I am not giving the correct information when asked to fill in the information for the data source to find the server as I am new to remote connections in SQL Server.

Thanks for any insight

View 13 Replies View Related

Not Connecting To A Remote SQL Server With OLEDB

Jul 13, 2006

Hi,

I can connect to a remote SQL server with ADO.NET but not with OLEDB.

I get

------------------------------

Test connection failed because of an error in initializing provider. Login timeout expired
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.
Named Pipes Provider: Could not open a connection to SQL Server [233].

------------------------------

Through the SQL Server Connection Manager, if I disable Named Pipes and enable TCP/IP, I get for OLEDB connection:

------------------------------

Test connection failed because of an error in initializing provider. Unable to complete login process due to delay in opening server connection

------------------------------
with Connection  and General Timeout are both 0.
Appreciate the help

Gulden

View 6 Replies View Related

Connecting To Remote Sql Server 2005

Jun 14, 2007

Dear All,

I am quite new to sql server 2005. Now I am going to develop a new asp.net application connecting to sql server 2005 remotely. So what must I have install in order to connect to a remote sql server and also to enable me build the tables too? What are the softwares that I need to install before I can proceed on this ? If possible I wnat to avoiding installing the whole server into my local machine as I dont need it. Thanks.

View 10 Replies View Related

Connecting To SQL Server 2005 - Not Allow Remote Connections

Nov 23, 2006

I use ASP.NET 2.0 and VS.NET 2005.
I have the following expression in my code:
string connectionString = "server='localhost'; user id='sa'; password=''; Database='Northwind'";
 When I executed the code I have the following error message:
"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)."
The Microsoft Access was successfully connected in the Server Explorer window.
How do I solve this problem?
Thanks,
Andy.

View 3 Replies View Related

Problems Connecting To Remote SQL Server 2005

Jan 4, 2007

I'm using Visual Studio 2005 Pro and am attempting to connect to a remote SQL Server 2005. I have the server name, SQL login credentials, and database name. However, when I try connecting I get this 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)" 
I know that remote access is enabled because I received the connection instructions directly from the database administrator. I've tried turning off my firewall. I've tried connecting with Data source: Microsoft SQL Server using both Data providers: ".NET Framework Data Provider for SQL Server" and ".NET Framework Data Provider for OLE DB". Nothing seems to work.
Any suggestions for what I may be doing wrong? Do I have to have certain software installed on my computer to make this work (other that VS2005)?
-Mathminded

View 10 Replies View Related

Issue Connecting To A Remote SQL Server 2000

Mar 11, 2007

I get the following error message in quotes. I have a web application written in ASP.NET 2.0 through which I am trying to connect to a remote SQL Server 2000. My operating system is Windows Vista .
I looked at many different sites to find a solution for this but without any luck. I am sure someone would have seen this issue here and I expect them to shed some light. 
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).
The connection string is located in my web.config file which looks like
 <add name="AMSConn" connectionString="Data Source=xxxx;Initial Catalog=testdb;User ID=sa;Password=xxxx" providerName="System.Data.SqlClient" />
I want to get this issue resolved and I need you guys help.
Please let me know if you need any more information.
Thanks
Bharat 
 

View 3 Replies View Related

Problem While Connecting To A Remote SQL Server Through VS.NET1.1

Mar 26, 2007

Hi All..
I am having a problem while connecting to a remote sql server through VS.NET 1.1 , an asp.net application. It says :"SQL Server does not exist or access denied".
I have connected to the same server from my home using the same connection string through an asp.net 1.1 app.. So it cant b a prob with Server permissions. I can connect to the same server frm my office through  asp.net2.0 app.. So its got nothing to do with office permissions.
I need this connection from my office from asp.net1.1 app 2 debug n find solution for a bug as im unable to simulate it here.
Will this be smth to do with .net installation, some security enabled in vs.net.. I have no idea.. Please help me at the earliest..
 Thanks in advance..
aLLEN

View 1 Replies View Related

Error Connecting To Remote SQL Server 2000 From ASP.NET 2.0

Jul 11, 2007

My environment is Windows Server2003, ASP.NET 2.0, SQL Server 2000 using SQL authentication (names of DB's, sql id's, passwords are identical on both servers)
My web application successfully connects to my database  the web app and the DB are both on the same server (10.144.25.9).This connection string works:
<add name="DefaultDataTierConnectionA" connectionString="Data Source=10.144.25.9,1433; Network Library=DBMSSOCN; Initial Catalog=9D_SQL; User ID=******; Password=******" providerName="System.Data.SqlClient"/>
PROBLEM:
The problem occurs when the DB is mpved to the remote  SQL Server (10.144.25.10). I use almost the identical connection string except for the IP address which is changed to the remote machine. The db name, user, password is same on remote machine as on the local, so everything should work but does'nt. This connection string fails:
 <add name="DefaultDataTierConnectionA" connectionString="Data Source=10.144.25.10,1433; Network Library=DBMSSOCN; Initial Catalog=9D_SQL; User ID=******; Password=******" providerName="System.Data.SqlClient"/>
error (odd error in that I'm connecting to SQL 2000?)  -
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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: 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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
There is no DBA on this project, I'm not sure this is a SQL Server set up problem?  
 
 

View 1 Replies View Related

Error Connecting To Remote SQL 2000 Server

Dec 20, 2007

I'm experiencing a problem connecting to a SQL 2000 server through my ASP code.  My connection string is as follows:
<add name="TheConnectionString" connectionString="driver={Sql Server};provider=MSDASQL;server=10.0.1.42;database=dbname;uid=*********;pwd=*********" providerName="System.Data.Odbc" />
The problem doesn't occur when I run my ASP code from my workstation using VS.NET's builtin webserver.  It makes the connections and executes the CRUD commands successfully.  However, when I publish my site to the webserver (which resides on 10.0.1.16) it fails out with the following error:
System.Data.Odbc.OdbcException: ERROR [08001] [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.ERROR [01000] [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).
I've verified that the webserver can talk to the DB server by connecting to the remote DB server through SQL Enterprise Manager running locally on the webserver.  If I try to do this with a DSN I get the same results.  I get the same error from any other webserver on the internal network.  The difference between my workstation and the internal network is that I'm using a VPN to connect to our internal network while the webservers are physically connected to it.  Firewalling isn't the issue in this case because the webservers and DB server are on a trusted network.  I've seen other ways of connecting to the DB server including using Named Pipes (which I would rather not do because I don't want to setup a named pipe on the production db server).
I'm relatively new to ASP.NET 2.0, so the above connection string is an adaptation of some old ASP code.  If anybody has any suggestions on a better way to construct this connection string, please let me know.  I've been racking my brains trying to get this to work outside of the devel env.

View 4 Replies View Related

Connecting To A Remote Server, Sql Express 2005

Jan 7, 2008

Hi. Im trying to get a asp.net web aplication to write data to an sql express server located on another server. However when i try to connect with VS 2008 it says: "Named pipes provider, error 40: - Could not open a connection to SQL server".
What do i need to do to get this to work. Do i have to set something in the sql server, and i assume i have to open some ports in my firewall aswell?
Any help sugestions would be aprichiated

View 1 Replies View Related

Connecting To SQL Server 2005 From A Remote Machine

Jan 24, 2006

I'm trying to connect to a sql server machine from another machine on the network and I'm getting this 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)"
More information about the machines:
All machines are on the same private netwrok, all in the same workgroup.
Machine1: this is the DB server, Win 2003 server, it has SQL 2005 developer edition, .Net runtime 2.0.
Machine2: trying to connect to machine 1, Win 2003 server, .Net runtime 2.0
On the DB server, TCP/IP is enabled with port 1433, also named pipes are enabled.
I checked the ERRORLOG and it says it's ready for connections and it's listening...Also there are no firewalls between the machines, I also added the sql server service .exe and the sql explorere .exe to the windows firewall exceptions on the DB server (although it's disabled)...
I'm not sure what else to do, I checked all sources online, applied anything related to this issue but not luck. This has wasted 3 hours of my time, this was a task that wouldn't take you a minute in older versions!! , Microsoft thinks it's making our life easier but in fact, I spend more time now on trouble shooting than before...
Let me know if you have a solution..
thanks,
Tamer

View 1 Replies View Related

Query Analyser Goes Away While Connecting To A Remote Server

Feb 23, 2005

the sql serve on my machine can connect to a database existing on a server on the network, and i can see the tables and everything for this database. but once i choose sql query analyser from the menu it hangs (goes away) and the cursor changes to hour glass.

any help please.

View 1 Replies View Related

Connecting To Remote SQL Server - Time Out Expired?

Mar 23, 2006

Hello

Im connecting to a remote SQL Server in Enterprise Manager Via VPN,

we checked the connection and everything but still o cant connect

to the remote server, Error message says "Time Out Expired",

we checked the firewall config, ADSL connection and it's all Ok


what seems to be the problem here??

View 1 Replies View Related

Connecting On One Remote Computer But Not The Other On Sql Server 2005

Feb 15, 2007

I am unable to connect to a remote server on Computer A from Computer B, but when I reverse it I am able to connect to a remote server on computer B from computer A. I have SQL Server 2005 Developer Edition on both computers. I am using the using the SQL Management Studio to connect. Both Computers have these settings

Using Surface Area Configuration both have local and remote connections checked. Both computers using tcp/ip only checked.

Using Configuration Manager both the sql server and the sql browser are running. Both computers have tcp/ip protocols enabled.

Under the server properties on both computers, under the Security Tab, I have SQL Server and Windows Authentication Mode checked. Under the Connections tab I have Allow remote connections on this server checked.

I believe I have the Security for both the server and databases done properly giving them both proper Logins and User Roles with the proper permission.

Also went to my window firewall settings and under the Exceptions tab, I added both the sql server.exe and sql browser.exe programs on both computers on my remote network.

But when I connect on Computer B, I get an error message stating:

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

Cannot connect to 'ServerName'

------------------------------
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: 233)

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

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

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



I tried pinging server a and then server b and they both pinged.



Could someone please tell me what could be wrong on my remote computers.

View 6 Replies View Related

Horrible Performance Connecting To A Remote Sql Server...how Can I Fix It?

Apr 11, 2007

Hello, I have a sql server installed on a server in my server room.



The problem I have is that when I try to connect to the server, it takes a loooooooooong time to open the connection. Even when connecting through the Sql Server Management Studio it takes about 30 seconds just to open the connection.



Can anybody help me with some pointers on how to troubleshoot this issue? It only happens with this specific server



It might be a configuration issue, but where can I find information on how to configure it correctly?

View 2 Replies View Related

Error 26 Connecting To Remote SQL Server Instance

Jan 17, 2008

I am attempting something that I have done many times before; however, in this instance it continues to fail.


I am trying to connect Management Studio to an instance of SQL Server 2005 Express over a VPN. The Management Studio connect dialog always fails with Error 26.


I have:

Enabled the instance for remote connections €“ both TCP/IP and Named Pipes

Ensured that the instance is enabled for TCP/IP on the VPN address (10.2.1.1) and on port 1433

Ensured that the instance is running

Ensured that SQL Browser is running

Ensured that ports 1433 (TCP) and 1434 (UDP) are open on the firewall for inbound traffic

Rebooted the server following this configuration to ensure that the instance services are refreshed

Tried to connect from three separate clients (albeit on the same remote network)

Disabled the firewall to ensure no further complications (as a last resort)

I have this exact same setup functioning on a separate server.


There is an additional backstory to this problem; however, I will not complicate the scenario with it now. If you feel you can help then I can elaborate further on the server€™s history.


Thanks


James

View 3 Replies View Related

Problem Connecting To Remote Integration Services Server

Jul 6, 2007

Hi all,

I am having trouble connecting to our remote Integration Services Server via SQL Server Management Studio.

Initially, there was an "Access Denied" error when trying to register the remote SSIS Server in Management Studio. However, I followed the steps in this article to give my user account the DCOM permissions:
http://msdn2.microsoft.com/en-us/library/aa337083.aspx
I also tried the extra steps mentioned in this post:
http://www.ssistalk.com/2007/04/13/ssis-access-is-denied-when-connection-to-remote-ssis-service/

Now it lets me register the server in Management Studio. However, any attempt to browse the packages or anything in Object Explorer leads to this error:


The SQL server specified in SSIS service configuration is not present or is not available. This might occur when there is no default instance of SQL Server on the computer. For more information, see the topic "Configuring the Integration Services Service" in Server 2005 Books Online.

Login failed for user '[MyDomain][MyName]'. (MsDtsSrvr)
Our remote SQL Server is the default instance, and so there is no need to alter the "MsDtsSrvr.ini.xml" file as detailed in that Books Online topic.

Any ideas?

Many Thanks,

Richard F

View 7 Replies View Related

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.

Jan 22, 2008

My site works fine in VWD2008 express, but I get this error when I try to use it on my live website.
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. 
According to this article: http://support.microsoft.com/kb/914277  I am supposed to:




1.
Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Surface Area Configuration.
Ok, there is no such program in this folder.  The only thing in there is "SQL Server Error and Usage Reporting"...
 The other thing I am greatly concerned with is this:  All is want is for my webpages to be able to access my database for user authentication.  I DO NOT want to grant the internet rights to remote connect to my database.
 
 
 
 

View 4 Replies View Related







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