Solved

Turn off dde for access 2003 in server 2008

Posted on 2010-11-25
16
2,233 Views
Last Modified: 2013-11-29
I'm getting the "There was a problem sending the command to the program" error when running an access 2003 database from the desktop on a server 2008 terminal server. I have checked and unchecked all the combinations on the advanced tab of the database and cannot get the message to go away. Where do I get rid of the dde process in this environment. On server 2008 the folder options, file association tab doesn't look like the older versions where you have a dde option. I guess it's somewhere in the registry, but I can't for the life of me find out where to go.
0
Comment
Question by:breauxlg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 3
  • 2
16 Comments
 

Author Comment

by:breauxlg
ID: 34227518
Thanks.
0
 
LVL 84
ID: 34430630
Do you get this error while you're performing any specific task - for example, does it occur when you Open a Form, or when you enter data in a control, etc etc?

Have you performed maintenence on the database (i.e. Compact, Compile, Decompile, etc)?

0
 

Author Comment

by:breauxlg
ID: 34430660
The database basically just opens, runs a procedure, and closes. The prodecure runs and performs the intended function, but the message still appears. After clicking OK, it goes away, but it confuses the users to have that message pop up evertime the database runs. Thanks for caring enough to respond, by the way.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:breauxlg
ID: 34430664
I have tried decompiling and recompiling, compacting and repairing, etc. to no avail.
0
 
LVL 84
ID: 34430679
What's the procedure? What does it do?
0
 

Author Comment

by:breauxlg
ID: 34519108
It just copies a front-end database to the desktop of the user.
0
 
LVL 84
ID: 34520263
Can you post the code that causes the error?
0
 

Author Comment

by:breauxlg
ID: 34536892
Here's the little database that generates the error. It does not generate the error on Server 2003.  BackupLoadWorks.zip
0
 
LVL 1

Expert Comment

by:jbodager
ID: 34548060
try going to this registry key:  HKEY_CLASSES_ROOT\Access.MDBFile\shell\Open\ddeexec

change the key name "ddeexec" to "NOddeexec".

I had a very similar problem and it fixed my issue.  My co-worker helped me with this issue.  We found that the ability to turn off DDE in Access was removed in current versions of windows, so you need to go into the registry to do it.  changing "ddeexec" to "NOddexec" is kink of a hack, but it worked.

good luck.
0
 

Author Comment

by:breauxlg
ID: 34557444
jbodager - There is no key in the registry at that point. I don't have Access.MDBFile under HKEY_CLASSES_ROOT. That looked hopeful, though.
0
 
LVL 1

Accepted Solution

by:
jbodager earned 500 total points
ID: 34595605
0
 

Author Comment

by:breauxlg
ID: 34604410
I found the access.application registry entry and renamed the ddeexec to noddeexec and the message went away. Thanks jbodager.
0
 

Author Closing Comment

by:breauxlg
ID: 34604418
I'm just glad someone was still looking at my problem. Thanks.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question