Link to home
Start Free TrialLog in
Avatar of afoedit
afoedit

asked on

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

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!
Avatar of sirbounty
sirbounty
Flag of United States of America image

Is D a mapped drive?

You might try running access.exe
and using D:\AccessDatabases\CRM.mdb as a parameter
Alot easier just to put a shortcut to the database in the "%alluserprofile%\start menu\programs\startup" folder on the terminal server.
Avatar of afoedit
afoedit

ASKER

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!

Will xuserx2000's suggestion of dropping a shortcut in the profile startup work for you?
Avatar of afoedit

ASKER

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.
Avatar of afoedit

ASKER

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!
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial