• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 11231
  • Last Modified:

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

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
laksiriben
Asked:
laksiriben
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
laksiribenAuthor Commented:
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
 
AKANCommented:
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
 
Éric MoreauSenior .Net ConsultantCommented:
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
 
RoyoRCommented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now