Link to home
Start Free TrialLog in
Avatar of TSFLLC
TSFLLC

asked on

Crystal Reports for .NET Framework 2.0 (x86) won't repair or uninstall

I have a WIndows 7 Home Premium 64-bit computer using one of my apps.  All was fine until last Friday.  Now the user gets the following error when executing my VB.NET 2005 application.

>>
An error occurred while attempting to load the Crystal Reports runtime.

Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.

Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing........
<<

I restarted the computer to uninstall and then re-install OR repair this installation.  I get the following error:

>>
The installer was interrupted before Crystal Reports for .NET Framework 2.0 (x86) could be removed.  You need to restart the installer and try again.
<<
Avatar of TSFLLC
TSFLLC

ASKER

Let me rephrase..

>>I restarted the computer to uninstall and then re-install OR repair this installation.  I get the following error:


I restarted the computer AND THEN attempted to uninstall this installation.  I get the following error in the removal:
Avatar of Mike McCracken
.Net 2.0 and Crystal for VS2005 are 32 bit applications.  Do you have them setup that way?
Are you running as ADMINISTRATOR?

mlmcc
Avatar of TSFLLC

ASKER

Michael,

Correct on the app combination being 32-bit and this user is set as Administrator.  Did not have a problem prior to Friday.
What updated over the week end?

mlmcc
Avatar of TSFLLC

ASKER

I looked at the Installed Programs w/ the Updates flag set.  Appears nothing updated since 3/17.  I will review again.

At the same time, since it's an HP Win7 Home Edition computer being used in a business environment I'm removing all the garbage the manufcturer loads initially to get it as clean as I can.

The 3/17 puzzles me.  The user shouldn't turn the pc off, come back monday and it be hosed up.....
I agree.  That is why it is necessary to find out what has changed.

Is there a restore point available from last week that could be used to restire the PC to a state where it should run?

mlmcc
Avatar of TSFLLC

ASKER

No restore.
ASKER CERTIFIED SOLUTION
Avatar of TSFLLC
TSFLLC

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TSFLLC

ASKER

Found solution on my own.
This one actually works.  THANK YOU DONALD AMBROSE!!!!

http://donaldambrose.wordpress.com/2011/03/21/crystal-reports-for-net-framework-uninstall-a-bit-tricky/


1) From the command prompt run: crredist2005_x86.msi /lv logfile.log
2) Open the logfile.log from notepad. Next scroll down to the point where the uninstaller tries to delete a file or encounters an error ,my example was somewhat like this…
1: Deleting file 2: uplevel.6BEE2C32_7676_0C9D_FF1F_C8B3B9A1E18E 3: C:\Windows\winsxs\x86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.1_none_0c9d76766bee2c32\ 4: ATL80.dll Action ended 20:19:57: SxsUninstallCA.3A293793_0457_88B6_FF1F_C8B3B9A1E18E. Return value 3.Action ended 20:19:57: INSTALL. Return value 3.
3) Open that directory and find the ATL80.dll file. Basically ATL80.DLL has the ownership set to System. So I right clicked on it, go to the Security tab, then click Advanced, then click the Owner tab. The current owner will probably be set to system. So I changed that to my user. Saved it and applied changes. (Then close that window)
4) Right click on the ATL80.dll file again, I gave the Everyone user full permissions then from the security tab.
Finally, once done, and try to uninstall again, and it worked for me.