Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help !! Required on Terminal Services

Status
Not open for further replies.

manuforhsl

IS-IT--Management
Jun 21, 2002
4
IN
I am using a Windows 2000 Server with Terminal Services enabled.

I have few applications which is running in this server. Which is working fine with Terminal Services. Recently I have installed a VB Application. It is working fine with Administrator Login in Both the Server as well as in Terminal Services Client. But when user is logging in He is able to run the application but some of the Forms deos not load and gives an error "48: Error in Loading DLL". However If I try to re-register the DLL's Or OCX files which is linked to the Form It gives me an Error "DLLRegisterServer in ...(path) return code was: 0x80002801c"

Could anyone throw some light on this !! Please

 
How did you install the applications? After you installed TS? Did you use Add/Remove programs to install the application? James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Log on as Admin.
Uninstall the VB app.
Go to a command-line.
Type "change user /install"
Run the VB app setup program.
When it completes, go to the command-line and type:
"change user /execute"
Log off.
Log on as the non-admin user and test.

When you don't 1) use the Add/Remove Wizard or 2) use the "change user" command, you end up installing the app only for the user that is currently logged on. DLL's only get registered in the HKEY_CURRENTUSER section of the registry. This is bad, usually, and you want to make sure that the app is properly installed for all users, whether currently logged on or not. Following the steps above should solve this.

ShackDaddy
 
Thank U very much Butchrecon and ShackDaddy. I have tried doing the same before posting the question. But none of them are working.

I had uninstalled the VB Application program. Again went with the same process of installing the same. i.e., from the command prompt change user /install and ending the installation with change user /execute. but I am having the same dll problem when it works with normal users.

However I would like to mention that the applicaiton was working fine with the normal users too for couple of days after which we had to install a IIIrd Party Software which is developed in VB and DCOM. After the Installation of this program We are having DLL Error Problem.


Manoj

 
It looks like the program you installed most recently has installed a *dll that is incompatible with the former app.

Try de-installing both apps, then check for any "debris" that has not been removed by the apps.

Re-install the apps in the opposite order, using change user /install as butchrecon and ShackDaddy suggest.

Try also using Filemon and Regmon from These tools should help you track down suspect or missing files.

I hope this helps CitrixEngineer@yahoo.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top