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!
afoeditAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sirbountyCommented:
Is D a mapped drive?

You might try running access.exe
and using D:\AccessDatabases\CRM.mdb as a parameter
0
Ron MalmsteadInformation Services ManagerCommented:
Alot easier just to put a shortcut to the database in the "%alluserprofile%\start menu\programs\startup" folder on the terminal server.
0
afoeditAuthor Commented:
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
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

sirbountyCommented:
Will xuserx2000's suggestion of dropping a shortcut in the profile startup work for you?
0
afoeditAuthor Commented:
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
afoeditAuthor Commented:
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
sirbountyCommented:
You could use a vbs instead...
save as crm.vbs

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.