Configure Access project for different SQL Server port?

F

facklis

I have a Microsoft Access Project and would like to
connect to SQL Server 2000 on an internal network.
However, since the SQL Slammer worm, our internal routers
block the default port SQL Server listens on, 1433.

How can I configure my Microsoft Access Project to
connect to SQL Server on a different port? Is this
possible?

Your help is greatly appreciated.
 
F

facklis

Thanks for your response.

I know that SQL Server can be configured to listen on a
different port, but can Access projects (adp files) be
configured to communicate on the new port that is set in
SQL Server.

That's the question.

Thanks.
 
S

Sylvain Lafontaine

Did you try to add the port (separated by a comma) after the name (location)
of the server?

S. L.
 
F

facklis

Yes, I did try this in the Access project
File/Connection... menu, Data Link Properties dialog, on
the Connection tab, in the "1. Select or enter a server
name" text box.

And it didn't work =(.

Any other suggestions?

Thanks.
 
F

facklis

Alex,

Thanks for your suggestion. I tried running the SQL
Server Client Network Utility and adding an alias, both
using the default port (1433), and by having the port be
dynamically determined.

I couldn't connect to SQL Server from my Access project
when it is running on the same machine using the alias!

I am setting the alias name in the Access project
File/Connection... menu, Data Link Properties dialog, on
the Connection tab, in the "1. Select or enter a server
name" text box.

And it didn't work =(.

Any other suggestions?

Thanks.
 
A

Alex Dybenko

Hi,
in Server Client Network Utility you have to specify a port which SQL server
configured to, not default or dynamic

then try to connect to this port using telnet - if telnet connects - then
access should also connects with correctly defined alias

--
Best regards,
___________
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com
 
M

Malcolm Cook

Hmmm. This DOES work for me. Try again!?!?!


facklis said:
Yes, I did try this in the Access project
File/Connection... menu, Data Link Properties dialog, on
the Connection tab, in the "1. Select or enter a server
name" text box.

And it didn't work =(.

Any other suggestions?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top