473,396 Members | 1,599 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Can not connect to SQL Instance without specifying Port.

Hi,

Having a connectivity issue here.

We have a default instance which is not being used (totally inactive and shut down), and a named instance on a SQL Cluster with 2 physical machines, and 2 VMs. This cluster is active / passive. For a very long time everything was working fine. We recently got a call that none of the developers could connect to the instance without specifying the port. So we checked to see that TCP/IP was turned on, we checked the browser service, we made sure all the required ports were open. All looks okay.

We then reboot the offline server, and failed over the active server and then reboot that one.

Still no luck.

We checked the cluster setup. We are using dynamic ports and the Ipall was auto assigned 56191. That is the port you have to designate in order to connect. We have a reporting server on another box which requires the port to connect.

We had to set up Kerberos to allow for a double hop situation. We registered service accounts and servers and now are getting an error which states that the server is unknown, the error message lists the name of the server with the port.

Of course locally we connect fine. We think there is something wrong with the SQL browser but are not sure of the best way to troubleshoot.

We are using MS SQL Server 2008 on a Windows 2008 R2 box.

Any ideas? Thanks for your help.
Dec 1 '11 #1

✓ answered by Vikki McCormick

Follwing up as promised. It was definitely corruption. We installed SP3, and rebooted the cluster. All is working fine.

Thanks.

Vikki

10 4855
I am sorry if I did not word this issue properly. English is a stumbling block for me so I understand if there is criticism....or if there is something so obvious, and I have missed it, that I may not warrant a response, but any help even a criticism would be appreciated. As long as it points me in another direction. I am reading tons of material and not finding what could be wrong in the setup or anything that might indicate why a Port Number suddenly became required. I did not set up the cluster or instance but I see nothing that stands out as obvious in the setup, or on the firewall and the browser is running. It is not running on the passive node but when it fails over the cluster will automatically start that.

If you use a non-standard port do you always have to designate the port when connecting? I thought sql browser still could resolve the port. Am I wrong?

Thanks.
Dec 1 '11 #2
NeoPa
32,556 Expert Mod 16PB
Vikki,

I am possibly one of the most demanding of experts when it comes to the clarity and the proper expression of questions, and I was impressed by how well your question was presented, so I wouldn't worry on that score. Your question is beyond my limited SQL experience though I'm afraid. What I will do for you though, is post something in the Experts area drawing attention to this question.

I'm afraid not all forums offer prompt responses all the time. The site is staffed exclusively by volunteers and so they are free and available only when they are (most having busy working lives already).

Anyway, good luck with your question :-)
Dec 1 '11 #3
NeoPa,

Thanks very much for your response. I am not the best communicator and a lot of what I know I have self taught so I wonder sometimes if I am speaking the correct way. I appreciate you taking that extra step. I have had plenty of views on this one but no takers as of yet.

I am now using Network Monitor to trace the packets and the only clue so far is that the packet is "disreguarded" when no port is specified. I believe it is possible there may be some corruption. I am discovering other errors. The DBA before me setup a maintenance plan and that has not been running and throws an error that Integration Services must be running so that service used to be working also but now is not.

I am going to try and do some integrity checks tonight.

It is a high traffic production server and I am very concerned it is heading for disaster. We received additional phone calls from the developers that more and more jobs are failing. The backups are also failing so this could turn out to be one of those fun nights. If we can't find something soon. Okay back to work. Thanks again. Wish me a miracle.

Vikki
Dec 1 '11 #4
NeoPa
32,556 Expert Mod 16PB
I certainly wish you a miracle Vikki. I just want to be clear that I'm not providing any technical help here, as experts often leave a thread if it seems like it's already being handled. Best of luck anyway.

I have put out a call-to-arms for you, and we do have a number of reliable experts in SQL Server that I've been helped by in the past. I expect you must be States-side as you're referring to this evening as upcoming still, so hopefully there's still time for someone to assist, even at this late stage.

Having said that of course, the question, though clearly explained, is equally clearly not trivial. But, have yourself a miracle and may this evening be a peaceful one :-)
Dec 2 '11 #5
Thanks NeoPa. I really appreciate your assistance. I hope I can also be of help some time.

I think I got a good answer on msdn. There was a fix for this on SQL Server 2008 and it turns out that it was only a partial fix. It does not apply to X64 machine.

"It might be a SQL browser is not cluster-aware and listens on IP ANY. Meanwhile it might be the response UDP packet is dropped by the firewall and /or IPSec. Windows Firewall does not drop the packet. However, a third-party firewall may drop the packet. In addition, IPSec may also drop the packet if IPSec policy is enabled on the client and it can not establish a trust connection between the client and server."

They added a fix for this on SP2 but I guess it doesn't work for all machines.

We are going to try and apply SP3 to see if that works if not we are going to rebuild in the whole server on 2008 R2.

Thanks again.
Dec 2 '11 #6
NeoPa
32,556 Expert Mod 16PB
That sounds like a result Vikki. Good for you :-)

I would certainly consider upgrading the server to R2 anyway. I generally find that when a product even has an R2, the previous version is FUBAR. Lots of time and energy saved by avoiding any such product in my view (which may be somewhat harsh in some circumstances, but will never lead you too far astray). Personally, I think of Office 2010 as Office 2007 R2, and Windows 7 as Vista R2, but I never said only those with an R2 were duds did I :-D
Dec 2 '11 #7
Agreed. R2 is the way to go. After further investigation, I concluded that we have the required service packs, but for some reason they are not working.

I think it might be corruption now. There are 2 seperate errors occuring both were fixed in SP2. We also had a huge power outage a short time ago, maybe that caused the errors to occur though no way to confirm that.

Due to work load the senior admin wants to try to apply service pack 3 till there is some down time. The upgrade will be time consuming, but when stuff like this starts happening I think it will continue to see problems, and you are right, you can save yourself tons of time. On to the next project I guess.

I will follow up with the results in case some one else runs into something similar.

Have a good day. Vikki
Dec 2 '11 #8
NeoPa
32,556 Expert Mod 16PB
Vikki McCormick:
I will follow up with the results in case some one else runs into something similar.
It's a pleasure dealing with you Vikki :-)
Dec 2 '11 #9
Follwing up as promised. It was definitely corruption. We installed SP3, and rebooted the cluster. All is working fine.

Thanks.

Vikki
Dec 5 '11 #10
NeoPa
32,556 Expert Mod 16PB
Excellent, and thanks for following up.

May I ask, was anything done to the data (to recover or fix it), or was the upgrade to SP3 all that was required?
Dec 5 '11 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Daniel Chartier | last post by:
Hello, all. I found a bit of code that lets me read an Excel file from and to a specifi range. See the code below. But what if I only want to specify the STARTING position and simply want it...
5
by: Adam Child | last post by:
Hi All, I'm trying to validate an xml document. I'm having trouble setting the default namespace of the xml document. If I hard encode the namespace in the xml file then everything works fine....
3
by: kathyburke40 | last post by:
Odd problem. I have a table in the following format: DocID Question1 Question2 Question3 ------------------------------------------------ 298 1, 2, 3 or 0 Each Question...
0
by: namri | last post by:
Hi, I want to crypt a message with RSAPKCS1KeyExchangeFormatter with a RSAKey that I have. The only way that I see to do it is to get an initialize RSAPKCS1KeyExchangeFormatter with an instant...
5
by: cashdeskmac | last post by:
I am writing a web application will will be hosted on a few peoples laptops as a local application. It will send e-mails once the user connects to the internet. How can I set up the "Mail.From"...
2
by: Mockey Chen | last post by:
I want to get my db2 instance's listen port, is there any command to retrieve this information? -- Regards. Mockey Chen Email: mockey.chen@gmail.com
2
by: Daniel | last post by:
are System.Data.SqlClient.SqlConnection thread safe? can many threads share a System.Data.SqlClient.SqlConnection instance without any synchronization?
2
by: Flash08 | last post by:
Hi all, I'm having some trouble with connecting to SQL server instance lately without adding a port number. I used to be able to always connect to instance without having to input...
3
by: Suresh P | last post by:
Hi All, I tried to access the mysql database in ODBC using ip address and username/password. It returns, "cannot connect to MySQL server on IP ADDRESS(10060)". This could be related to Firewall...
5
by: =?Utf-8?B?bmFzYXlvbw==?= | last post by:
I make a HttpWebRequest to the web which is hosted in the local host from my C# application by the following code: HttpWebRequest myHttpWebRequest =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.