Thursday, August 22, 2013

SCCM Reporting - HTTP 500 Internal Server Error


On one of our SCCM Primary server, we were unable to run large reports (neither from the SCCM console nor using from web-reports). After much analysis found that the issue was with the 'AspBufferingLimit' value on the Metabase.xml file which is located at “C:\Windows\system32\inetsrv”.


Steps to increase the AspBufferingLimit value in Metabase.xml file as follows:
SCCM Web-Report   -  HTTP 500 Internal Server Error

Open IIS - Right click on Computer Properties - Check the "Enable Direct Metabase Edit" box. This will allow you to edit the Metabase
IIS - Enable Direct Metabase Edit

Open "C:\Windows\system32\inetsrv" - select Metabase.xml - Rightclick and select Edit
Metabase.xml AspBufferingLimit

Update the 'AspBufferingLimit' entry value on Metabase.xml from 4194304 to 8000000 (or as per requirement) - Save and close the file
Updated AspBufferingLimit on Metabase.xml

UnCheck the "Enable Direct Metabase Edit" on IIS after saving Metabase.xml
Uncheck Direct Metabase Edit
 
Start - Run - Services.msc - Choose "IIS Admin Service" - Restart the service
Restart IIS Admin Service

Check running the SCCM console/web report and it should work fine. 
SCCM Report works fine now

Hope this helps.. Thanks!

Wednesday, August 14, 2013

SCCM Client uninstallation - Manual method

It may occasionally be necessary to remove the System Center Configuration Manager client. We can uninstall an SCCM client on machine by running "ccmsetup.exe /uninstall". 

Some unusual times when the command line doesn’t work, here is a list of things to check and remove to manually clean-up all the traces of the client so as to try a fresh install. 
  1. SMS Agent Host Service - (services.msc)
  2. CCMSetup service - (services.msc)
  3. \windows\ccm directory - (folder path)
  4. \windows\ccmsetup directory - (folder path)
  5. \windows\ccmcache directory - (folder path)
  6. \windows\smscfg.ini - (file path)
  7. \windows\sms*.mif - (file path..if present)
  8. HKLM\software\Microsoft\ccm - (registry key)
  9. HKLM\software\Microsoft\CCMSETUP - (registry key)
  10. HKLM\software\Microsoft\SMS - (registry key)
Ref: http://blogs.technet.com/b/michaelgriswold/archive/2013/01/02/manual-removal-of-the-sccm-client.aspx