Welcome to MS Vista Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

DLLRegisterServer failed with error code 0x80040200

 
Goto page 1, 2
   MS Vista Forums (Home) -> General Discussions RSS
Next:  windows vulnerability (help)  
Author Message
fniles

External


Since: Apr 11, 2007
Posts: 4



(Msg. 1) Posted: Wed Apr 11, 2007 12:11 pm
Post subject: DLLRegisterServer failed with error code 0x80040200
Archived from groups: microsoft>public>dotnet>languages>vb, others (more info?)

We can not register an ActiveX control on our Vista 32 bit machine.
When we do regsvr32 c:\windows\system32\citcp.ocx (this is a 3rd party
ActiveX control), we got an error: citcp.ocx was loaded but the call to
DLLRegisterServer failed with error code 0x80040200. I can successfully
register MSVBVM60.DLL and MFC42U.DLL. We login to the machine with a user
who is the Administrator.
I read somewhere that I need to turn off the "User Account Control" in
Vista. How can I do that ?
How can I fix this problem ?
Thank you.

 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Karl E. Peterson

External


Since: Apr 11, 2007
Posts: 6



(Msg. 2) Posted: Wed Apr 11, 2007 12:11 pm
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

fniles wrote:
> I read somewhere that I need to turn off the "User Account Control" in
> Vista. How can I do that ?

http://www.google.com/search?q=vista+disable+uac
--
..NET: It's About Trust!
http://vfred.mvps.org

 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Tom Porterfield

External


Since: Feb 01, 2007
Posts: 36



(Msg. 3) Posted: Wed Apr 11, 2007 1:25 pm
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

fniles wrote:
> We can not register an ActiveX control on our Vista 32 bit machine.
> When we do regsvr32 c:\windows\system32\citcp.ocx (this is a 3rd party
> ActiveX control), we got an error: citcp.ocx was loaded but the call to
> DLLRegisterServer failed with error code 0x80040200. I can successfully
> register MSVBVM60.DLL and MFC42U.DLL. We login to the machine with a user
> who is the Administrator.
> I read somewhere that I need to turn off the "User Account Control" in
> Vista. How can I do that ?
> How can I fix this problem ?

Register the component from an elevated command prompt. Right click on the
icon for Command Prompt on the start menu and select Run as Administrator.
You will be prompted by UAC to approve the elevation. Once the command
prompt window is open, run your regsvr32 command from that window and it
should succeed.
--
Tom Porterfield
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
fniles

External


Since: Apr 11, 2007
Posts: 4



(Msg. 4) Posted: Wed Apr 11, 2007 1:25 pm
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you everybody. Following Tom's suggestion worked !
But, how are we going to do it for our end users ? There may be thousands of
them, so we can't just ask them to go to Command Prompt then register the
file manually. To be able to install (using Installshield) and let the
installation register all the ActiveX controls automatically, how can I do
it ?
Do I need to ask the user to turn off their UAC ?

Thanks.


"Tom Porterfield" wrote in message

> fniles wrote:
>> We can not register an ActiveX control on our Vista 32 bit machine.
>> When we do regsvr32 c:\windows\system32\citcp.ocx (this is a 3rd party
>> ActiveX control), we got an error: citcp.ocx was loaded but the call to
>> DLLRegisterServer failed with error code 0x80040200. I can successfully
>> register MSVBVM60.DLL and MFC42U.DLL. We login to the machine with a user
>> who is the Administrator.
>> I read somewhere that I need to turn off the "User Account Control" in
>> Vista. How can I do that ?
>> How can I fix this problem ?
>
> Register the component from an elevated command prompt. Right click on
> the icon for Command Prompt on the start menu and select Run as
> Administrator. You will be prompted by UAC to approve the elevation. Once
> the command prompt window is open, run your regsvr32 command from that
> window and it should succeed.
> --
> Tom Porterfield
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Kevin Provance

External


Since: Apr 11, 2007
Posts: 4



(Msg. 5) Posted: Wed Apr 11, 2007 1:30 pm
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I've discovered that Vista is really picky about this. Turning off the UAC
won't help...it's a registry issue.

If the ActX controls are yours, recompile them, this will register them. If
they are third party, use the installer provided by them to install the
controls. I saw some chap had posted something about creating a batch file
to register his controls and ran the batch control as Admin. I dunno about
this as I've never tried it. I've always used the first two methods.

- Kev

"fniles" wrote in message

| We can not register an ActiveX control on our Vista 32 bit machine.
| When we do regsvr32 c:\windows\system32\citcp.ocx (this is a 3rd party
| ActiveX control), we got an error: citcp.ocx was loaded but the call to
| DLLRegisterServer failed with error code 0x80040200. I can successfully
| register MSVBVM60.DLL and MFC42U.DLL. We login to the machine with a user
| who is the Administrator.
| I read somewhere that I need to turn off the "User Account Control" in
| Vista. How can I do that ?
| How can I fix this problem ?
| Thank you.
|
|
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Rick Raisley

External


Since: Apr 11, 2007
Posts: 4



(Msg. 6) Posted: Wed Apr 11, 2007 2:32 pm
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Just be sure InstallShield is set to Register each of the ActiveX controls.
I mistakenly thought my setup was doing that, but hadn't checked the box, so
it was installing the controls in the System32 folder, but not registering
them. Then, the user gets the error you mention the first time they run the
program. Or if they run it as an Admin, it will self-register then. But it's
best to do it in your install program.

Just check for an option for each control you are using in InstallShield to
register it during the install.

--
Regards,

Rick Raisley

"fniles" wrote in message

> Thank you everybody. Following Tom's suggestion worked !
> But, how are we going to do it for our end users ? There may be thousands
of
> them, so we can't just ask them to go to Command Prompt then register the
> file manually. To be able to install (using Installshield) and let the
> installation register all the ActiveX controls automatically, how can I do
> it ?
> Do I need to ask the user to turn off their UAC ?
>
> Thanks.
>
>
> "Tom Porterfield" wrote in message
>
> > fniles wrote:
> >> We can not register an ActiveX control on our Vista 32 bit machine.
> >> When we do regsvr32 c:\windows\system32\citcp.ocx (this is a 3rd party
> >> ActiveX control), we got an error: citcp.ocx was loaded but the call to
> >> DLLRegisterServer failed with error code 0x80040200. I can successfully
> >> register MSVBVM60.DLL and MFC42U.DLL. We login to the machine with a
user
> >> who is the Administrator.
> >> I read somewhere that I need to turn off the "User Account Control" in
> >> Vista. How can I do that ?
> >> How can I fix this problem ?
> >
> > Register the component from an elevated command prompt. Right click on
> > the icon for Command Prompt on the start menu and select Run as
> > Administrator. You will be prompted by UAC to approve the elevation.
Once
> > the command prompt window is open, run your regsvr32 command from that
> > window and it should succeed.
> > --
> > Tom Porterfield
>
>
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Tom Porterfield

External


Since: Feb 01, 2007
Posts: 36



(Msg. 7) Posted: Wed Apr 11, 2007 2:34 pm
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

fniles wrote:
> Thank you everybody. Following Tom's suggestion worked !
> But, how are we going to do it for our end users ? There may be thousands
> of them, so we can't just ask them to go to Command Prompt then register
> the file manually. To be able to install (using Installshield) and let the
> installation register all the ActiveX controls automatically, how can I do
> it ?
> Do I need to ask the user to turn off their UAC ?

InstallShield should have an option to register a COM component. UAC should
automatically prompt to elevate when the user runs your install package so
the COM registration should succeed.
--
Tom Porterfield
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
fniles

External


Since: Apr 11, 2007
Posts: 4



(Msg. 8) Posted: Wed Apr 11, 2007 2:48 pm
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Installshield is set to register the COM component, and this works in
Win2000 and WinXP, but not in Vista.
I can successfully use the elevated Command Prompt to register each control
manually, but I would like it to be done automatically.
It seems that I need to turn off the UAC and install the application, then I
can turn UAC back on.

Thank you very much for your help.

"Tom Porterfield" wrote in message

> fniles wrote:
>> Thank you everybody. Following Tom's suggestion worked !
>> But, how are we going to do it for our end users ? There may be thousands
>> of them, so we can't just ask them to go to Command Prompt then register
>> the file manually. To be able to install (using Installshield) and let
>> the
>> installation register all the ActiveX controls automatically, how can I
>> do
>> it ?
>> Do I need to ask the user to turn off their UAC ?
>
> InstallShield should have an option to register a COM component. UAC
> should automatically prompt to elevate when the user runs your install
> package so the COM registration should succeed.
> --
> Tom Porterfield
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Rick Raisley

External


Since: Apr 11, 2007
Posts: 4



(Msg. 9) Posted: Wed Apr 11, 2007 4:29 pm
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

InstallShield certainly /should/ register the COM components in Vista,
provided it is run as an Administrator. Most setup programs are recognized
by Vista by their name (setup, install, update) and other properties, and
Vista automatically asks for an admin login. If it doesn't, you can force it
to run as an admin with Run As or with a Manifest file. Either way, if, when
run as an admin, InstallShield is not properly registering the COM
components, then it's InstallShield's fault, not Vista's. It should work,
and does with my installer. You definitely don't need to turn UAC off to
install COM components, and that's probably the last thing you want to have
"thousands of end users" do.

--
Regards,

Rick Raisley
rick DeleteThis @heavymetalpro.com
~~~~~~~~~~~~~~~~~~~
HeavyMetal Software Products
www.heavymetalpro.com

"fniles" wrote in message

> Installshield is set to register the COM component, and this works in
> Win2000 and WinXP, but not in Vista.
> I can successfully use the elevated Command Prompt to register each
control
> manually, but I would like it to be done automatically.
> It seems that I need to turn off the UAC and install the application, then
I
> can turn UAC back on.
>
> Thank you very much for your help.
>
> "Tom Porterfield" wrote in message
>
> > fniles wrote:
> >> Thank you everybody. Following Tom's suggestion worked !
> >> But, how are we going to do it for our end users ? There may be
thousands
> >> of them, so we can't just ask them to go to Command Prompt then
register
> >> the file manually. To be able to install (using Installshield) and let
> >> the
> >> installation register all the ActiveX controls automatically, how can I
> >> do
> >> it ?
> >> Do I need to ask the user to turn off their UAC ?
> >
> > InstallShield should have an option to register a COM component. UAC
> > should automatically prompt to elevate when the user runs your install
> > package so the COM registration should succeed.
> > --
> > Tom Porterfield
>
>
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Herfried K. Wagner [MVP]

External


Since: Apr 11, 2007
Posts: 1



(Msg. 10) Posted: Wed Apr 11, 2007 8:35 pm
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"fniles" schrieb:
> [VB6-related problem]

Please note that "microsoft.public.dotnet.languages.vb" targets the VB.NET
programming language which is not a successor of the VB6 programming
language in technology and syntax. I suggest to choose the correct
newsgroups in future.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
fniles

External


Since: Apr 11, 2007
Posts: 4



(Msg. 11) Posted: Thu Apr 12, 2007 10:05 am
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>If it doesn't, you can force it to run as an admin with Run As or with a
>Manifest file.
How do I do this ?

Thank you.


"Rick Raisley" <rraisley-A-T-harscotrack-D-O-T-com> wrote in message

> InstallShield certainly /should/ register the COM components in Vista,
> provided it is run as an Administrator. Most setup programs are recognized
> by Vista by their name (setup, install, update) and other properties, and
> Vista automatically asks for an admin login. If it doesn't, you can force
> it
> to run as an admin with Run As or with a Manifest file. Either way, if,
> when
> run as an admin, InstallShield is not properly registering the COM
> components, then it's InstallShield's fault, not Vista's. It should work,
> and does with my installer. You definitely don't need to turn UAC off to
> install COM components, and that's probably the last thing you want to
> have
> "thousands of end users" do.
>
> --
> Regards,
>
> Rick Raisley
> rick.RemoveThis@heavymetalpro.com
> ~~~~~~~~~~~~~~~~~~~
> HeavyMetal Software Products
> www.heavymetalpro.com
>
> "fniles" wrote in message
>
>> Installshield is set to register the COM component, and this works in
>> Win2000 and WinXP, but not in Vista.
>> I can successfully use the elevated Command Prompt to register each
> control
>> manually, but I would like it to be done automatically.
>> It seems that I need to turn off the UAC and install the application,
>> then
> I
>> can turn UAC back on.
>>
>> Thank you very much for your help.
>>
>> "Tom Porterfield" wrote in message
>>
>> > fniles wrote:
>> >> Thank you everybody. Following Tom's suggestion worked !
>> >> But, how are we going to do it for our end users ? There may be
> thousands
>> >> of them, so we can't just ask them to go to Command Prompt then
> register
>> >> the file manually. To be able to install (using Installshield) and let
>> >> the
>> >> installation register all the ActiveX controls automatically, how can
>> >> I
>> >> do
>> >> it ?
>> >> Do I need to ask the user to turn off their UAC ?
>> >
>> > InstallShield should have an option to register a COM component. UAC
>> > should automatically prompt to elevate when the user runs your install
>> > package so the COM registration should succeed.
>> > --
>> > Tom Porterfield
>>
>>
>
>
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Rick Raisley

External


Since: Apr 11, 2007
Posts: 4



(Msg. 12) Posted: Fri Apr 13, 2007 11:45 am
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"fniles" wrote in message

> >If it doesn't, you can force it to run as an admin with Run As or with a
> >Manifest file.
> How do I do this ?
>

To use Run As, simply right-click on the target install file, and choose Run
As Administrator. A manifest file can be included with your application
which automatically runs it as an admin (or rather asks the person running
it to approve it as an admin, assuming they have the permissions/password).
You can get information on how to make the manifest file at the following
link (among lots of others - just Google Vista Manifest):

http://www.helpware.net/VistaCompat.htm

Please note that the manifest, and Run As, do nothing to actually register
any COM components; your setup program must do that. They only help to run
the setup as an admin, which is necessary for /it/ to register the
components.

--
Regards,

Rick Raisley
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
aniruddhagalgali

External


Since: May 15, 2007
Posts: 1



(Msg. 13) Posted: Tue May 15, 2007 10:09 am
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: microsoft>public>windows>vista>general (more info?)

If I log-in as an Administrator, and then double-click on the Installer
executable, still it fails to register the ActiveX component.
But if I right-click on the Installer executable and Run As
Administrator, then it is registered smoothly.

Could someone please explain why does this happen?
And can this be handled from Install Shield?

Thanks in advance...


--
aniruddhagalgali
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Jon

External


Since: May 31, 2007
Posts: 527



(Msg. 14) Posted: Tue May 15, 2007 4:23 pm
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"aniruddhagalgali" wrote in
message
>
> If I log-in as an Administrator, and then double-click on the Installer
> executable, still it fails to register the ActiveX component.
> But if I right-click on the Installer executable and Run As
> Administrator, then it is registered smoothly.
>
> Could someone please explain why does this happen?
> And can this be handled from Install Shield?
>
> Thanks in advance...
>
>


It's probably because Vista doesn't recognize the installer executable as an
installer, but just sees it as a plain old executable, and hence will try
running it without elevated privileges.

If you renamed it to setup.exe or update.exe or install.exe it will probably
work fine, since then Vista will recognize it as an installer.

--
Jon


> --
> aniruddhagalgali
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Ross28

External


Since: Jan 25, 2008
Posts: 1



(Msg. 15) Posted: Fri Jan 25, 2008 10:09 am
Post subject: Re: DLLRegisterServer failed with error code 0x80040200 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tom Porterfield;2742862 Wrote:
> fniles wrote:
> > We can not register an ActiveX control on our Vista 32 bit machine.
> > When we do regsvr32 c:\windows\system32\citcp.ocx (this is a 3rd
> party
> > ActiveX control), we got an error: citcp.ocx was loaded but the call
> to
> > DLLRegisterServer failed with error code 0x80040200. I can
> successfully
> > register MSVBVM60.DLL and MFC42U.DLL. We login to the machine with a
> user
> > who is the Administrator.
> > I read somewhere that I need to turn off the "User Account Control"
> in
> > Vista. How can I do that ?
> > How can I fix this problem ?
>
> Register the component from an elevated command prompt. Right click on
> the
> icon for Command Prompt on the start menu and select Run as
> Administrator.
> You will be prompted by UAC to approve the elevation. Once the
> command
> prompt window is open, run your regsvr32 command from that window and
> it
> should succeed.
> --
> Tom Porterfield

Dear Tom when i did what you told me to do i am getting another message
stating that and i quote "To Register A Module You Must Provide A Binary
Name".The options for the binar names are and i quote "/u - Unregister
server,
/s - Silent; display no message boxes
/i - Call DllInstall passing it an optional [cmdline];when used with u
calls dll uninstall
/n - do nor call DllRegisterServer;this option must be used with /i.
So what is it i have to do now to resolve this problem for good please
help cause i am getting frustrated trying to figure it out and i would
really appreciate it alot if there is something you can do that will
fix it one time thanks again.


--
Ross28
------------------------------------------------------------------------
Ross28's Profile: http://forums.techarena.in/member.php?userid=40274
View this thread: http://forums.techarena.in/showthread.php?t=723579

http://forums.techarena.in
 >> Stay informed about: DLLRegisterServer failed with error code 0x80040200 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
691 Error Code - HELP - I am setting up my friend's brand new out of the box Dell computer .. comes with Vista. I go through the steps required to set up internet connection, making sure spelling of username and password is correct and case sensitive. Friend wants MSN as ISP....

Error code 643 - I have received this error code when trying to install Security Update for Microsoft .NET Framework, Version 1.1 Service pack 1 (KB929729) on a Vista Home premium machine, does anyone have any ideas on how to resolve this? Thanks Bruce.

Error Code 643 - hi guys, ive read a few of the comments already here, and i have the same problem..when trying to install an update i get error code 643, i think its a MS problem, rather than our PC's....to let you know i am on vista home premium..please help if you....

error code 643 - I am trying to install "Security Update for Microsoft .NET Framework, Version 1.1 Service Pack 1 (KB929729). I keep getting error code 643. Could someone help me. I have Windows Vista on my computer gdayment

Error code - Hi all, When I try to install an update I get an error code 800B0100. Can anybody tell me what to do? Thanks in advance. Running Vista Home Prem. ijopper
   MS Vista Forums (Home) -> General Discussions All times are: Pacific Time (US & Canada)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]