Allowing Secure Connections To SQL Server 2000 Through A Firewall

Aug 25, 2006

Hello,

My question is about allowing and securing connections to SQL Server 2000 over the internet. The company that I work for has an application server that several of our clients connect to via the internet using secure .NET remoting. Basically, the clients have a desktop application that they run that creates a remoting connection to our server software and we handle the server/database part. Anyway, one of our clients now wants to use Crystal Reports to run ad hoc queries on their data that is hosted on our SQL 2000 database server behind our firewall. Obviously, opening up a port in our firewall and allowing someone to run ad hoc queries on the database makes us all more than a little nervous about security.

Has anyone else here had to deal with this sort of situation before? We'd like to set up a secure, encrypted connection for this one client, but still keep it locked down for everyone else. Is it as simple as enabling encryption and generating SSL certificates for the client machine and our server? I've only been able to find a few resources that help with bits and pieces of the problem, never anything tackling the issue as a whole. If anyone has any thoughts, experiences, links, etc. to share it would be greatly appreciated. We are a small company and no one here has experience with this sort of thing.

Cheers!
Justin

View 4 Replies


ADVERTISEMENT

Allowing Remote Connections

Apr 18, 2008

Hi All,

I installed full version of SqlServer 2005. Iam able to Connect to all the systems that are in Intranet. But iam not able to Connect to the external systems (or) remote Connections. I followed all the steps that are in the following URL support.microsoft.com/kb/914277
Still iam getting the problem. Show me a way in this issue.


Thanks&Regards,
SrinivasReddy

View 3 Replies View Related

Not Allowing Remote Connections

Mar 3, 2007

TITLE: Connect to Database Engine
------------------------------

Cannot connect to FRI-0503SQLEXPRESS.

------------------------------
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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)

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

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

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


I have recieved this error and i have changed the surface area configuration to allow remote connections but it still won't allow them after i start and restart the server service. is there any way to fix this i have reinstalled several times and that has not yet fixed the problem either.

View 5 Replies View Related

Not Allowing Remote Connections

Mar 3, 2007

TITLE: Connect to Database Engine
------------------------------

Cannot connect to FRI-0503SQLEXPRESS.

------------------------------
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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)

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

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

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


this is the error message i get and i don't know how to correct it. i have tried going into surface area configuration and setting it allow remote connections but that hasn't changed anything. i am at a loss for how to correct this situation.

View 1 Replies View Related

Allowing Remote Connections

Apr 18, 2008



Hi All,

I Installed full version of SqlServer 2005. Iam able to connect to all of our systems which are in intranet. But iam not able to connect to external system. I performed all the steps that are mentioned in the following URL support.microsoft.com/kb/914277 . Even then i was not able to connect to the remote systems. I request you to show me a solution to this issue.


Thanks&Regards,

SrinivasReddy.Tadi

View 1 Replies View Related

Allowing Remote Connections During Setup?

Aug 29, 2006

Is there a way to automatically setup SQL Server Express to allow remote connections during the installation process?

We are deploying SQL Server Express with our application and I really can't ask SMB customers to go through a series of rather complicated steps after our "turn key" setup installs everything in order for any of the other computers in their office to connect.

What's the reasoning behind that, anyway? Why create a database server setup which by default doesn't allow anyone except the server to access it? I guess that makes sense for ASP.NET but the web fad isn't the only platform developers use these days.

Any assistance would be greatly appreciated.

Cheers,

Evan

View 1 Replies View Related

SQL Express 2005 Going Idle And Not Allowing Connections.

Feb 20, 2007

Just upgraded to SQL Express 2005 from MSDE for Firehouse. Upgrade went great and the db is accessable and running fine. Except when not used for a while. Then I need to restart the db to allow connections of any kind. If I don't I get an error that the db is not accessable and I can't connect. Everything runs fine after until it goes to "sleep" on me again. We upgraded to make use of the 4GB limit as we were at 1.9GB and MSDE was getting a little unhappy.



Any suggestions? Is this a "feature" and if so, is there a script I can run to kick it into working mode again?



Thanks

Chris

View 1 Replies View Related

Linked Server From SQL 2000 To 2005 Through A Firewall

Oct 16, 2007

Can anyone tell me if there's a recommended way to link from a SQL 2000 SP4 DB through a firewall to SQL 2005? I have tried with SQLOLEDB but this uses NETBios which is not secure. Or is there a way to tell it not to use NETBios?
SET @provdetail = 'DRIVER={SQL SERVER};SERVER=<IP address>;Trusted_connection=Yes'
EXEC Master..sp_addlinkedserver
@server = ,'<IP address>',
@srvproduct = '',
@provider = 'SQLOLEDB',
@provstr = @provdetail ,
@catalog = 'TestDB',
@datasrc ='<IP address>DB1'

View 1 Replies View Related

SQL Server 2000 Server That Is Behind A Firewall

Nov 1, 2006

Hello,I am trying to connect with sql by using following connection string"server='serverIP'; user id='username'; password='xxxxxxx'; database='databasename';"If SQL Server 2000 server that is behind a firewall , I need to change it.Can anyone let me know what should I change in my Connection String.I am using Asp.net 1.x Thanks in Advance 

View 4 Replies View Related

DBC Connections To SQL Server 2000 Fails

Jun 9, 2006

HELP!!!!! HELP!!!!!
SQL Server ODBC connections to virtual server that has SQL Server 2k comes back with a 'Specified SQL Server does not exist'. Can telnet to the server, can ping it as well. THe node is up and running, another virtual instance running from the same node is fine.

What could be the issue here?????

View 3 Replies View Related

SQL Server 2000 Not Closing Connections Help!!

Jan 31, 2008



I am experiencing a strange problem on a new installation of SQL Server 2000, installed on Windows 2003 server. SQL server has been service packed to SP3a

The users connect to the SQL database via an MS Access project front end, when they log out of the front end the SQL server still show them as connected in Management > Current activity > process info. I can kill the processes left behind but i am confused as to why this is happening.

The database was recently moved from an SQL installation on a Windows 2000 server to this new Windows 2003 server, the problem didnt occur on the old server and no upgrades have been applied to the database or the front end since the move, which makes me think something is not right about the install.

Any advice would be gratefully received

Thanks
Nick

View 1 Replies View Related

SQL Server 2000 Enable Remote Connections

Oct 4, 2007

Hi guys
Apologies if this is the wrong place to be posting this but I have posted on a few forums and have not had any usable answers to this question, so I am hoping you guys will be able to help me.
I have 2 servers that are on the same domain. My ASP.NET application is running off the first which has .NET 2.0 installed, and I have an SQL Server 2000 db on the other. Whenever I try to connect I get the following 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)
The connection works when I run the project in VS Development Server on my work computer, but as soon as I upload to the server I get this error.
I have scoured Google but all of the sites I come across are for SQL Server 2005 and are just not suitable for solving the issue on 2000.
Any help would be greatly appreciated as I cannot continue my current project until this issue is resolved.
Hermiod

View 20 Replies View Related

Maximizing User Connections Sql Server 2000 Vs Sql Server 7

Nov 1, 2000

What are the maximum number of user connections achievable for sql server 2000 (w/ win 2000 adv server), and how are they managed - compared with sql server 7.0 (w/ win nt 4.0)? Our group is looking at upgrading our dbase server from sql server 7.0 to sql server 2000.

HELP

Thanks in advance

Gunnar
gunnardl@yahoo.com

View 1 Replies View Related

Can't Use SQL Server With Firewall

Jul 20, 2005

My ISP recently had me reset my TCP/IP stack. After that, Norton PersonalFirewall prompted me twice that SQL Server was trying to access theInternet. Both times I responded to allow it to and to always use thataction. Now I am not able to use SQL Server with NPF enabled. If I disableNPF, SQL Server works fine.I am using the desktop edition of SQL Server 7, on a standalone PC, notconnected to a server. I have been using SQL Server and NPF together forover a year. Now, since my TCP/IP stack was reset, NPF interferes with SQLServer.Anyone have any experience with this?Thanks,Neil

View 3 Replies View Related

Connecting To SQL Server Outside Firewall

Jan 6, 2000

I am trying to connect to SQL Server 7.0 from a web server. The web server is outside our firewall, SQL Server is inside the firewall. I want to use a multiprotocol connection so I can encrypt it. We have port 1433 open on our firewall for TCP/IP from SQL Server. When I connect with just TCP/IP it works. When I switch to multiprotocol it fails with error code 1701. I can connect to the SQL Server box from inside the firewall using multiprotocol.
My theory is that when you use multiprotocol you are using another port than 1433. Is this the answer?

View 1 Replies View Related

Connecting To SQL Server Through Firewall

Aug 3, 2004

I have a simple asp page that queries a database inside our firewall. It works fine from the inside, and only uses port 1433. But if i put it out on our web server it won't connect and tries to use ports 139 and 445. Has anybody ran across this before?

Thanks,

John

View 10 Replies View Related

SQL Server Sercurity Outside The Firewall ...

Jul 20, 2005

Hello,We use Informix and MySQL on linux/unix to drive our web application.SQL*Server is used only for backend enterprise applications within thefirewall. I am trying to get the management to use SQL*Server outside thefirewall. They tell me there are security issues with Microsoft products,including SQL*Server, that make it vulnerable to attacks outside thefirewall. Can someone please point me to white papers/documentation thatsuggests how SQL*Server can be used securely outside the firewall? I thinkif I put SQL*server on it's own box and open it up only to the applicationson our web servers, we should be secure. However, I need hard evidence.Thanks.- Rajesh

View 2 Replies View Related

A Newly Placed ISA Server (2006) Is Not Allowing My IP Phones Register To A Remote Proxy Server Outside My Network

Apr 22, 2008



Hi all,

I am having seriuos problems getting VoIP traffic into and out of my network via the ISA server which we just newly installed.

My network topology is such that the phones i am using for the VoIP service, sitting inside my network and behind the ISA server, have to register to some remote proxy server outside my network and as soon as it registers i can begin using the service. The VoIP service is on the platform of SIP and uses udp ports 5060 and 8080.

I have permitted the necessary ports on the ISA server for the service being UDP port 5060 and 8080 but still cannot get my VoIp traffic through the server.

Please i need some help here as regards something i am supposed to do or something i am not doing right on the ISA server to permit my traffic.

I am a newbie to this Microsoft ISA server and i hope you all understand

Thanks in anticipation to your replies.

Leonard.

View 1 Replies View Related

Firewall Port Forwarding To SQL Server

Apr 25, 2008

Hi,

Is there any concerns or problems with forward a port to SQL server
from our internet firewall so that you can access the databases over the internet? Is it a standard practice to do this in order to remotely access the SQL server. Or is there a better way to do this? Also, if it is ok to do this are any things you need to do to enhance your security from vulnerabilities being open to the internet.

Any suggestions or comments would be appreciated on this subject.

Thanks

View 2 Replies View Related

When Windows Firewall Is ON, SQL Server Does Not Get Connected Thru TCP

Jul 27, 2006

I am using SQL Server 2005 Express + SP1 on a Windows Small Business Server(SBS) box. The SBS is connected to a client thru LAN.

Following are what I gave as IP address and DNS on the server:

IP: 192.168.16.2, subnet mask : 255.255.255.0, Preferred DNS server: 192.168.16.2, Default gateway and Alternate DNS Server blank

On the client, I have,

IP: 192.168.16.4, subnet mask : 255.255.255.0, Preferred DNS server, Default gateway and Alternate DNS Server blank

I can ping and connect to either of the machines.

If I do a sqlcmd -S "tcp:servernameINSTANCE,port", I get the following error message:
HResult 0x80090304, Level 16, State 1
SQL Network Interfaces: The Local Security Authority cannot be contacted

Sqlcmd: Error: Microsoft SQL Native Client : Cannot generate SSPI context

If I do a sqlcmd -S "tcp:192.168.16.2INSTANCE,port", it connects to SQL Server.

I have the Windows Firewall ON. If I Off the firewall, I do not have any problem at all.

I included File and Printer Sharing, sqlsvr.exe in the Exception list of the Windows Firewall.

Any help to solve the issue is appreciated.

Thanks.

View 7 Replies View Related

How-to Expose SQL Server To The Internet From Behind Firewall?

Jun 6, 2007

I cannot seem to find the definitive how-to guide for this. Can anyone point me in the right direction?

I have SQL Server 2005 (x64) already running on Windows 2003 R2 (x64). I'm having difficulty trying to expose it the Internet.

Using the Surface Area Configuration tool I can see that remote connections using TCP/IP is enabled. I also made the machine administrator a member of the SysAdmin role from here too.

In Windows Firewall "SQL Server" and "Web" are already checked as exceptions.

I know that SQL Server uses port 1433 and I also read somewhere that clients connecting to SQL Server communicate on a random port between 1024 and 5000. So, on my router (Netgear WNR854T) I'm forwarding ports 1024 through 5000 to the machine where SQL Server lives.

In my connection string I'm using the IP address of the SQL Server machine with ":1433" appended to the address. Yet I cannot connect to SQL Server. Am I missing anything?

View 9 Replies View Related

Windows Server 2008 - Firewall

Apr 18, 2008



Hello,

I have purchased 4 new boxes for SQL2005 and my var database product all running on the new Windows 2008 server. A lot of silly mind bender issues but I am up and live now. However, what should the firewall settings be on my SQL database box? I have ultimately turned off Windows Firewall so that I could connect and continue forward.

Thanks!

Chris

View 9 Replies View Related

Allowing A Conenction To A SQL Server 2005 Database From Another Computer On A LAN

Mar 8, 2007

I am working with one other person on a VS 2005 vb.net web project that accesses SQL Server 2005.  Both the computers are connected and my partner can run the application on his computer from his VS 2005 but we are getting an error on our first databind to a gridview on the page we are trying to run the error is below
A connection was successfully established with theserver, but then an error occurred during thepre-login handshake.  When connecting to SQL Server2005, this failure may be caused by the fact thatunder the default settings SQL Server does not allowremote connections. (provider: Named Pipes Provider,error: 0 - No process is on the other end of the pipe.)
 
I check the properties of the SQL Server and the check box is checked that says allow remote access.  I am not sure what to do.

View 1 Replies View Related

SQL Server 2005 Not Allowing Connection From Windows Service

May 28, 2008

Hi All,

I have written a windows service using VB.NET that connects to a database and performs several tasks. The service is working correctly and has been fully tested against SQL Server 2000. I have recently moved to SQL Server 2005 and now, the service will not connect to the database.

I have setup and tried several different users, but none work, I get the following message:

Login failed for user 'OEESYSTEMS'

The server instance, username and password I specify are all correct.

The service is running on the same server as SQL Server. I can connect through a web application, and through ODBC. The server is set to use SQL server and windows authentication, and is setup and successfully allows remote connections.

It looks like SQL server sees that a windows service is trying to connect and does not allow it.

For the love of god, can anyone help with this issue.

Thank you.

View 1 Replies View Related

MTS Is Not Talking To Sql Server When There Is Firewall Setup Inbetween

Apr 10, 2001

I have got a MTS Server and SQL server 7 in different boxes. However, MTS only communicates to SQL server when there is no firewall while it doesn't work when there is a firewall between them. Any idea I can solve this problem?

Many thanks.
William

View 2 Replies View Related

Configure SQL Server Express With Windows Firewall

Jun 7, 2006

I have changed SQL Server port to 2433, and add it to exception in Windows Firewall, add executive files as in this KB http://msdn2.microsoft.com/en-us/library/ms175043.aspx

Want to change port of SQL Server Browser as well, but dont know how to :(

anyway, after enable Firewall, SQL server is stop working. How to get it working with Firewall? Also, if some one lets me know how to change port of SQL Server Browser too, it would be great

thanks

View 3 Replies View Related

How Can I Keep My DB Secure On SQL Server

Nov 11, 2005

hi
this is my 1st time on this forum, I need to keep my DB secure on SQL server, that no body can enter into my DB and couldnt see my tables and other elements of DB.

Regards
AHK

View 2 Replies View Related

SQL Tools :: Firewall Blocking Access To 2nd Instance Of Server

Jun 19, 2015

I have trying to access a 2nd SQL Server instances running on my WHS 2011 server from my Windows 8.1 Pro client.

The first SQL Server instance I installed is SQL Server 2014 Developer.  This has been in place for many months and access from my client pc is not a problem.  The Developer instance was installed using standard settings so uses TCP port 1433 and I have verified this by checking the firewall rules. This instance name is <SERVERNAME>

As I want to host a personal website on my server I installed SQL Server 2014 Express as a 2nd instance on my WHS 2011 box for website database purposes.  After this installation both instances are accessible via Management Console on the WHS 2011 box. 

The second instance is named as <SERVERNAME>SQLEXPRESS.

However, I am unable to access the SQLEXPRESS instance using Management Console on my client pc.  I know it is a firewall issue as when I turn off the firewall on the WHS 2011 box I can connect successfully.  The errors reported have resulted in my trying many things to resolve the problem but none have worked, e.g.

Use the default SQLEXPRESS instance to listen on all TCP ports (default installation option).  I checked the necessary firewall rules were set up correctly and they were, i.e. UDP ANY and TCP ANY for the SQLEXPRESS sqlservr.exe file.

Change the default SQLEXPRESS instance to list on a specific TCP port, e.g. 19344

Create an ALIAS for the SQLEXPRESS installation

The instance is definitely set up for Remote Access and is not Hidden.

Are there any other firewall rules I need to apply?

View 2 Replies View Related

Are Packets From .NET To SQL Server Secure?

Feb 20, 2004

When I'm getting data from sqlserver using ado.net and a sqldataadapter, are the resultant network traffic packets secure? If I wanted to deploy my objects at a remote site, would I still be safe going straight to my sql server from there or should I build a web service and then auto generate 'remote' versions of my objects that will then communicate to the web service on https?

thanks
pat

View 2 Replies View Related

How (un)secure Is My Remote SQL Server?

Apr 10, 2007

I've been provided with a server at a hosting company. The server is running W2K3 SP2 in its own workgroup (i.e., non-AD) configuration, but is not behind any type of hardware firewall; there is no VPN in place, either. I connect to the server via RDP using an extremely long and complex password. I'm using the newest version of the RDP client. The article "Hacking RDP" and the ensuing reader comments (http://mcpmag.com/columns/article.asp?EditorialsID=1699) indicate that using RDP in this fashion is relatively safe.



I installed SQL Server 2005 SP2 on this server. I set server authentication to 'SQL Server and Windows Authentication mode'. I created one obscure SQL Server login, using another extremely long and complex password. I also disabled the login for the 'sa' account.



Since installing SQL Server on this server, I've noticed thousands of Failure Audit events in the server's Application log:




Source: MSSQLSERVER

Description: Login failed for user X



where X equals 'administrator', 'root', 'server', 'database' 'sql', 'sa', etc.

These failure events occur almost non-stop, about a dozen per second, and come from a small pool of unknown IP addresses. The IP address seems to change every few hours. I'm guessing that someone is hoping that one of these names is an actual SQL Server login and is trying a brute-force attack to try to stumble upon a matching password. None of these logins are valid, but it's still disconcerting. Is this anything to be concerned about? I could have the hosting company block the IP addresses, but that seems like a losing battle.



Lastly, I used the Surface Area Configuration tool to allow local and remote connections, using TCP/IP only--so that I could begin interacting with this SQL Server from my PC, using both SQL Server Management Studio and my own Visual Studio code. For each method, I'm using the obscure SQL Server login that I created earlier--the one with the extremely long and complex password. How (un)secure is my traffic to/from this SQL Server? I don't believe that my credentials are encrypted, but I'm not sure how much of a risk this is nor do I know how else to more securely connect to SQL Server.



Given these circumstances, is there any way to make this resource more secure? Thanks!

View 9 Replies View Related

Is It Secure Setting FTP On Server

Apr 18, 2007

Is it secure setting ftp on the server so that i can use this ftp task in ssis.

I want to get some files located on the sever to my machine.

right now it does not work.

Is it safe setting ftp on the server???????

View 1 Replies View Related

SQL 2000 Orphaned Connections

May 24, 2007

We have 4 sql servers which service 4 load balanced web servers (with sticky sessions) and we recently brought one of the four SQL servers online.



In the last week the new SQL Server 2000 Standard (SP4) has been exhibing orphaned connections and attempts to use invalid connections out of the connection pool on the app servers. This manifests itself in General network Errors and Timeouts (when the sql is not really doing much other than simple table requests).



Does anyone have any experience in what might be causing this on a new server. I've asked our networking people to verify that the network routing and firewall are set the same as the other three servers. The application is the same acrossed all of the app servers so I've ruled out any issues with the application not closing connections.

View 1 Replies View Related

SQL Server Admin 2014 :: Allowing Users To Run SSIS Packages Remotely

Mar 12, 2015

I am quite new to SSIS but managed to build a package which imports text files in to SQL. The text files are generated after users complete a manufacturing process on a machine.

The SSIS package is stored in the SSIS catalog and currently a SQL Agent tasks runs every evening to import new files that have been created during the day. Users have now requested the ability to run the import process as soon as they have finished their manufacturing runs as they may want to query the data to looks up stats etc.

What is the best way to do this considering all of the users are not SQL guys and wont have direct logins into the SQL Server or access to SQL Server Management studio. They will have access to the PC where the files are generated, so I ideally I need a batch file which they can just execute to import their new files.

I have seen lots of things on the web about running dtsexec but as the package is stored in the SSIS Catalog, how can I execute this remotely?

View 6 Replies View Related







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