473,837 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem accessing remote sql server

Hi

We had an sbs 2003 with isa 2000 server. We wre able to access a
remote sql server (hosted at our web host) just fine. We replaced the
server with a new sbs 2003 r2 with isa 2004 server and even though I
have opened port 1433 in isa 2004 we can't access the remote sql
server anymore. Where can I look for any blocks?

Many Thanks

Regards

Sep 30 '07 #1
8 7284
Is the SQL Server installed as a default or a named instance?

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"John" <li*********@go oglemail.comwro te in message
news:11******** **************@ w3g2000hsg.goog legroups.com...
Hi

We had an sbs 2003 with isa 2000 server. We wre able to access a
remote sql server (hosted at our web host) just fine. We replaced the
server with a new sbs 2003 r2 with isa 2004 server and even though I
have opened port 1433 in isa 2004 we can't access the remote sql
server anymore. Where can I look for any blocks?

Many Thanks

Regards
Sep 30 '07 #2
Hi

I don't know as it is remotely located. I received ip and username/
password from host which worked fine on old sbs 2000 + isa 2000 server
but not on new sbs 2003 r2 + isa 2004. Anyway I can check?

Thanks

Regards

On 30 Sep, 20:50, "Tibor Karaszi"
<tibor_please.n o.email_kara... @hotmail.nomail .comwrote:
Is the SQL Server installed as a default or a named instance?

--
Tibor Karaszi, SQL Server MVPhttp://www.karaszi.com/sqlserver/default.asphttp ://sqlblog.com/blogs/tibor_karaszi

"John" <livingus...@go oglemail.comwro te in message

news:11******** **************@ w3g2000hsg.goog legroups.com...
Hi
We had an sbs 2003 with isa 2000 server. We wre able to access a
remote sql server (hosted at our web host) just fine. We replaced the
server with a new sbs 2003 r2 with isa 2004 server and even though I
have opened port 1433 in isa 2004 we can't access the remote sql
server anymore. Where can I look for any blocks?
Many Thanks
Regards- Hide quoted text -

- Show quoted text -

Sep 30 '07 #3
John (li*********@go oglemail.com) writes:
I don't know as it is remotely located. I received ip and username/
password from host which worked fine on old sbs 2000 + isa 2000 server
but not on new sbs 2003 r2 + isa 2004. Anyway I can check?
A named instance has a name like SERVER\INSTANCE . To be able to access
a named instance you need to have its port number open. And if you also
access it one the form SERVER\INSTANCE , you need access to UDP port
1434. (You can always access it as SERVER,portnum. )

May be you should ask in a forum about ISA Server (which I'm completely
ignorant of)?

You should check with you host on which port SQL Server is listening.

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Sep 30 '07 #4
This was also posted on the microsoft.publi c.windows.serve r.sbs newsgroup

I did ask if this was SQL Server 2000 or 2005 as you mentioned Windows SBS
2003 R2. You have to enable remote access using the Surface Area
Configuration for Services and Connections

"Erland Sommarskog" <es****@sommars kog.sewrote in message
news:Xn******** *************@1 27.0.0.1...
John (li*********@go oglemail.com) writes:
>I don't know as it is remotely located. I received ip and username/
password from host which worked fine on old sbs 2000 + isa 2000 server
but not on new sbs 2003 r2 + isa 2004. Anyway I can check?

A named instance has a name like SERVER\INSTANCE . To be able to access
a named instance you need to have its port number open. And if you also
access it one the form SERVER\INSTANCE , you need access to UDP port
1434. (You can always access it as SERVER,portnum. )

May be you should ask in a forum about ISA Server (which I'm completely
ignorant of)?

You should check with you host on which port SQL Server is listening.

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Sep 30 '07 #5
I am using the remote servers ip address, as provided by the host, instead
of server name.

Doing telnet <remote sql ip1433, the isa log registers access on port 1433
but accessing the remote sql server using sql server management studio
express to connect, isa log does not log any attempt on port 1433. I can't
figure out why the management studio is not connecting on port 1433 or how
to make it do it.

Thanks

Regards

"Erland Sommarskog" <es****@sommars kog.sewrote in message
news:Xn******** *************@1 27.0.0.1...
John (li*********@go oglemail.com) writes:
>I don't know as it is remotely located. I received ip and username/
password from host which worked fine on old sbs 2000 + isa 2000 server
but not on new sbs 2003 r2 + isa 2004. Anyway I can check?

A named instance has a name like SERVER\INSTANCE . To be able to access
a named instance you need to have its port number open. And if you also
access it one the form SERVER\INSTANCE , you need access to UDP port
1434. (You can always access it as SERVER,portnum. )

May be you should ask in a forum about ISA Server (which I'm completely
ignorant of)?

You should check with you host on which port SQL Server is listening.

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Sep 30 '07 #6
When I try to connect to remote sql server by creating a System DSN I get
below in ISA 2004 logging. Apparently for some reason System DSN is trying
to connect on port 135 which obviously fails as remote sql server is on port
1433. How can I make System DSN to try port 1433?

Thanks

Regards

Failed Connection Attempt ...
Log type: Firewall service
Status: 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.
Rule: External SQL Server
Source: Local Host ( <local server external ip>:13421)
Destination: External ( <remote sql ip>:135)
Protocol: RPC (all interfaces)
"John" <li*********@go oglemail.comwro te in message
news:11******** **************@ w3g2000hsg.goog legroups.com...
Hi

We had an sbs 2003 with isa 2000 server. We wre able to access a
remote sql server (hosted at our web host) just fine. We replaced the
server with a new sbs 2003 r2 with isa 2004 server and even though I
have opened port 1433 in isa 2004 we can't access the remote sql
server anymore. Where can I look for any blocks?

Many Thanks

Regards

Oct 1 '07 #7
Have you tried running SQL Profiler to check whether or not any application
can connect to SQL Server?
"John" <Jo**@nospam.in fovis.co.ukwrot e in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
>I am using the remote servers ip address, as provided by the host, instead
of server name.

Doing telnet <remote sql ip1433, the isa log registers access on port
1433 but accessing the remote sql server using sql server management
studio express to connect, isa log does not log any attempt on port 1433.
I can't figure out why the management studio is not connecting on port
1433 or how to make it do it.

Thanks

Regards

"Erland Sommarskog" <es****@sommars kog.sewrote in message
news:Xn******** *************@1 27.0.0.1...
>John (li*********@go oglemail.com) writes:
>>I don't know as it is remotely located. I received ip and username/
password from host which worked fine on old sbs 2000 + isa 2000 server
but not on new sbs 2003 r2 + isa 2004. Anyway I can check?

A named instance has a name like SERVER\INSTANCE . To be able to access
a named instance you need to have its port number open. And if you also
access it one the form SERVER\INSTANCE , you need access to UDP port
1434. (You can always access it as SERVER,portnum. )

May be you should ask in a forum about ISA Server (which I'm completely
ignorant of)?

You should check with you host on which port SQL Server is listening.

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Oct 1 '07 #8
John (Jo**@nospam.in fovis.co.uk) writes:
Doing telnet <remote sql ip1433, the isa log registers access on port
1433 but accessing the remote sql server using sql server management
studio express to connect, isa log does not log any attempt on port
1433. I can't figure out why the management studio is not connecting on
port 1433 or how to make it do it.
Check in SQL Configuration Manager that you have TCP/IP enabled as a client
protocol. It may be trying named pipes only.

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Oct 1 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2994
by: Jaydeep | last post by:
Hello, I am facing a strange problem. Problem accessing remote database from ASP using COM+ server application having VB components (ActiveX DLL) installed. Tier 1 : ASP front End (IIS 5.0) Tire 2 : COM objects Tier 3 : SQL Server 2000 DB Flow is : ASP talks with COM objects and COM objects talks with DB Scenario 1
1
4248
by: Amy Tseng | last post by:
Hi, I am having a problem accessing SQL Server 2000 via UNIX. I am accessing SQL Server 2000 from Solaris using Sybase Open Client (CT-Lib). Here is the error message: CT-LIBRARY error: ct_connect(): network packet layer: internal net library error: Net-Library operation terminated due to disconnect
1
4646
by: Z0gS | last post by:
I got this problem for the web application I try to access files on a remote server. string dirs = Directory.GetDirectories(@"E:\vehicles") E drive is a map to a network drive. I get the DirectoryNotFoundException. How do I solve the problem or the is another way to write the code Thank yo
3
1400
by: Suhas Vengilat | last post by:
Hi, I am facing a problem accessing SQL Server using WindowsAuthentication. One Sharepoint application development team need a webpart to access one SQL Server Database using a service account (Windows Authentication). Due to company policy, SQL authentication is not allowed. When a user uses the web page with the Webpart, it should connect to the Database using this Windows Service Account and pull the data for display. When the...
2
2906
by: Jon L. Lovesky | last post by:
Hello all, I am attempting to access a remote folder from an asp.net application (all within the same domain). The application is configured for windows authentication in IIS and the asp.net worker process runs as the local ASP.NET account. When the application is about to access the remote folder I switch the security context to the remote user programmatically, then switch it back afterwards. When I run the application on my local...
0
884
by: Minu | last post by:
Hi there! I have a web application that invokes an exe. The exe runs as a separate process. After it is invoked it doesnt interact with the web application again. The exe has a problem connecting to a remote database. It says 'access is denied'. But the same exe when executed independent of the web app providing command line arguments, it is able to access the remote databases and give the result.
0
1842
by: John Fleming | last post by:
Hello, I am building a web application with the following components: 2 Web Servers - Windows Server 2003 - IIS 6 - .Net Framework version 2.0 - Reside in Domain A 2 Clustered Database Servers
3
2694
by: Pakna | last post by:
Hello, I have what may be a beginner's question regarding DB2. How does one access a remote table on a remote database via SQL? What is the command string, is there an equivalent of Oracle DBLINK? I hope I was clear. If there are more information that I need to supply, please do tell me. Thank you very much for your replies
11
5448
by: =?Utf-8?B?U2FsYW1FbGlhcw==?= | last post by:
Has anybody worked with performancecounter object to access counters on remote machine? I managed to write code that retrieves counters categories froma remote machine, when I try another remote machine I get "System.ComponentModel.Win32Exception" error. Error message is "The network path was not found." I have checked running services (RPC, Remote registery.....) on both machines and they are exactly the same. I am wondering if there is...
0
9846
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9686
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10890
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10581
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9416
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7819
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7007
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5675
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4479
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.