SQL7 Replication Thru Firewall

Dec 23, 2000

Hi,

Need to set up replication between a server in our corporate network and another outside our network. Both are NT 4 servers running SQL7 and I am instructed to configure merge replication on both ends. My questions are: Is it possible to achieve this by running tcpip(read somewhere that I would need to run MPR to load the net libraries) and configuring the firewall to allow tcp/ip on the ports we are running SQL on between the two servers?

Please help as this is very urgent.

Regards
Kunta

View 1 Replies


ADVERTISEMENT

Multiprotocol Replication Through A Firewall

Mar 4, 2000

OK, here's the situation. I have set up my two server to use MultiProtocol as their net-lib and locked it down to use only port 1433 instead of "port hopping". I have set up my firewall to allow the traffic on port 1433 between the 2 machines and I added a hosts entry at each machine for the partner machine. With this set up I can do everything that I need to and have not found any limitations until now.

THE PROBLEM: I publish a db (on either machine) and enable immediate updating subscriptions. I then push this db to the other machine. Everything works fine and updates on the publishing db are replicated to the subscribing databases without any problems. However, when I try to do an update on the subscribing database I get an error that "transaction error, ODBC driver [SQLOLEDB] does not support distributed transactions..." No matter which machine I configure as the publisher or the subscriber this error always occurs when trying to update the subscriber. Also, as soon as I disable the firewall the error goes away and updates go back and forth like normal. I've double checked and all packets go through the firewall on port 1433 and none are refused. Not sure where to go from here and any help would be appreciated....

THANKS,
- Matt K.
kanema@saic.com

View 2 Replies View Related

Whats The Simplest Way To Set Up Replication Through Firewall?

Dec 8, 2005

whats the simplest way to set up replication through firewall?

View 1 Replies View Related

Why Replication On SQL7.0 Did Not Work

Mar 5, 2002

I set up the transationsal replication on SQL7.0. It did not work. Here are the messages

1 on Snapshot Agent: The process could not create file Server_namec$MSSQL7REPLdATAFTPServer_namefile_nam e. Error: Access is denied
2. On Log Reader Agent: bi replication transaction are available
3. Disribution Agent: The initial snapshot for publication "DB_Name" is not yet available.

Thank you for your help

View 2 Replies View Related

Can Not Disable Replication In SQL7

Oct 24, 2000

Hi, guys

I have an urgent problem in replication.

Yesterday I set up a Transaction replication with 1 publication
Server A (publisher)(push)(SQL 7)
Server B (distributor and subscriber)(SQL 7)

The replication was succesful and the suscriber can get correct data.

This morning I found the Red sigh in replication mornitor/miscellaneous agents.The error message is:
"The job failed. Unable to determine if the owner (domain nameuser ID) of job Agent history clean up: distribution has server access (reason: Could not obtain information about Windows NT group/user 'domain name'. [SQLSTATE 42000] (Error 8198))."

I tried to use the 'disable publishing and distribution wizard' to disable this replication, but it did not finish and the screen jusr freeze. I used the task manager to end the task.

then I check the replication monitor, the publication was gone but the RED sigh still there.

I tried to use sp_dropdistpublisher to drop a Publisher
but it said "the server A is not a distributor"

I tried to use sp_dropdistributiondb to delete the distribution database.
but it said "Could not drop the distribution database 'distribution'.
This distributor database is associated with a Publisher."

I tried to use sp_dropdistributor to remove the Distributor .
but it said "Could not drop the Distributor 'Server B'.
This Distributor has associated distribution databases."

Any suggestion? Thank you in advance.

Theresa

View 2 Replies View Related

SQL7.0 Merge Replication

Dec 10, 1999

I would like to set up one way Merge replication. The only way I was able to do this was to remove the triggers off the tables manually. There seems like there should be a better way.

View 2 Replies View Related

Problems With SQL7 Replication...

Mar 19, 2004

Trying to remove replication i get the error message..

Error 2812: Could not find stored procedure 'distribution.dbo.MSdrop_snapshot_dirs

Any idea ?

Thanks.

Andrew Ratley MCDBA.

View 4 Replies View Related

SQL Replication SQL7 And SQL2005

Nov 22, 2006

Hi there SQLTEAM

I have a situation; one of our clients requested us to start investigating SQL replication.

The Publisher would be the client's server running SQL7
And we would be the subscriber running SQL 2005

Can this be done?
Are there any pro's and con's on even trying replications between SQL 2005 and SQL7

If this is possible could someone be so kind as to point me to a step by step guide and how to achieve this.

View 1 Replies View Related

SQL7/SQL2000 Replication. Auth Error

Aug 12, 2002

I'm attemting to replicate from a SQL7 box to SQL2000.

The snapshot works fine, but it fails when it tries to push the subscription to the SQL2000 box with a trust error (I don't recall the exact message). I noticed that it fails when Enterprise Mgr is configured as: "Tools/Replication/Configure Publishing, Subscribers and Distribution", Subscriber Tab, "Impersonating SQL Service Agent". It works if I change to "SA".

This is only the case when we replicate from SQL7 to SQL2K. SQL7 to SQL7 works fine with "Impersonating". Has anybody seen this behavior? Any workarounds, other than using SA?

View 2 Replies View Related

SQL7/SQL2000 Replication. Auth Error

Aug 12, 2002

I'm attemting to replicate from a SQL7 box to SQL2000.

The snapshot works fine, but it fails when it tries to push the subscription to the SQL2000 box with a trust error (I don't recall the exact message). I noticed that it fails when Enterprise Mgr is configured as: "Tools/Replication/Configure Publishing, Subscribers and Distribution", Subscriber Tab, "Impersonating SQL Service Agent". It works if I change to "SA".

This is only the case when we replicate from SQL7 to SQL2K. SQL7 to SQL7 works fine with "Impersonating". Has anybody seen this behavior? Any workarounds, other than using SA?

View 1 Replies View Related

Help Needed Urgently! - SQL7 Replication Conflict Problem

Dec 18, 2001

Hi all,

i think i have serious problem. i have almost 20,000 rows with the following conflict on a table (generated by merge replication over a period of around 3 weeks) :

'The row was updated at 'SubscriberServer3.DatabaseA' but could not be updated 'at 'PublicationServer1.DatabaseA'. Metadata mismatch'

i have 20 remote subscribers & 1 publisher. The above message originates from practically everywhere.

Besides dropping(not practical at the moment) & recreating replication to get rid of them, what else can i do to resolve this problem?? Do i have to resolve this problem row by row?? i'm at my wit's end. Please help!!

Thanx in advance.

View 2 Replies View Related

Copy SQL7 To SQL7

Dec 5, 1998

How can I copy a SQL 7 database from one server to another? Please tell me all the ways because I've tried the obvious and it doesn't work. (backup and restore - won't go from one server to another, DTS transfer object Wizard - does a whole pile of errors and doesn't do stored proceedures and trigures). Thanks for help in advance. Also, what is the email address to post to the listserv and where is the FAQ for SQL7? Most of my listserv's tell you where to post right at the bottom of the digest I get - any chance you guys would do that with this list? Thanks again.

View 6 Replies View Related

Firewall Again

May 30, 2001

Hi guys.

We have an external webserver/sqlbox not on domain network and internal on domain.

I need to register both servers or need to do a linked server between two.

There is something i found in Multi protocol. Will somebody explain the whole process.


If i need to change the port settings in SQL, is that just the Client neetwork utility I should change or should i run the setup.

Any input appreciated.....
:-)
-MAK

View 1 Replies View Related

Connecting To SQL DB Through A Firewall

Dec 1, 2004

Hi there!

I'm a bit new to all this, so please bear with me! :)

I've got a webserver in our DMZ and I'm trying to create an ODBC connection from that server to a db server within our firewall. When I try and connect, the following message appears:

Connection failed:
SQLState: '01000'
SQL Server Error: 10060
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen (Connect()),
Connection failed:
SQL State: '08001'
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied

I'm at a bit of a loss as to what's going on, as we have an application on the webserver that connects to another SQL DB server within our firewall with no problem!

webserver:
OS - win2000 standard server sp4

db server:
OS - WinNT 4.0
SQL - 7.0

If anyone can help, it would be much appreciated!!

Cheers,

Ewan :)

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

DTS Package And Firewall

Jul 20, 2005

Hi all, I have some DTS packages that are used to import /export data to aSQL box located outside in a DMZ behind a firewall.We need to open up a port in the firewall so that the Internal Server cancommunicate (Execute DTS packages against) with the SQL box located outsidethe DMZ.How do I find out what Port we need to open so that the Internal SQL box cancommunicate with the external SQL box?Thanks in advanceMark

View 1 Replies View Related

FTP Task And FIREWALL

May 6, 2008

Hello,

I have created a new dtsx package with a FTP Task inside.
On this task I am able to configure the user, password server address etc...
Everything is working correctly until I try to connect to a FTP in DMZ.
Of course I have a firewall to access to it...So my question is how to bypass proxy settings in the FTP task component.
I do it in FileZilla so how can I do the same thing in ftp task?

Regards
Stephane

View 1 Replies View Related

Data Connection Behind Firewall

Apr 17, 2007

Hello,
I am trying to connect a web app to a SQL 2005 that is behind a firewall.
The challenge is this, the SQL is behind a firewall and the webserver is at a different location.  From my desktop development environment, I connect through a VPN first and then can point to the internal IP of the DB server.  This works fine as long as the VPN is connected.
But how do I do this from a hosted web application that is not on my local machine or using my VPN?
Is there some sort of tunneling Connection that I can use within code?
thanks

View 3 Replies View Related

ZoneAlarm Pro(firewall) Causes SQL Problems

Nov 6, 2004

When I changed to software Firewall, I got lots of problems running asp.net and Dnn.
Unfortunatly zonelabs does not support me, cause ZA pro don't "officially" support servers. But speaking to their support, and via email, I am told several of their customers run ZA pro under winXP, with IIS and SQL running.(ZA pro 5.1.033.000)

Unfortunatly I have not been able to get them to read my thead on Zonelabs support forum.

I bought ZA pro after talking on with a salesrep, and was told IIS and SQL is a breeze to config, and if I run into problems their forum or support would help me. Yeah right. So at the time beeing I am stucked.

I first started out installing, and making the most obvious changes, and got everthing working I thought. But when trying to log into a dnn project in my root, nothing happend.
So, I knew the firewall didn't play along. Then I gave SQL server rights, 4 green checkmarks in config. Now I could log in. But installing new modules was still a problem. I tried to add "formcreator for dnn" by Snow to a tab. But I got a msg saying a critical error accourd. "SQL server doed not excist or access denied". This is what I have done so far:

1. In Privacy Settings Cookie Control, Ad Blocking and Mobile Code Control are all set to Off
2. Added localhost: Clicked Firewall >> Zones >> Add >> Host/Site name OR IP Address: 127.0.0.1
3. Made sure IIS, and SQL Server have full access: Click Program Control >> Programs.

So as you see, the firewall is still not allowing the application (dnn application) to connect to the SQL server. Surely their must be a way to fix this?

Anyone that has managed to get ZAP to work correct along with IIS and SQL?

clue

View 1 Replies View Related

Asp.net Application Connect To SQL Through A Firewall

May 7, 2002

Hi guys.

We have an external webserver(server1 on domain1) is a DMZ, and sql server7(server2 on domain2) inside the firewall.

Domain1 trusts domain2 but domain2 does not trust domain1.

Our firewall hosting by outside vendor and they told me they already opened up the port 1433 for server2.

I put a small asp.net application on server1(this application works fine in intranet. 2000 server,iis5,virtue directory, and .net frameword were well installed and configured), and I got S'QL server does not exist or login fail error'.

Any idea about that? And how to test the port was opened?

Any input appreciated.....

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

Best Way To Update Database Behind Firewall?

Jul 20, 2005

HelloI have a project where I need to update a few tables in a SQL Server 2000database which resides behind a firewall, ie port 1433 is blocked. I alsoneed to verify the updates were successful.I am a C# developer. What are my options in doing this.. web services?John Dalberg

View 1 Replies View Related

Source And Target - Both Behind Firewall Using NAT

Nov 14, 2005

In this situation do I need a proxy or forwarder at both ends to prevent connection issues? Are there plans to handle this in future SSSB upgrades. Thanks.

View 8 Replies View Related

Remote Database Connection Through Firewall

Jan 29, 2001

I'm trying to adminster a remote MS SQL server from inside my company's firewall. I have the correct permissions to pass traffic through the firewall, but I need to authenticate to it first. When I try to register this remote SQL server through Enterpise Manager, it of course does not let me because of the firewall. Is there any way I can pass the firewall ID and password during the server registration process, and then pass the SQL server ID and password? I'm no SQL server expert by any means, but it doesn't look like it's possible. Are there any third party utilities that may accomplish this?

Thanks for the help!

Aaron

View 2 Replies View Related

Connecting To A Names Instance Through A Firewall.

Mar 12, 2007

Hi

I am really struggling with this problem.

I am connecting to several SQL 2000 servers on another LAN from my workstation and I have to go through a firewall.

I got the firewall people to open port 1433 and was then able to connect any server with a default instance using Query Anlyzer and the IP address of the Server.

When I try to connect from my workstation to a server with a named instance I am being blocked by the firewall before it gets to the server.

I went into Client Network Utility on my workstation and removed named pipes which only left Tcpip using port 1433.

Fire wall is now blocking “nbname UDP 137”.

Is there a setting somewhere on my workstation that I can force the traffic to the named instance to use Tcpip through port 1433.

Any Help would be great.

View 3 Replies View Related

SQL 2012 :: SSIS Catalog FTP And Firewall

Oct 3, 2014

I am running a package in the catalog. The package contains a c# script that uses FTP webrequest. It runs fine in SSDT. Trying to execute from the catalog the ftp list directory is timing out.

This seems to be a firewall issue. We have tried adding an exception for dtexec, but that did not . I am thinking another program runs the package, maybe ISServer.exe?

Any program that would need the firewall exception to run the package in the catalog?

View 6 Replies View Related

SQL 2012 :: SSIS Firewall Port

Aug 5, 2015

We have SSIS packages deployed and scheduled on SQL_Server_A. The packages have to access databases on SQL_Server_B, which is behind a firewall.

Question: would opening only SQL port between these two servers be enough or some other ports have to be open as well? (The packages only select and bring data back to Server_A or transfer data from Server_A to the databases and do inserts. Nothing else.)

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

Remote SqlExpress Connection And Firewall

Apr 12, 2008

I am running SqlExpress on a Vista machine as a server and accessing it from machines running XP. I could not connect with the Vista server until I turned off the firewall, despite creating exceptions for both the sqlexpress and sqlbrowser services in the firewall setup. Obviously, I don't want to run on a wireless network without a firewall for any length of time. What else to I need to enable in order to run with my firewall up? In SMSS, I could 'see' the Vista server on the network with the firewall up, but I could not 'see' the SERVERSQLEXPRESS service or connect to it .

thanks,

Steve

View 4 Replies View Related

SQL Express Install And Windows Firewall

Apr 22, 2008

I am trying to install SQl express as part of a custom app.I have been able to use the template.ini to pass in all the parameters and install. installs fine,however the installation isnt browseable by remote machines due to the sqlserver.exe and sqlbrowser.exe not being in the windows firewall list. How can i add then to this list automatically at install time? or is there another way around this?

View 1 Replies View Related

Remote Access And Windows Firewall

Sep 20, 2006

Hi all,

I have a Windows Server 2003 with SQL Server 2005.
I´ve configured the following itens to allow remote connecitions:

[code]
WORKAROUND
Warning If you use Registry Editor incorrectly, you may cause
serious problems that may require
you to reinstall your operating system. Microsoft cannot
guarantee that you can solve problems that result from using
Registry Editor incorrectly. Use Registry Editor at your own
risk.To work around this problem, follow these steps on the
computer that Windows XP SP2 is installed on:

1. Make sure that the Log On As account for the MSDTC service
is the Network Service account. To do this, follow these steps:
a. Click Start, and then click Run.
b. In the Run dialog box, type Services.msc, and then click OK.
c. In the Services window, locate the Distributed Transaction
Coordinator service under Name in the right pane.
d. Under the Log On As column, see whether the Log On As
account is Network Service or Local System.

If the Log On As account is Network Service, go to step 2.
If the Log On As account is Local System, continue with these steps.
e. Click Start, and then click Run.
f. In the Run dialog box, type cmd, and then click OK.
g. At the command prompt, type Net stop msdtc to stop the MSDTC service.
h. At the command prompt, type Msdtc €“uninstall to remove MSDTC.
i. At the command prompt, type regedit to open Registry Editor.
j. In Registry Editor, locate, and then delete the following subkey:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSDTC
k. Close Registry Editor.
l. At the command prompt, type Msdtc €“install to install MSDTC.
m. At the command prompt, type Net start msdtc to start
the MSDTC service.

Note The Log On As account for the MSDTC service is set
to the Network Service account.

2. To allow the network transaction, you must enable
MSDTC. To do this, follow these steps:
a. Click Start, and then click Run.
b. In the Run dialog box, type dcomcnfg.exe, and then click OK.
c. In the Component Services window, expand Component
Services, expand Computers, and then expand My Computer.
d. Right-click My Computer, and then click Properties.
e. In the My Computer Properties dialog box, click
Security Configuration on the MSDTC tab.
f. In the Security Configuration dialog box, click to
select the Network DTC Access check box.
g. To allow the distributed transaction to run on this
computer from a remote computer, click to select the Allow Inbound check box.
h. To allow the distributed transaction to run on a
remote computer from this computer, click to select the Allow
Outbound check box.
i. Under the Transaction Manager Communication
group, click to select the No Authentication Required option.
j. In the Security Configuration dialog box, click OK.
k. In the My Computer Properties dialog box, click OK.


3. Configure Windows Firewall to include the MSDTC
program and to include port 135 as an exception. To do this,
follow these steps:

a. Click Start, and then click Run.
b. In the Run dialog box, type Firewall.cpl, and then click OK.
c. In Control Panel, double-click Windows Firewall.
d. In the Windows Firewall dialog box, click Add
Program on the Exceptions tab.
e. In the Add a Program dialog box, click Browse,
and then locate the Msdtc.exe file. By default, the
file is stored in the Installation drive:WindowsSystem32 folder.
f. In the Add a Program dialog box, click OK.
g. In the Windows Firewall dialog box, click to select
the msdtc option in the Programs and Services list.
h. Click Add Port on the Exceptions tab.
i. In the Add a Port dialog box, type 135 in the Port
number text box, and then click to select the TCP option.
j. In the Add a Port dialog box, type a name for the
exception in the Name text box, and then click OK.
k. In the Windows Firewall dialog box, select the name
that you used for the exception in step j in the
Programs and Services list, and then click OK.
[/code]

But, when the Windows firewal on the server is "On", remote connections
are not allowed, despite I´ve configured the Exceptions on the firewall.

Is there another task to solve this problem?

thanx!!!!

View 1 Replies View Related







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