MoreThanDoubled
asked on
Run-time error 339
I have an existing application on a terminal server that has been running with no problems until today.
I get a "MSCOMCT2.OCX or one of its dependencies not correctly registered: a file is missing or invalid" error.
1. What can cause this error
2. How can i fix it
I am running on Windows XP, Visual Basic 6
Thanks
MorethanDouble.
I get a "MSCOMCT2.OCX or one of its dependencies not correctly registered: a file is missing or invalid" error.
1. What can cause this error
2. How can i fix it
I am running on Windows XP, Visual Basic 6
Thanks
MorethanDouble.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
"I also noticed that one person can run the application and the error does not occur": That person has the control on the computer.
The file may not be in other user's computer at all. Do a search for the file. It normally resides in the c:\Windows\System32 folder, if it does exists. You can try to copy one from another machine and manually register it.
In general, the file MSCOMCT2.OCX needs to be included in your deployment package and be placed in the users' c:\Windows\System32 folder. It will be self-registered if included in the package.
The file may not be in other user's computer at all. Do a search for the file. It normally resides in the c:\Windows\System32 folder, if it does exists. You can try to copy one from another machine and manually register it.
In general, the file MSCOMCT2.OCX needs to be included in your deployment package and be placed in the users' c:\Windows\System32 folder. It will be self-registered if included in the package.
ASKER
The file may not be in other user's computer at all. Do a search for the file. It normally resides in the c:\Windows\System32 folder, if it does exists. You can try to copy one from another machine and manually register it.
... The application is located (installed) on a terminal server (one location..accessable to all) ..
I have the necessary files on my computer ... and still get the error .. while others dont get the error at all.
... The application is located (installed) on a terminal server (one location..accessable to all) ..
I have the necessary files on my computer ... and still get the error .. while others dont get the error at all.
ASKER
Zhaola,
Some of these components were also compressed, so i decompressed them then reregistered and it wo rked.
Thanks
Some of these components were also compressed, so i decompressed them then reregistered and it wo rked.
Thanks
ASKER