Posts tagged windows 2008

Where is the Startup Folder For All Users In Windows 2008?

I needed to make bginfo, a great utility from our friends over at Microsoft (SysInternals) run for every user that logged in to a set of servers I had built.


My solution needed to be simple.  Add a shortcut to the “All users” startup folder, but I couldn’t find it.
Turns out that it got moved and its hidden.

To find it, go to Folders, Advanced Settings, and Click on “Show Hidden Files” or just open a “Run Command” window and paste this path

There it is. Simple. Shortcut Created. Done.

Facebook Twitter Email Linkedin Digg Delicious

How to Create an Application Pool in IIS7 (CrystalServer2008)

Recently a Pinchii reader 🙂 sent me a message asking how I created the “CrystalServer2008” Application Pool as part of the solution in the post titled “Error 80040154 when using .Net Infoview”

What I had not realized is that I never posted the Instructions on how to Install Crystal Server on 2008 which I had promised, and hence, the Instructions on how to create the Application Pool were also never posted. Well, here is how to Create the “CrystalServer2008” Application Pool:

  • Open Up Internet Information Services (IIS) Manager
  • Expand the Entry for your server, it looks like [ServerName (Domain\User)]
  • There are two items there, 1 is “Application Pools” and the Other is “Sites”
  • Right Click on Application Pools and Select “Add Application Pool”
  • When the Wizard comes up, give it a Name, in this Case “CrystalReports2008”
    (the reason I give it that name, is so I know what the Application Pool is for,
    and normally I name the Application Pool Similar to the Site that hosts the Application)
  • Change Managed Pipeline to Classic
  • Now Right Click the Newly Created AppPool and Select “Advanced Settings”
  • Change “Enable 21-Bit Application” to True
  • This last step is not necessary, but I did it because I setup Kerberos Single Sign On, Change the Identity from Network, to a Domain Service Account
  • Restart the Application Pool
  • Done

Here is a Screen shot of what my Application Pool Looks like

Facebook Twitter Email Linkedin Digg Delicious

Personalize “Computer” Icon on Windows 2008

If you guys remember back in the good old windows 2003 days, it was easy to personalize the My Computer Icon.

I would just run this registry file:

Windows Registry Editor Version 5.00

@=”My Computer”

and Voila, all was good in the world.

Well, Windows 2008 made that just a little bit harder to do.

  1. Start->Run type Regedit (also works in the search box)
  2. Now in the registry editor, choose Edit -> Find
  3. In the Search box type “{20D04FE0-3AEA-1069-A2D8-08002B30309D}” without the quotes
  4. On the Key that it finds, right click and choose Permissions then click the Advanced Button
  5. Under the Owners Tab, change it from TrustedInstaller to Administrator, this should now give you “full control”
  6. Backup the current Key (just in case) and then rename the LocalizedString to LocalizeString.old
  7. Copy and paste the Reg file that I posted above and excute it
  8. Hit F5 on the Desktop and see the result of your hard Work

All Done!!

Facebook Twitter Email Linkedin Digg Delicious

Disable Hibernate on Windows 2008

Hibernate is annoying, it takes up as much space on your C drive as the amount of memory on your server. And if you don’t have a laptop, you don’t need hibernate, so this is how you disable it

  1. Open up a command window as Administrator
  2. Type powercfg.exe /hibernate off
  3. then exit
  4. Done!!!

The hibernate file on your C drive should be immediatly gone and you should have that space back right away!!

Facebook Twitter Email Linkedin Digg Delicious

The printer installation failed. Operation could not be completed (error 0x00000643)

Before I start, I need to let everyone know that I use Windows 2008 as my laptop OS, so when I tried to install my Brother HL-2170W printer, I got the error

The printer installation failed. Operation could not be completed (error 0x00000643)

Well, Kevin Daub posted an article on his blog on how to fix this issue, basically go into Device Manager and delete the WSD print device.  Well, when I went looking, guess what, there is no Web Services for Devices (WSD) print device in Windows 2008, and I learned that this is by default.

So I figured that this is the reason why adding my wireless printer was failing, but how do I add WSD to windows 2008? Luckily I found article KB951449 in the MS Knowledge Base.

What the KB article says is:

  • Go into Server Manager and Add “Print Services” Role
  • Go into the Servers Firewall Configuration and Add an exception for the Network Discovery service

After doing that, Voila!, it all works as it should

Happy Printing!!

The printer installation failed. weOperation could not be completed (error 0x00000643)

Facebook Twitter Email Linkedin Digg Delicious

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.                                                                                                               
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:
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