PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > insoluble problem: cannot make remote connection
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
insoluble problem: cannot make remote connection

Réponse
 
LinkBack Outils de la discussion
Vieux 17/05/2008, 18h40   #1
Granty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut insoluble problem: cannot make remote connection

Greetings

I know this is a bit of old chestnut as questions go but I have
experienced serious problems making a remote connection. I have
googled this issue to death and using all the configuration tools I
have:

Set the remote connection to permit both TCP/IP and named pipes
connection
Set the browser running and to automatic startup.
Made exceptions in the firewall both to the exe files (server and
browser)
Made exceptions in the firewall for all possible TCP and UDP ports.
Ensured that mixed login (SQL server and windows authentication) mode
is permitted.

I am using a client version of Studio Express and use the protocol: IP/
instance_name as per the server based version of this program which
connects without any problem.

I have scoured the microsoft site and carried out all the changes they
suggest.

If anyone has been this way and found a solution and can provide me
the answer I will buy them a Porche for Christmas (maybe).

Surely there's on small thing i am overlooking. The error I am getting
when connecting suggests that this is a connection issues:

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: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)

Anyone out there please who cracked this problem. I have two spent
three days trying to correct it.

Cheers
  Réponse avec citation
Vieux 17/05/2008, 18h53   #2
Granty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: insoluble problem: cannot make remote connection

Sorry - just to add, this is MS SQL server 2005 express.
  Réponse avec citation
Vieux 18/05/2008, 11h42   #3
John Bell
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: insoluble problem: cannot make remote connection


"Granty" <grant@gbdavis.com> wrote in message
news:5cee4f66-0bce-402f-a718-6bb26e48492d@d1g2000hsg.googlegroups.com...
> Sorry - just to add, this is MS SQL server 2005 express.


Hi

If you can connect with the IP/Instance for the server name from a client,
but not with COMPUTER\Instance, then you have connected remotely. The issue
may be with the resolution of the COMPUTER name. If you changed the name of
the computer then you will need to drop the server name and re-create it
(EXEC sp_dropserver 'OldName'; EXEC sp_addserver 'NewName', LOCAL). If there
are DNS issues adding the name to the hosts file may be a temporary fix
until it can be corrected.

With SQLCMD and SSMS you can use the notation
tcp:<servername>[\<instancename>],<port> when specifying how you can
connect, therefore allow a connection with a specific protocol and port.

John

  Réponse avec citation
Vieux 20/05/2008, 20h07   #4
Ekrem Önsoy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: insoluble problem: cannot make remote connection

Hello Granty,

In this scenarios, you better configure your SQL Server intance to use a
static port instead of a dynamic port.

I've seen lots of people who experiened this kind of problems, they said
they performed every action but they didn't connect... It was mostly because
of using dynamic ports instead of static ports.

As SQL Server 2005 Express Edition is configured to be installed as a named
instance and as named instances of SQL Server is configured to use dynamic
ports by default, your SQL Server instance must be using a dynamic port.

So, I suggest you to go to Configuration Manager and change your port
settings accordingly. This will probably solve your problem.

--
Ekrem Önsoy



"Granty" <grant@gbdavis.com> wrote in message
news:5cee4f66-0bce-402f-a718-6bb26e48492d@d1g2000hsg.googlegroups.com...
> Sorry - just to add, this is MS SQL server 2005 express.


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h48.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12095 seconds with 12 queries