Active X Component Cant Create Object Error
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Fri, 30 Sep 2016 02:11:32 GMT by s_hv977 (squid/3.5.20)
be down. Please try the request again. Your cache administrator is webmaster. Generated Fri, 30 Sep 2016 02:11:32 GMT by s_hv977 (squid/3.5.20)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack http://stackoverflow.com/questions/4213496/how-do-i-resolve-run-time-error-429-activex-component-cant-create-object Overflow the company Business Learn more about hiring developers or posting ads with us http://stackoverflow.com/questions/17302566/vb6-activex-component-cant-create-object Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How do I resolve “Run-time error '429': ActiveX component can't create object”? up vote 9 down create object vote favorite 1 My company has a VB6 application using Crystal Reports 7 which a client has asked to be installed on Windows 7 32 bit. It is currently installed on Windows XP 32bit SP2 machines at the client. Connection to the DB is done via ODBC to SQL Server 2000 instance on another server. On Windows 7, the installation works fine, however when you try to open the application, the t create object error is given. I have looked at the following: Registering all the dll's and ocx files using regsvr32. Some will not register as they either are registered already or the following message is given "Make sure that "[name].dll" is valid DLL or OCX file and then try again." I read this forum thread regarding this: http://social.msdn.microsoft.com/forums/en-US/vblanguage/thread/0653f685-4526-45d9-89f3-8c479a6b4c62 Monitored the opening of the application using a ProcessMonitor application to try and spot if there is a missing dll or ocx file - this does not seem to be the case. Reviewed the application according to this list and nothing seems to be against these guidelines I've noticed two items in the knowledge base that relate to this http://support.microsoft.com/kb/281848 - the comdlg32.ocx bundled with the application is version 6.0.81.69 and the one in the system32 folder on the dev machine (WinXP 32 bit) is 6.1.97.82. However if this was the issue then surely it would not work currently? http://support.microsoft.com/kb/184898 - I'm not sure how to confirm that this is the issue Finally, due to complexities, I am not allowed to make code changes to this application. Even if I was, I'm not a VB6 programmer, just the guy who got the terribly support project! If code changes are required, then I'll have to in
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up VB6 Activex component can't create object up vote 0 down vote favorite I am making a few minor updates to a VB6 application. It runs on a windows 2000 server connected to a SQL Server 2000 Database. I took a copy of the source code from the server updated it and complied it locally. My local machine is running windows 7 64x. I copied the .exe file back to the server and when I tried to run it I received the runtime error 49: Activex component can't create object. I know this error occurs when the application tries to open a connection to the database using RDO. I can run the .exe fine from my local machine and my virtual pc which is running windows xp. This application was previously working on the server and the changes I made were to the contents of a file it outputs so no new references would be needed. These are the lines it is falling over on: rdoEnvironments(0).CursorDriver = rdUseNone Set conDB = rdoEnvironments(0).OpenConnection("MRA", rdDriverNoPrompt, True) vb6 activex sql-server-2000 windows-server-2000 share|improve this question edited Jun 26 '13 at 12:34 C-Pound Guru 9,80452847 asked Jun 25 '13 at 16:23 user2433108 314 2 Are you positive you are using RDO and not ADO? This could be related to the Win7 SP1 compatibility breaks in many MDAC/DAC libraries. –Bob77 Jun 25 '13 at 17:03 Thanks. Yes it is RDO. These are the lines it is falling over on. rdoEnvironments(0).CursorDriver = rdUseNone Set conDB = rdoEnvironments(0).OpenConnection("MRA", rdDriverNoPrompt, True) –user2433108 Jun 26 '13 at 8:06 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote accepted You might be missing some DLLs for RDO to work on the server, try this: http://support.microsoft.com/kb/195474 - How To Determine RDO Files Needed for Distribution of App share|improve this answer answered Jun 26 '13 at 13:20 crackalak 37315 add a comment| up vote 0 down vote I recently resolved the Activex component can't create object error as follows: Open your .vbp file for your VB6 project in a text editor. At the top of the file will be all the activex objects the project uses. I