Solved

RDP connection error: An Error (193) occurred while creating user logon...

Posted on 2007-03-19
7
5,775 Views
Last Modified: 2013-11-21
I have created a RDP connection to our application server that will start a .mdb file. Unfortunately, I am receiving this error when I try to connect:

An Error (193) occurred while creating user logon...

Within the Programs tab on RDP I have filled in:

Program path and file name:
CRM.mdb

Start in the following folder:
D:\AccessDatabases

What am I doing wrong?

Thank you!
0
Comment
Question by:afoedit
  • 3
  • 3
7 Comments
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
Is D a mapped drive?

You might try running access.exe
and using D:\AccessDatabases\CRM.mdb as a parameter
0
 
LVL 25

Expert Comment

by:Ron M
Comment Utility
Alot easier just to put a shortcut to the database in the "%alluserprofile%\start menu\programs\startup" folder on the terminal server.
0
 

Author Comment

by:afoedit
Comment Utility
I do not have D:\ mapped on my local machine
D: is a separate local hard drive on the application server running terminal services.

The need is to have multiple users run the database file from an RDP connection on their desktop. Currently, I have the database file store on the application server within the local hard drive D: within the folder AccessDatabases. The file name is CRM.mdb

I have tried, now:

Program path and file name:
D:\AccessDatabases\CRM.mdb

Start in the following folder:
D:\AccessDatabases\

But, I still receive the same error. What I am doing wrong?

Thanks!

0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
Will xuserx2000's suggestion of dropping a shortcut in the profile startup work for you?
0
 

Author Comment

by:afoedit
Comment Utility
Also, the problem with running the program from the startup menu is some users run multiple programs from RDP on the app server. I will need seperate RDP links for seperate programs.

I am thinking there's got to be a way to start the database file from RDP.
0
 

Author Comment

by:afoedit
Comment Utility
Ok. I tried using a batch file and that seems to work. I have the RDP opening the crm.bat, and the crm.bat runs the .mdb file. The batch file reads like this:

@echo off
D:\AccessDatabases\CRM.mdb

My only problem right now is when running the RDP i see the DOS screen pop up with the Access database file. Is there a way to hide the DOS window?

Thanks!
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
Comment Utility
You could use a vbs instead...
save as crm.vbs

CreateObject("wscript.shell").run "D:\AccessDatabases\CRM.mdb", 0
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Several part series to implement Internet Explorer 11 Enterprise Mode
Companies keep a much closer eye on costs today, so changing to new Technology – Microsoft Office 365 is the smartest move to take.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now