473,396 Members | 1,764 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.

Problems connecting to MS SQL via Access2000 adp

For the past several projects, I have been using an Access 2000 .adp file to
create and manage the database on the remote SQL Server. It has worked very
well for me and is a very fast, simple way to take care of minor updates.

A new project is not going so well, though. No matter what I try, I can not
get a connection established. This project is on a server I do not control,
so I am having to work only with the information provided to me by the
admin.

Using an online admin tool provided by the server administrator, I am able
to log in and view the database and make edits via manually written SQL
statements. However, using the server name provided and the same login info,
I am unable to establish a connection through Access.

The admin also told me to use a file-based DSN connection in my ASP pages; I
have always used DSN-less in the past, and can not figure out why a DSN
would be required. Could there be any connection between this and not being
able to connect via Access?

Any suggestions or ideas would be appreciated.

Thank you.
Paul
Jul 22 '05 #1
3 1285
I would guess that the sql server is hidden behind a firewall.

Odds are it's only accessible through the interface they gave you.

I'd stick with the DSNLess connection you're used to.

TomB
"Paul" <no****@mydomain.com> wrote in message
news:e5**************@TK2MSFTNGP14.phx.gbl...
For the past several projects, I have been using an Access 2000 .adp file
to create and manage the database on the remote SQL Server. It has worked
very well for me and is a very fast, simple way to take care of minor
updates.

A new project is not going so well, though. No matter what I try, I can
not get a connection established. This project is on a server I do not
control, so I am having to work only with the information provided to me
by the admin.

Using an online admin tool provided by the server administrator, I am able
to log in and view the database and make edits via manually written SQL
statements. However, using the server name provided and the same login
info, I am unable to establish a connection through Access.

The admin also told me to use a file-based DSN connection in my ASP pages;
I have always used DSN-less in the past, and can not figure out why a DSN
would be required. Could there be any connection between this and not
being able to connect via Access?

Any suggestions or ideas would be appreciated.

Thank you.
Paul

Jul 22 '05 #2
Tom,

Thanks for the reply. That confirms my thoughts. I find it interesting they
would hide it while the provider I usually use, a major hosting provider,
allows connections via 1433 directly to their SQL Server.

Paul

"Tom B" <sh*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I would guess that the sql server is hidden behind a firewall.

Odds are it's only accessible through the interface they gave you.

I'd stick with the DSNLess connection you're used to.

TomB

Jul 22 '05 #3
If that's the problem, then you can specify the port you want to use in your
connection string. Ask the host what port is open in their firewall. See
http://www.carlprothman.net/Default.aspx?tabid=81 for an example of a
connection string in which the port is specified.

Bob Barrows

Paul wrote:
Tom,

Thanks for the reply. That confirms my thoughts. I find it
interesting they would hide it while the provider I usually use, a
major hosting provider, allows connections via 1433 directly to their
SQL Server.

Paul

"Tom B" <sh*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I would guess that the sql server is hidden behind a firewall.

Odds are it's only accessible through the interface they gave you.

I'd stick with the DSNLess connection you're used to.

TomB


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Brad Pears | last post by:
Our graphic designer is developing our new company website. We have switched providers and currently she is working on the new website which currently ressides on the new providers server as they...
2
by: William F. O'Neill | last post by:
Have just upgraded my home installation of Oracle 10g. Was using 9i. The installation seemed to go fine, but with all the documentation, I'm having a hard time getting the Enterprise Manager to...
1
by: Mansoor Azam | last post by:
We connect to a SQL 6.5 server (IP for example 202.64.213.11) on WIN NT using ODBC DSN and / or SQL Client (DB-LIB). Everthing was working fine then the some XP client machines (192.168.0.1 and...
1
by: Adi Sapir | last post by:
Hi, We're currently planning to migrate from SQL Auth to Windows Auth. Personally, I do not have too much experience with Windows authentication but have heard that there are some problems when...
1
by: Mario Crevits | last post by:
My name is Mario Crevits, I'm from Belgium (Roeselare) and I'm working with Access97 for several years now. We are in an Access97-2000 migration project. I'm writing a wizard for the end-users to...
4
by: CodeImp | last post by:
A simple app I quickly wrote to try getting info from a database. Here is the first part of its code. The rest of the code is irellevant. using System; using System.Data; using...
1
by: Srinivas | last post by:
Hi, I am using ASP.NET SmtpMail to send email using the following code public void SendEmail(string From, string To, string Subject, StringBuilder Message, string Attachment, string...
6
by: alanpike | last post by:
Using SendObject in an Access2000 macro, I can send a report as an email attachment to MS Outlook. I would like the capability to have the person reading the attached email report to somehow...
3
by: olle | last post by:
How to deal with a VBA-project that is damaged? Hi everyone. I am BigOlle from sweden and I have been working with Accees for ten years I am now working on a project that started in Access97...
1
by: acphiri | last post by:
Hello, I am doing my introduction in programming VB6.0.I am finding difficulties in connecting VB6 with Access 2000.Anyone to help please?I'll greatly appreciate. Andrew
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.