?
Solved

VB Error at Startup (Automation Error, Error accessing the ole registry)

Posted on 2003-03-11
5
Medium Priority
?
10,005 Views
Last Modified: 2013-12-25
Hello Experts,

I'm getting an error at the startup of vb. before showing the new project dialog box a message box apears with the title "Data View" and with the message "Automation Error, Error accessing the ole registry".

if i press ok vb will load. but if i goto references in project menu it gives an error message "Error accessing the system registry". therefore i can't change references.

please help me to solve this problem.

thanks,

Laksiri Fernando.
0
Comment
Question by:laksiriben
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 750 total points
ID: 8116436
0
 

Author Comment

by:laksiriben
ID: 8117395
Thanks emoreau,

It worked.
in the url you gave i found a url for the solution given by seagare software.

http://support.crystaldecisions.com/library/kbase/articles/c2008211.asp

from that site i found an exe and it does the job for me.

Thanks again.

Laksiri Fernando.
0
 

Expert Comment

by:AKAN
ID: 25210695
Hi Everyone,
  I did see http://support.microsoft.com/default.aspx?scid=kb;en-us;269383 as suggested by emoreau: . It did not help. First I could not see any dimed registery key  RegMon utility from www.sysinternals.com is no longer available. Even the crystal solution link is now broken

I do understand that Vb6 is not supported, since I heard many have installed it , I would like to do the same , if not I need to keep 2 machines.  I did install the latest Service pack (I assume it will be SP6). that did not help either

What else can I try
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 25210780
you are commenting on a question dated of 2003. That's why URLs are not valid anymore.

Why wouldn't you ask your own question so that other people see it?
0
 

Expert Comment

by:RoyoR
ID: 25470216
I found the article on SAP site buried deepdown in their messey warehouse.

Here is the link to article that has broken link because BO and BD are SAP's now:

http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313332333933313335%7D.do.

Also, here is the actual document in case BO gets acquired by some other company:
Symptom

After installing Crystal Reports 8 onto a Windows NT 4 or 2000 computer, the following error message occurs when accessing project references in Microsoft Visual Basic:


"Error Accessing the System Registry"


Why does this error message appear and how do you resolve it?



Resolution

This is a known issue with the Crystal Reports 8 installation.


To resolve this issue, follow these steps:


1. Ensure that you are logged on as an administrator and that the 'Task Scheduler' service is running.


2. Search for and download the file Scr8_webregfix.exe from our support site:


http://support.businessobjects.com/search


3. Extract the two files to the root folder of your hard drive.


4. On the 'Start' menu, click 'Run'.


5. Type 'cmd' and click 'OK'. A command prompt window appears.


6. At the command prompt use the 'AT' scheduler command with the following syntax:


AT time /INTERACTIVE cmd.exe


" 'time' is a time value in HH:MM format for a few minutes in the future. At the time specified, a new command prompt window will appear.


For example:


at 16:44 /interactive cmd.exe


7. Change to the root folder in this window by typing the following and then pressing the ENTER key:


cd \


8. Type the following and then press the ENTER key:


scr8_webregfix.exe


After completing these steps, the error message no longer appears and you are able to access your project references in Visual Basic.



Additional Information

--------------------------


" This issue is resolved in Crystal Reports 8.5.


" The 'AT' command is required to run the registry patch since it runs the patch using the System account rather than the Administrator account. The System account is sometimes needed to make changes to the registry that cannot be done using the Administrator account.


" A similar solution is documented in Microsoft knowledge base article Q269383 - "Error Accessing the System Registry' Message When Displaying VB/VBA References".


" For more information on the System account in Microsoft Windows NT/2000, refer to Microsoft knowledge base article Q120929 - "How the System Account is Used in Windows NT".


" For more information, refer to knowledge base article c2007581 - "Installing Crystal Reports 8 restricts access to ODBC data sources" - on our support site:


http://support.businessobjects.com/search

0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question