Classfactory Error
Contents |
SQL Server 2014 Express resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you error 2147221231 requested has been removed. You’ll be auto redirected in 1 second. Ask a question Quick classfactory cannot supply requested class access Forums home Browse forums users FAQ Search related threads Remove From My Forums Asked by: Excel VBA Error - ClassFactory cannot
Automation Error Classfactory Cannot Supply Requested Class
supply requested class Microsoft ISV Community Center > Visual Basic for Applications (VBA) Question 0 Sign in to vote I have created an Exceltemplate with with over 18,000 lines of VBA code, about 100 modules/classes/forms, 31
Classfactory Cannot Supply Requested Class Excel
DLL declarations, and one reference to an addin I also created. Thistemplate has worked fine for many years, for many users, in two different companies. About a week ago one user had one of his computers upgraded from WinXP to Win 7 and Office 2007. He also has another computer with WinXP and Office 2007. He used to be able to use thetemplate on the first computer, but now can't. So he tried classfactory cannot supply requested class arcgis to use the workbook on the other computer. He cannot use the workbook on either computer now. He can open Excel and the addin that is referenced by the offending template, but when he opens the template (or workbook created from the template) he gets the following error message: "System Error &H80040111 (-2147221231) ClassFactory cannot supply requested class" after he clears the error message the VBA IDE opens up and an 'Out of Memory' message appears. If he tries to close the editor he gets a message stating 'This will stop the debugger..". If he clicks Continue he gets the 'Out of Memory' message again. This repeats about four times and then he can exit the editor. I cannot check the Tools/References to see if he is missing a reference because it is greyed out. I did check to make sure he had the referenced dll's (in Windows/System32) that were not in the addin referenced above. What could be causing this problem? Thanks. Wednesday, March 13, 2013 3:40 PM Reply | Quote All replies 0 Sign in to vote The first thing to check is does the referenced file exist and is it registered on the system. References can become corrupted distributing between Win 32bit Win 64bit users. One, albeit far from ideal, workaround is to programmatically remo
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security Siebel Storage UNIX Visual
Classfactory Cannot Supply Requested Class Outlook
Basic Web Design and Development Windows < Back CHOOSE A DISCUSSION GROUP Research classfactory cannot supply requested class vb6 Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant MarkDeVries DACREE Inside-ERP MacProTX VoIP_News Inside-CRM I_am_the_dragon PCMag Michael classfactory cannot supply requested class excel 2007 Meyers-Jouan maxwellarnold TerryCurran Chris_Day Andrew.S.Baker JoeTorre bracke Richard Locutus DukeGanote Craig Borysowich Ramnath.Awate Dennis Stevenson Nikki Klein AbhaiTripathi mircea_luca bluesguyAZ59 Clinton Jones knowscognosdoi iudithm Iqbalyk COMPANIES Alfresco Software, Inc. Cisco EdgeWave Citrix View https://social.msdn.microsoft.com/Forums/en-US/e8c8d646-125d-49bf-a9f6-dcf873406b02/excel-vba-error-classfactory-cannot-supply-requested-class?forum=isvvba All Topics View All Members View All Companies Toolbox for IT Topics Visual Basic Groups Ask a New Question Visual Basic – General Discussions The VB - General Discussions group is a forum where peers share technical expertise, solve problems, and discuss issues related to the use of the Visual Basic programming language. Home | Invite Peers | More Visual Basic Groups Your account is ready. You're http://visualbasic.ittoolbox.com/groups/technical-functional/visualbasic-l/system-error-and-h80040111-2147221231-class-factory-cannot-supply-requested-class-5317625 now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. System Error and H80040111 (-2147221231) Class factory Cannot Supply Requested Class Godwin Barnes asked Sep 18, 2013 | Replies (5) I have Church Accounting System by VB6 which is in use: I was called yesterday and when I got there here is what I saw and cannot understand nor solve it. ***I try to open the system it failed with this message: "System Error &H80040111 (-2147221231). Class Factory cannot supply requested class." What does it mean and how do I solve it? Please Help. Thanks, Godwin. Join this group Popular White Paper On This Topic Software Defined Networking for Dummies 5Replies Best Answer 0 Mark this reply as the best answer?(Choose ca
or outdated Difficult to follow Other Comments:(Max 1000 chars) Would you like a response? Email is required. Email: KB00804 - VBA Errors in Microsoft https://techsupport.osisoft.com/troubleshooting/kb/kb00804 Excel Product: PI BatchView / PI DataLink / PI Tag Configurator Version(s): All Platform: Windows English German Spanish French Japanese Korean Portuguese (Brazilian) Russian Chinese (Simplified) Issue http://www-01.ibm.com/support/docview.wss?uid=swg21573661 As you use Microsoft Excel with one or more PI add-ins enabled (PI DataLink, PI Tag Configurator, or PI BatchView for Excel), you may encounter one of the classfactory cannot Microsoft Visual Basic for Applications errors below. You may also see these errors when you open Microsoft Excel or use certain functions within the add-ins, such as the Insert Trend function in PI DataLink. Could not load an object because it is not available on this machine Compile error in hidden module: modAddin Compile error in hidden module: classfactory cannot supply Main Object library invalid or contains references to object definitions that could not be found Run-time error ‘459’: Object or class does not support the set of events System Error &H80040111 (-2147221231). ClassFactory cannot supply requested class PI Excel add-ins make use of certain Microsoft-provided ActiveX controls. When there are problems with these controls, add-ins which use these controls will encounter them and produce errors. These error messages may also be caused by the Microsoft security patches, such as MS12-060. See KB00686for more information. Solution These errors are often related to a malfunctioning Microsoft ActiveX control used by an add-in, or by old cached VBA files. The following steps may help to resolve this issue. Verify required prerequisites and settings Make sure that the add-ins and related items are installed properly. For example, if the PI SDK is not installed, that will affect many of the PI add-ins. Confirmthat the ActiveX controls are enabled (not disabled). In Excel select File> Options> Trust Center> Trust Center Settings> ActiveX Settings. This should
(FAQ) Question Getting the following error when launching Perspectives: System Error &H80040111 (-2147221231). ClassFactory cannot supply requested class Cause Problem may be caused by MS Office or a Windows update where Visual Basic Components are updated. Answer Try the following suggestions; 1. Close all Office Applications 2. Run a repair of Microsoft Office from Add\Remove Programs 3. Shut Down & Reboot 4. From Windows Explorer, navigate to the following folder and delete the files that have a .EXD extension: C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Forms\ 5. Reboot again. 6. Open Perspectives. If the above does not work please try the following: 1.) Make sure no Excel is running on the machine. . 2.) Delete FORMS and EXCEL folders under C:\Documents and Settings\Your User Name\Application Data\Microsoft . When using Windows 7, use a file manager like Windows Explorer to go into the user specific directory "%AppData%\Roaming\Microsoft\Forms\" and delete the EXD files "RefEdit.exd" and "MSComctlLib.exd", then restart TM1 Perspectives. . When using Windows XP, use a file manager like Windows Explorer to go into the user specific directory "%AppData%\Microsoft\Forms\" and delete the EXD files "RefEdit.exd" and "MSComctlLib.exd", then restart TM1 Perspectives. . 3.) Unregister OCX file . Regsvr32.exe /u C:\Windows\SysWow64\MSCOMCTL.OCX . 4.) Rename the OCX file C:\Windows\SysWow64\MSCOMCTL.OCX to C:\Windows\SysWow64\MSCOMCTL.bak . 4.) Copy a new MSCOMCTL.OCX file from another computer to the Windows\syswow64 directory. . 5.) Register the new OCX file . Regsvr32.exe C:\Windows\SysWow64\MSCOMCTL.OCX . 6.) Launch Perspectives NOTE: You may also choose to download the Windows Common Controls from Microsoft Document information More support for: Cognos TM1 TM1 Software version: 9.5.2, 10.1.0, 10.1.1 Operating system(s): Windows Software edition: All Editions Reference #: 1573661 Modified date: 2014-03-24 Site availability Site assistance Contact and feedback Need support? Submit feedback to IBM Support 1-800-IBM-7378 (USA) Directory of worldwide contacts Contact Privacy Terms of use Accessibility