Error Message 80040200
Contents |
Development > Visual C++ Question 1 Sign in to vote I have a legacy MFC C++application that was compiled on XP with Visual Studio 0x80040200 regsvr32 9 on XP. The application works on XP and has an installation
Regsvr32 Return Code 0x80040200
package. When I install it on Windows 7 everything works except one OCX designed to provide some DCOM 0x80040200 windows 8 capabilities - it fails with an error message indicating that there is an invalid class string. This does not happen on XP. Having seen this error before I tried to register vista disable uac the OCX in question and that did indeed fail with the error message "xxx.OCX" was loaded but the call to DllRegisterServer failed with error code 0x80040200 The installation package did not report any errors and when I tried to register the OCX manually I was logged on as the administrator. As the Windows 7 PC is not a development machine I have
0x80040200 Opc
little debugging capabilities on it and I would not know how to set about debugging the regsvr32 failure anyway, but if I run code that utilizes the OCX in question I see that the OCXis instantiated and only fails when it attempts to connect with my main application using something like: pOe = new COleException; m_IMyInterface.CreateDispatch(_T("MyApp.Document"), pOe); The MyApp.Document application seems to be fine and updates the registry for MyApp.Document so that it should be available for creation by CreateDispatch and although this works on XP it fails on Windows 7 – however I do not see why that should cause theOCX to fail to register. Although the ocx fails to register it seems to be available as an ocx because it instantiates and only fails when attempting to create an instance of the main application. All applications dll etc. reside on the same PC. Any thoughts on how best to tackle this? Thank you. Edited by ellipsisware Wednesday, September 22, 2010 2:13 AM OCX not OCV ln4 Wednesday, September 22, 2010 2:04 AM Reply | Quote Answers 1 Sign in
10, 20091 0 0 0 Sometimes when Itry to register a com control, I get the following error dialog. [Window Title]RegSvr32 [Content]The module ".\crash.ocx" was loaded but the call to DllRegisterServer failed with error code 0x80040201. For more unregister ocx information about this problem, search online using the error code as a search regsvr32 unregister term. [OK] On Vista/Win 7 boxes, normal command prompt run without admin privilege. Registering com control requires admin rights because
0x80040201
it makes an entry in the overall system registry. This error message is basically an error message on the lack of rights the current user has. To fix, simply start an admin https://social.msdn.microsoft.com/Forums/vstudio/en-US/e4256b55-3928-46a4-b80e-3ae10b7661ac/error-code-0x80040200?forum=vcgeneral command line prompt and regsvr the control binary again.
Tags Register com activex control regsvr32 0x80040201 Comments (1) Cancel reply Name * Email * Website Mohd Aslam says: March 12, 2014 at 12:12 pm Its not working with elevated mode as well. now its says that module could not be loaded. Reply Follow UsPopular Tagswindbg symbols .reload sympath sym noisy symopt 0x40 popular blog https://blogs.technet.microsoft.com/softienerd/2009/11/10/error-80040200-when-regsvr-registering-comactivex-controls/ Microsoft recruiting san diego ucsd interview company presentation Visual Studio 2010 2008 TFS MSBuild Threat Modeling SDL Security Microsoft v3 Beta POS Credit Card Tampering Information Disclosure Denial of Service Win 2008 R2 .Net 3.5.1 Anime Microsoft Mailing List F# Visual Studio Kernel Debug transport San Diego Microsoft Recruiting Paturi Algorithm Interview ASA Attack Surface Analyzer HTML5 CANVAS IE9 Javascript windows access control list file acl vulnerability security file vmware linux cansecwest 2008 sun bing Access Denied Unable to Establish Communication Remote Hyper V Manager Windows 2008 7 Vista Anonymous DCOM Hyper v Remote Management Win 7 TheRegister Ted Dziuba Wolfram Alpha Introduction threat model attack surface com activex binary analysis fuzzing Register com activex control regsvr32 0x80040201 twitter groupon File ACL Vulnerability Windows Security Lay in Wait Visual Studio Load Test Performance Testing WatiN talks ted pbs frontline stats hand rosling world economy health Archives February 2014(1) April 2013(1) March 2012(1) January 2011(2) November 2010(1) October 2010(2) September 2010(1) June 2010(1) November 2009(1) October 2009(2) All of 2014(1) All of 2013(1) All of 2012(1) All of 2011(2) All of 2010(5) All of 2009(28) Privacy & Cookies Terms of Use Trademarks © 2016 MicrosoftQuestion Need help? Post your question and get tips & solutions from a community of 418,536 IT Pros & Developers. It's quick & easy. DLLRegisterServer https://bytes.com/topic/visual-basic-net/answers/631245-dllregisterserver-failed-error-code-0x80040200 failed with error code 0x80040200 P: n/a fniles We can not register an https://www.cnet.com/forums/discussions/error-message-need-help-error-80040200-289369/ 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 error message 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. Apr 11 '07 #1 Post Reply Share this Question 11 Replies P: n/a Karl E. Peterson fniles Popular Forums Computer Help Computer Newbies Laptops Phones TVs & Home Theaters Networking & Wireless Windows 7 Windows 10 Cameras All Forums News Top Categories Apple Computers Crave Deals Google Internet Microsoft Mobile Photography Security Sci-Tech Tech Culture Tech Industry Photo Galleries Video Forums Video Top Categories Apple Byte Carfection CNET Top 5 CNET Update Googlicious How To Netpicks Next Big Thing News On Cars Phones Prizefight Tablets Tomorrow Daily CNET Podcasts How To Top Categories Appliances Computers Gaming Home Entertainment Internet Mobile Apps Phones Photography Security Smart Home Tablets Wearable Tech Forums Speed Test Smart Home Top Categories Tour CNET Smart Home Smart Home News Smart Home How To Best Smart Home Devices Cars Top Categories Car Reviews Best Cars New Cars Used Cars Deals Top Categories Cheapskate Best Tech Under $50 All Deals Tech Deals Non-Tech Deals Audio Deals Cell Phone Deals Desktop Deals Laptop Deals Hard Drive & Storage Deals Printer Deals Tablet Deals Camera Deals Monitor Deals Software Deals TV Deals Web Hosting VPN Services WordPress Hosting Domain Names Download Sign In / Join Sign In to CNET Join CNET Member Benefits My Profile Forums Sign Out US Other editions United Kingdom Australia China France Germany Japan Korea CNET en Español CNET Forums Camcorders Error message, need help (Error=80040200) Camcorders forum About This ForumCNET's Forum on camcorders is the best source for finding help, troubleshooting, or buying advice from a community of experts. Discussions cover types of camcorders (ranging from Mini-DV, DVD, to hard drive models), HD camcorders, lenses, zoom, image stabilization, video transferring, and other camcorder-related questions and topics.Real-Time ActivityMy Tracked DiscussionsFAQsPoliciesModerators General discussion Error message, need help (Error=80040200) by volcom1245 / March 26, 2008 4:02 PM PDT I Just bought a new sony HDD camcorder and when i put the .mpeg video files on my computer and try to play them I get an error message. (Error=80040200) unable to download appropriate decompressor. Im not sure why it doesn't play because I have other .mpeg files that play fine on my computer. Does any one know why this is happening?? oh and i also hooked my camera up to another computer, a mac, and the files didn't open on that computer also :/ Could there possibly be som