PC Review


Reply
Thread Tools Rate Thread

Access 2007 ADP project will not connect to SQL Server 2008

 
 
Chris Woodard
Guest
Posts: n/a
 
      2nd Oct 2009
Ok, let me get the technical specs out of the way:

I have SQL Server 2008 on one server on my network. I configured a specific port, punched it through the firewall, and I can connect to this server using ODBC or SQL Management Studio using the following info: tcp:<servername>,tcp port. This works fine with these two.

The issue is when I try to connect with an Access 2008 ADP. When I put the server name in as tcp:<servername>,tcp port I get "dbnetlib sql server does not exist or access denied". Can anyone tell me why? Is this just because an ADP cannot connect this way? I am trying to keep this as secure as possible and am trying to do this without using the SQL Browser. Is the SQL Browser a must in this case?

Any help will be very much appreciated.

EggHeadCafe - Software Developer Portal of Choice
WPF DataGrid Custom Paging and Sorting
http://www.eggheadcafe.com/tutorials...tom-pagin.aspx
 
Reply With Quote
 
 
 
 
Sylvain Lafontaine
Guest
Posts: n/a
 
      2nd Oct 2009
First, double check that you didn't make any error about the servername and
its port. If this doesn't work, try using its tcp address directly instead
of its network name. This last point is often important if your SQL-Server
is running on a cluster. If this doesn't work either, then create an alias
in the client's SQL Server Configuration Manager and use it instead.

If this still doesn't work, then probably that you'll have to take a deeper
look at your firewall.

--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)


<Chris Woodard> wrote in message news:(E-Mail Removed)...
> Ok, let me get the technical specs out of the way:
>
> I have SQL Server 2008 on one server on my network. I configured a
> specific port, punched it through the firewall, and I can connect to this
> server using ODBC or SQL Management Studio using the following info:
> tcp:<servername>,tcp port. This works fine with these two.
>
> The issue is when I try to connect with an Access 2008 ADP. When I put
> the server name in as tcp:<servername>,tcp port I get "dbnetlib sql server
> does not exist or access denied". Can anyone tell me why? Is this just
> because an ADP cannot connect this way? I am trying to keep this as
> secure as possible and am trying to do this without using the SQL Browser.
> Is the SQL Browser a must in this case?
>
> Any help will be very much appreciated.
>
> EggHeadCafe - Software Developer Portal of Choice
> WPF DataGrid Custom Paging and Sorting
> http://www.eggheadcafe.com/tutorials...tom-pagin.aspx



 
Reply With Quote
 
Chris Woodard
Guest
Posts: n/a
 
      2nd Oct 2009
Ok, I got this connection to work by turning on the SQL Server Browser. Is
this a necessity? Everything seemed appropriate without the browser using
tcp:<server>,Port. I just could not understand why I could connect via
Management Studio from another PC without the browser, but could not connect
via Access without the browser. I figure it has something to do with the
ADPs way off connecting verses Management Studio or a simple DSN.

Thanks for the help and if you have any insight on this, please throw it my
way.

Chris.


"Sylvain Lafontaine" wrote:

> First, double check that you didn't make any error about the servername and
> its port. If this doesn't work, try using its tcp address directly instead
> of its network name. This last point is often important if your SQL-Server
> is running on a cluster. If this doesn't work either, then create an alias
> in the client's SQL Server Configuration Manager and use it instead.
>
> If this still doesn't work, then probably that you'll have to take a deeper
> look at your firewall.
>
> --
> Sylvain Lafontaine, ing.
> MVP - Windows Live Platform
> Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
> Independent consultant and remote programming for Access and SQL-Server
> (French)
>
>
> <Chris Woodard> wrote in message news:(E-Mail Removed)...
> > Ok, let me get the technical specs out of the way:
> >
> > I have SQL Server 2008 on one server on my network. I configured a
> > specific port, punched it through the firewall, and I can connect to this
> > server using ODBC or SQL Management Studio using the following info:
> > tcp:<servername>,tcp port. This works fine with these two.
> >
> > The issue is when I try to connect with an Access 2008 ADP. When I put
> > the server name in as tcp:<servername>,tcp port I get "dbnetlib sql server
> > does not exist or access denied". Can anyone tell me why? Is this just
> > because an ADP cannot connect this way? I am trying to keep this as
> > secure as possible and am trying to do this without using the SQL Browser.
> > Is the SQL Browser a must in this case?
> >
> > Any help will be very much appreciated.
> >
> > EggHeadCafe - Software Developer Portal of Choice
> > WPF DataGrid Custom Paging and Sorting
> > http://www.eggheadcafe.com/tutorials...tom-pagin.aspx

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Access 2007 adp project files with SQL Server 2008 Express AppleBonker Microsoft Access ADP SQL Server 3 2nd Oct 2009 08:58 PM
Trying to connect BCM 2007 to SQL Server 2008 VBStudioLosAngeles Microsoft Outlook BCM 0 12th Aug 2009 07:58 PM
Can't get Outlook 2007 Small Business Manager to connect with SQL server 2008 Scott M Microsoft Outlook 2 7th Apr 2009 06:45 AM
Access 2007 Project Can't connect to SQL Server 2005 on my machine =?Utf-8?B?V2ViRGV2Mg==?= Microsoft Access 2 21st Sep 2007 02:28 PM
Access Project connect to SQL Server =?Utf-8?B?RG9uYWxkIEtpbmc=?= Microsoft Access External Data 7 12th Jul 2005 12:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:45 PM.