Access ADP Project - (disconnected)

J

John DeBoer

I have 10 people on a network who all use copies of the same .ADP project to
connect to SQL Server. I have full admin rights, both to the network
(domain) and SQL Server and have no problem with this .ADP file on any
computer but one Windows 2003 server. This server runs office and is used as
a sort of service that periodically emails and faxes reports out of the .adp
file.

I recently updated antivirus, sypware, Windows, Office and now when I open
the .ADP file I don't see any tables and it says (disconnected) in the title
bar. I've confirmed that the connection still works via the test connection
button. Also, I can still see the network. I have no problem on any other
computer when logging into the same domain with the same user account so it
can't be a user rights issue.

Any ideas? Thanks!
 
V

Vadim Rapp

JD> I recently updated antivirus, sypware, Windows, Office and now when I
JD> open the .ADP file I don't see any tables and it says (disconnected) in
JD> the title bar.

perhaps a firewall?

Those security patches are in fact quite dangerous. You receive all sorts of
alerts when the next "security breach" is discovered; but you don't receive
a word when later they discover that their overnight fix broke windows. MS
issues an article on the support site, but you don't know it's there. The
probability to become a victim of the security breach is some fraction of
one percent; the probabiltiy to become a victim of the bug in the fix of the
breach is 100%.

Vadim Rapp
 
S

Sylvain Lafontaine

I have seen some other people having trouble with ADP 2003 on Windows 2003
Server and being unable to find a solution.

The only suggestion that I can make is to try with a full recompilation of
all modules by using the /decompile switch. Make sure also that there is no
missing or outdated reference. You can also create an empty ADP file and
imports everything into it, to make sure that nothing old or strange remains
there.

There is a newsgroup about ADP: m.p.access.adp.sqlserver .
 
J

John DeBoer

Thanks for the replys. The problem is that the project runs fine on another
machine so it doesn't seem to be a compilation issue. Just incase, I tried
recompiling and it didn't fix it. I looked for the /decompilation switch and
couldn't find it. Was that something added in Office 2003? This is still a
2002 project. Maybe if I upgrade the problem will go away... but that'll
cost a lot.

The other angle, in an earlier reply, was that the windows update caused a
problem. I share your frusteration with the havoc that the windows updates
cause but I dont think this is the case here. I have another, identical,
computer that is also completely up to date and it isn't having the same
problem.

Does anybody know enough about the (disconnected) status to be able to
explain why I could successfully test my connection but still remain in
disconnected status?

Thanks, all, for your help!
 
J

John DeBoer

Thanks for the replies.

The problem only happens on one computer so I'm afraid that the
recompilation won't work. Since I'm desperate, though, I gave it a try. It
didn't work but I couldn't find the /decompilation switch. Is that a 2003
thing? I'm still in 2002.

I can relate to the frusteration implicit in the previous post regarding
Windows Update but I don't think that is the culpret either. I have this
project running on an identical computer which is also fully up-to-date. And
the Connection Test button works.

Can anybody explain how the Test Connection button would work but the
project would not connect? I'm using the windows authentication method (same
user on both computers) so it isn't anything that is user specific.

Thanks, all, for your help!
 
J

John DeBoer

Thanks for the replies.

The problem only happens on one computer so I'm afraid that the
recompilation won't work. Since I'm desperate, though, I gave it a try. It
didn't work but I couldn't find the /decompilation switch. Is that a 2003
thing? I'm still in 2002.

I can relate to the frusteration implicit in the previous post regarding
Windows Update but I don't think that is the culpret either. I have this
project running on an identical computer which is also fully up-to-date. And
the Connection Test button works.

Can anybody explain how the Test Connection button would work but the
project would not connect? I'm using the windows authentication method (same
user on both computers) so it isn't anything that is user specific.

Thanks, all, for your help!
 
S

Sylvain Lafontaine

For the /decompile switch, it's a startup parameter. You must create a
shortcut to MSACCESS.EXE and add this switch in the property of the
shortcut.
 
S

Sylvain Lafontaine

An easier way than the /decompile parameter to force a recompilation of all
modules is simply to add a dummy reference in the References dialog window
of the VBA window. Close this references dialog window to make sure that
Access notice the change, re-open it again and remove the previously added
dummy reference. Access will notice the change in references and recompile
all modules. After this step, you can also use the option Recompile under
the Debug menu to make sure that everything is fine.
 
V

Vadim Rapp

Hello,
You wrote on Tue, 3 May 2005 10:02:06 -0700:

JD> Thanks for the replies.

JD> The problem only happens on one computer so I'm afraid that the
JD> recompilation won't work. Since I'm desperate, though, I gave it a
JD> try. It didn't work but I couldn't find the /decompilation switch. Is
JD> that a 2003 thing? I'm still in 2002.

run network monitor, it wil show ip traffic and what does not get through.
Must be something related to security - firewall, or ipsec.

Vadim Rapp
 
V

Vadim Rapp

also, check what protocol is used to connect to sql server - use odbc applet
for that.
 
B

Brendan

Hi John,

I have an identical issue to what you were experiencing. Did you have any
success getting this going? I would be very grateful if you could provide
any further information.

Regards,
Brendan.
 
A

aaron.kempf

can that machine and that user make a simple MDB-odbc linked
connection?

you sure it's not much much simpler problem??
security, connectivity?

can you try to install SQL Server client tools on this box and see if
you can get a connection??

I love ADP; i wish that I was there to help you; im sure i could get it
working in a couple of minutes

-aaron
 
J

John DeBoer

Brendan,

I'm not sure if you are replying to a post that I put on there some time ago
or not... the original message seems to be gone and I was never notified of a
post. No, my problem still exists and I'd be very grateful for some help.

My issue is with an ADP project that connects to SQL Server. The project
works on every other computer using the same userID to log into the same
domain. I successfully test the connection and am able to see the database
when I do a straight .MDB database linking to SQL. I've re-installed MS
Office.

Like Aaron, I love ADP projects and have always had a lot of success with
them. I agree that the problem seems simple to fix but I'm stumped.

The only other things that are on this XP machine are Symantec AV, Adaware
and GFI Faxmaker Faxserver.
 
S

Sylvain Lafontaine

Can you provide us with more details other than just saying that you have an
issue with an ADP project?
 
J

John DeBoer

Oops, sorry. My ADP project shows "(disconnected)" in the tittle bar and I
am not able to see any tables. Seems like a simple authority / connection
issue, right? However, I'm using windows authentication and the same userID
works on other computers with the same project, logging into the same domain
and the same SQL server. Also, if I go into the connections area and test
the connection I am able to successfully test the connection.

Thanks for your help!
 
S

Sylvain Lafontaine

If this happens on a single machine, I would say that there is something
wrong with it: you should try reinstalling Office or even the whole stuff.

It is also possible that there is an hardware problem with the network card
or with the VPN. If there is a lot of garbage going through this network
card, ADP will be able to connect but may time-out when it will try to
retrieve the list of all objects in the database. I've seen something
similar with Enterprise Manager one year ago: the VPN was wrongly configured
with two tunnels between a sub-network and the outside machine: EM was able
to login but enable to do anything after that.

You should take a closer look on the network and on the SQL-Server with the
Profiler.
 
A

aaron.kempf

a) have you tried sql authentication
b) have you tried installing latest MDAC
c) have you tried reinstalling office service pack (this works wonders;
especially for OWC problems)
d) have you tried using an IP instead of the sqlserver name?
 

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