Posts tagged 64-bit

Citrix Web Interface 5.4 Installation ended prematurely

So I was trying to upgrade our Citrix Web Interface. 

I was trying to go from version 4.6 to 5.4 but every time I try to install 5.4 I got an error that said “Installation ended prematurely”.  Looking at the even viewer did not help either, all the event viewer recorded was: 

Um, What?

If you run the loggin option on the web interface installer “webinterface.exe -v “logfile.txt” an interesting error came up in the log, the portion of the log where the installation failed was this:

and you sit there wondering what the heck “CheckOnFat” is, well, that function is part of the a Citrix VB Script that checks the File system of the drive were the Web insterface is being installed.  Its looking to make sure you “DONT” have FAT FS.

And the reason why the check fails?

scrrun.dll

somehow this dll is not registered properly causing the installation of the Web Interface to fail.

in order to fix it

  1. Open up a CMD window
  2. CD to %Windir%\SysWOW64\
  3. run regsvr32 /u scrrun.dll to UNregister (this will probably fail)
  4. run regsvr32 scrrun.dll to register it (this will work)
  5. run the unregister again, just to make sure that the registration worked the last time
  6. re-register agian
  7. Install the Web Interface

And then you can go on with your day!!

Facebook Twitter Email Linkedin Digg Delicious

Create Shortcut to Mail Icon

So I had the need to publish the “Mail” icon to Citrix so that we can edit the profile of some users without allowing them to log in directly into the server.

If you need to create a shortcut to the Mail icon, whether in Citrix or the Desktop or anywhere else, then create a shortcut and assign it this path:

“C:\WINDOWS\system32\rundll32.exe” C:\WINDOWS\system32\shell32.dll,Control_RunDLL “C:\Program Files (x86)\Common Files\SYSTEM\MSMAPI\1033\MLCFG32.CPL”,@0

Note the X86 reference, that’s because my system is 64-bit, but if you don’t have a 64-bit system then just reference Program Files

Facebook Twitter Email Linkedin Digg Delicious
fixing infoview

Error 80040154 when using .Net Infoview

So I recently had to install the latest and greatest Crystal Reports Server 2008 v1 on Windows 2008 SP2 64-bit.

I followed the install guide from SAP and thought that all went well until I tried to run the .NET infoview.

as soon as I did, it gave me this error:

Retrieving the COM class factory for component with CLSID {E063B04A-CB8B-460E-99D0-F7D8FA2FAAA2} failed due to the following error: 80040154.                                                                                                               
                                                                                                                                   
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.                                                                   
                                                                                                                                   
Exception Details:
System.Runtime.InteropServices.COMException:                                                                    
Retrieving the COM class factory for component with CLSID {E063B04A-CB8B-460E-99D0-F7D8FA2FAAA2} failed due to the following error: 80040154.                                                                                                                          
                                                                                                                                   
Source Error:                                                                                                                           
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of                                                              
the exception can be identified using the exception stack trace below.
             
Stack Trace:                                                                                                                  
[COMException (0x80040154): Retrieving the COM class factory for component with CLSID {E063B04A-CB8B-460E-99D0-F7D8FA2FAAA2} failed due to the following error: 80040154.]              
                                                                                                                                   
CrystalDecisions.Enterprise.SessionMgr..ctor() +66                                                        
BusinessObjects.Enterprise.Infoview.Common.Utilities.GetInstalledLanguages() +80          
BusinessObjects.Enterprise.Infoview.Common.Utilities..cctor() +83
                                                      
[TypeInitializationException: The type initializer for ‘BusinessObjects.Enterprise.Infoview.Common.Utilities’ threw an exception.]                                                                                            
BusinessObjects.Enterprise.Infoview.Global.Application_Error(Object sender, EventArgs e) +619
System.EventHandler.Invoke(Object sender, EventArgs e) +0                                    
System.Web.HttpApplication.RaiseOnError() +174
 

Following their Knowledge base articles 1310290* and 1487760* is supposed to fix the problem, BUT…..

It just never worked for me no matter what, then something in note 1487760 caught my eye:

By default, IIS6 or IIS7 on 64-bit Windows run with 64-bit W3WP.EXE processes, but as .Net Infoview is implemented through 32-bit ISAPI DLLs, the W3WP.EXE processes for IIS7 cannot load them

So, I used my trusty friend Process Monitor from SysInternals / Microsoft and found that when W3WP.EXE loaded Infoview (you can see this by monitoring while doing an IISreset), it loaded it using the 64-bit .NET framework even though I had specified in the AppPool to use 32-bit

So I did a little poking around and found that the “Application” under the parent Crystal Website I created were not inheriting the Application Pool from the main site, they were all set to Classic .NET AppPool.  After going in, and manually switching them all to my CrystalReports2008 Application pool, Infoview started working again.

So there you have it, if you are running into this issue, now you know how to fix it, or at least what to look for.

I will be making another post later on how to install Crystal Reports Server 2008 v1 on Windows 2008

* those KB’s probably require you to login as a SAP support user, which I am, so I can view them but you may not be able to.  In my installation intructions, I will make sure I include the instructions from the KB’s

Facebook Twitter Email Linkedin Digg Delicious
Go to Top