472,805 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 software developers and data experts.

Please help - Problem registering OCX Files

Ok, im familiar with typical troubleshooting of this type on problem, but I
do not do any programming myself. Im hoping you guys can help me with an
install problem that I am having.

I have an application that fails to register 2 .ocx files during
installation. The OS is Windows Server 2003 running as a terminal server.
I have since tried to install the same application in Windows 2000 Terminal
server and it worked fine. SO im guessing some version of a .dll that these
..ocx files were dependent on has changed.

How do I dertermine which files, if any are causing the trouble?

I tried to manually register these files using regsvr32.exe, but it fails
with a 0x80040200 error.

The developer is not any help, as now he claims that his app has not been
tested in 2003, which he originally said would work.

Any help would be greatly appreciated.
Jeff Foster
jfoster .at. aasdifference.com
Jul 17 '05 #1
3 14985
My theory is that the OCX that the installation is trying to register
already exists in Windows Server (or one of the intalled applications) with
a newer version number as the one it is attempting to register.

Usually (not sure from OS to OS however) you can ignore those as the
application will simply try to use the one from the OS. (The problem that
might occur is functionality conflict.

A possible answer to this (may not work for all situation but it did work
once or twice for me, is to change the name of the faulty OCX files so that
they dont conflict with what's already existing. (some are dependant on the
name of the OCX and will not work if changed, others seem to allow
themselves to be renamed).

If the OCX is one supplied by microsoft VB itself (or a 3rd party vendor
Custom ActiveX control) then you might want to email the makers of the OCX
with your situation and asking them if they know about this issue and how to
go about registering it. In the installation script used you might want to
add version checking when installing any or all DLL files and OCX it
installs.

--

"Stangonline.com" <in**@stangonline.com> wrote in message
news:_H********************@twister.tampabay.rr.co m...
Ok, im familiar with typical troubleshooting of this type on problem, but I do not do any programming myself. Im hoping you guys can help me with an
install problem that I am having.

I have an application that fails to register 2 .ocx files during
installation. The OS is Windows Server 2003 running as a terminal server.
I have since tried to install the same application in Windows 2000 Terminal server and it worked fine. SO im guessing some version of a .dll that these .ocx files were dependent on has changed.

How do I dertermine which files, if any are causing the trouble?

I tried to manually register these files using regsvr32.exe, but it fails
with a 0x80040200 error.

The developer is not any help, as now he claims that his app has not been
tested in 2003, which he originally said would work.

Any help would be greatly appreciated.
Jeff Foster
jfoster .at. aasdifference.com

Jul 17 '05 #2
What is the message with the 0x80040200 error? Did the files get copied to the
system32 folder? Were they already there? Does the program itself fail to run?

I once had trouble with msbind.dll and the flex grid .ocx, and was able to
"solve" the problem by making a separate installation that just installed those
two files. Didn't ask why that should make a difference - didn't want to know.

"Stangonline.com" <in**@stangonline.com> wrote in message
news:_H********************@twister.tampabay.rr.co m...
Ok, im familiar with typical troubleshooting of this type on problem, but I
do not do any programming myself. Im hoping you guys can help me with an
install problem that I am having.

I have an application that fails to register 2 .ocx files during
installation. The OS is Windows Server 2003 running as a terminal server.
I have since tried to install the same application in Windows 2000 Terminal
server and it worked fine. SO im guessing some version of a .dll that these
.ocx files were dependent on has changed.

How do I dertermine which files, if any are causing the trouble?

I tried to manually register these files using regsvr32.exe, but it fails
with a 0x80040200 error.

The developer is not any help, as now he claims that his app has not been
tested in 2003, which he originally said would work.

Any help would be greatly appreciated.
Jeff Foster
jfoster .at. aasdifference.com

Jul 17 '05 #3
I've been working on a solution, to no avail. My best guess is that this
ocx depends on mfc42.dll, as this is one of the dll files that setup tries
to copy into the system32 folder. I believe that file protection in 2003
server is preventing the installation of the older version of the .dll,
causing the ocx not to register.

Tried contacting who I think is the vendor, no response. The 2 files are
cscmd32.ocx and cstext32.ocx.

Thanks
Jeff

"Stephane Richard" <st**************@verizon.net> wrote in message
news:Le******************@nwrdny02.gnilink.net...
My theory is that the OCX that the installation is trying to register
already exists in Windows Server (or one of the intalled applications) with a newer version number as the one it is attempting to register.

Usually (not sure from OS to OS however) you can ignore those as the
application will simply try to use the one from the OS. (The problem that
might occur is functionality conflict.

A possible answer to this (may not work for all situation but it did work
once or twice for me, is to change the name of the faulty OCX files so that they dont conflict with what's already existing. (some are dependant on the name of the OCX and will not work if changed, others seem to allow
themselves to be renamed).

If the OCX is one supplied by microsoft VB itself (or a 3rd party vendor
Custom ActiveX control) then you might want to email the makers of the OCX
with your situation and asking them if they know about this issue and how to go about registering it. In the installation script used you might want to
add version checking when installing any or all DLL files and OCX it
installs.

--

"Stangonline.com" <in**@stangonline.com> wrote in message
news:_H********************@twister.tampabay.rr.co m...
Ok, im familiar with typical troubleshooting of this type on problem, but
I
do not do any programming myself. Im hoping you guys can help me with

an install problem that I am having.

I have an application that fails to register 2 .ocx files during
installation. The OS is Windows Server 2003 running as a terminal server. I have since tried to install the same application in Windows 2000

Terminal
server and it worked fine. SO im guessing some version of a .dll that

these
.ocx files were dependent on has changed.

How do I dertermine which files, if any are causing the trouble?

I tried to manually register these files using regsvr32.exe, but it fails with a 0x80040200 error.

The developer is not any help, as now he claims that his app has not been tested in 2003, which he originally said would work.

Any help would be greatly appreciated.
Jeff Foster
jfoster .at. aasdifference.com


Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kelly G. | last post by:
I need to register a Vb DLL under restricted acess privilages please provide me a solution. Here is the complete issue: I building a MSI using Vs.net ,One of the Dll's is Vb Component ( A shim...
0
by: Oleg | last post by:
HI, all. Sorry for posting to so many groups, but I really don't know in which group this question fits best. Anyways, here goes... I have a bunch of DTS packages that my client application...
1
by: Prashanti | last post by:
Hi , I have built a windows application in c sharp which using the methods of COM Object. The application is working fine. Now need to make this application a package to deploy at client...
6
by: Craig G | last post by:
how the hell do i get this to register?!?!? my test pc is running XP & MDAC 2.8 but still it wont register SQLDMO.dll and is therefore preventing my application from running and i dont want...
2
by: Todd | last post by:
Hi Guys, Ive hit a problem that I just can't find a solution to... Ive created an application that downloads images from a digital camera. The application is written in C# and uses the WIA...
0
by: 2Barter.net | last post by:
newsmail@reuters.uk.ed10.net Fwd: Money for New Orleans, AL & GA Inbox Reply Reply to all Forward Print Add 2Barter.net to Contacts list Delete this message Report phishing Show original
1
by: Xh | last post by:
Hi all, I have problem with registering multi XML Schemas Based on: http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.admin.doc/doc/r0022716.htm My commands are: ...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I use "Click Once" Deployment from VS2005. Works like a charm. I have to deploy a console app and an MS Access ADP. The console app invokes the ADP. I copy the ADP to the application files to be...
1
by: samercontrol | last post by:
i have two problems 1-moving files between servers or downloading file to your site root(ASP). 2-registering dll or ocx at server without getting the no permission problem.
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.