dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

Error connecting to remote server - sqlserver-server

This is a discussion on Error connecting to remote server - sqlserver-server ; Hi I am trying to cerate a System DSN (in ODBC Data Source Administrator) for a remote SQL Server. I am getting the below error message; Connection failed: SQL State: '01000' SQL Server Error: 14 [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Invalid ...


Home > Database Forum > Microsoft SQL Server > sqlserver-server > Error connecting to remote server

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 09-14-2007, 12:57 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Error connecting to remote server

Hi

I am trying to cerate a System DSN (in ODBC Data Source Administrator) for a
remote SQL Server. I am getting the below error message;

Connection failed:
SQL State: '01000'
SQL Server Error: 14
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Invalid
Instance())
Connection failed:
SQL State: '08001'
SQL Server Error: 14
[Microsoft][ODBC SQL Server Driver][DBNETLIB]Invalid Connection

What is the problem and how can I fix it?

Thanks

Regards


Reply With Quote
  #2  
Old 09-14-2007, 03:17 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Error connecting to remote server

On Sep 14, 4:57 pm, "John" wrote:
> Hi
>
> I am trying to cerate a System DSN (in ODBC Data Source Administrator) for a
> remote SQL Server. I am getting the below error message;
>
> Connection failed:
> SQL State: '01000'
> SQL Server Error: 14
> [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Invalid
> Instance())
> Connection failed:
> SQL State: '08001'
> SQL Server Error: 14
> [Microsoft][ODBC SQL Server Driver][DBNETLIB]Invalid Connection
>
> What is the problem and how can I fix it?
>
> Thanks
>
> Regards


the remote server isn't running sql as a named instance is it?

Reply With Quote
  #3  
Old 09-14-2007, 04:47 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Error connecting to remote server

Not sure. It is our web hosts which is an outside company. What should I ask
them to do?

Many Thanks

Regards

"densial" wrote in message
news:1189754261.882976.147900@r34g2000hsd.googlegr oups.com...
> On Sep 14, 4:57 pm, "John" wrote:
>> Hi
>>
>> I am trying to cerate a System DSN (in ODBC Data Source Administrator)
>> for a
>> remote SQL Server. I am getting the below error message;
>>
>> Connection failed:
>> SQL State: '01000'
>> SQL Server Error: 14
>> [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Invalid
>> Instance())
>> Connection failed:
>> SQL State: '08001'
>> SQL Server Error: 14
>> [Microsoft][ODBC SQL Server Driver][DBNETLIB]Invalid Connection
>>
>> What is the problem and how can I fix it?
>>
>> Thanks
>>
>> Regards

>
> the remote server isn't running sql as a named instance is it?
>



Reply With Quote
  #4  
Old 09-14-2007, 04:49 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Error connecting to remote server

We are trying to access the SQL Server from behind an ISA 2004 firewall.
Even though I have created a rule for port 1433 on ISA 2004, I wonder if
there is something still missing at the ISA 2004 that I need to do.

Many Thanks

Regards

"densial" wrote in message
news:1189754261.882976.147900@r34g2000hsd.googlegr oups.com...
> On Sep 14, 4:57 pm, "John" wrote:
>> Hi
>>
>> I am trying to cerate a System DSN (in ODBC Data Source Administrator)
>> for a
>> remote SQL Server. I am getting the below error message;
>>
>> Connection failed:
>> SQL State: '01000'
>> SQL Server Error: 14
>> [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Invalid
>> Instance())
>> Connection failed:
>> SQL State: '08001'
>> SQL Server Error: 14
>> [Microsoft][ODBC SQL Server Driver][DBNETLIB]Invalid Connection
>>
>> What is the problem and how can I fix it?
>>
>> Thanks
>>
>> Regards

>
> the remote server isn't running sql as a named instance is it?
>



Reply With Quote
  #5  
Old 09-14-2007, 05:38 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Error connecting to remote server

On Sep 14, 8:49 pm, "John" wrote:
> We are trying to access the SQL Server from behind an ISA 2004 firewall.
> Even though I have created a rule for port 1433 on ISA 2004, I wonder if
> there is something still missing at the ISA 2004 that I need to do.
>
> Many Thanks
>
> Regards
>
> "densial" wrote in message
>
> news:1189754261.882976.147900@r34g2000hsd.googlegr oups.com...
>
> > On Sep 14, 4:57 pm, "John" wrote:
> >> Hi

>
> >> I am trying to cerate a System DSN (in ODBC Data Source Administrator)
> >> for a
> >> remote SQL Server. I am getting the below error message;

>
> >> Connection failed:
> >> SQL State: '01000'
> >> SQL Server Error: 14
> >> [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Invalid
> >> Instance())
> >> Connection failed:
> >> SQL State: '08001'
> >> SQL Server Error: 14
> >> [Microsoft][ODBC SQL Server Driver][DBNETLIB]Invalid Connection

>
> >> What is the problem and how can I fix it?

>
> >> Thanks

>
> >> Regards

>
> > the remote server isn't running sql as a named instance is it?


that error msg Invalid Instance() makes me think your
providor is using a named instance, just ask them if they are, then
reference your server as "servername\instancename" (check the slash
direction, can't remember off hand if it's forward or backward).
Another issue could be the port number, try either "servername,1433"
or "servername\instancename,1433" as your server address. this is
often a problem if your using load balanced sql server. also there's
somestuff about the server knowing which port to reply on (for
sql2005), but this is a bit more complex and sometimes requires some
server side config in awkward situations, anyways if it's 2k5 your
connecting to read up about sqlbrowser replying to the client on port
1434 instead of 1433.

Reply With Quote
  #6  
Old 03-14-2009, 01:30 PM
Database Newbie
 
Join Date: Mar 2009
Posts: 1
steelydan is on a distinguished road
Default Re: Error connecting to remote server

THis worked perfectly - I used the servername\instancename,portnumber
I used port 1433 and it worked after spending literally 6 hours trying to figure this out. Thanks for the help !!

Steely Dan
Reply With Quote
  #7  
Old 10-06-2009, 07:57 AM
Database Newbie
 
Join Date: Oct 2009
Posts: 1
kulajay99 is on a distinguished road
Smile Re: Error connecting to remote server

Thanks, servername\instancename,portnumber helped me connect my remote database.
Reply With Quote
  #8  
Old 12-13-2009, 02:07 PM
Database Newbie
 
Join Date: Dec 2009
Posts: 1
obetho82 is on a distinguished road
Talking Re: Error connecting to remote server

Thank you very much, I spend more than 3 hours trying to solve this, thank you very much.

But I dont have clear which was the problem.

Best regards and thanks.
Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 11:42 PM.