Showing posts with label IIS. Show all posts
Showing posts with label IIS. Show all posts

Thursday, 16 May 2013

SCCM 2012 SP1 Management Point error "Call to HttpSendRequestSync failed for port 80/443 with status code 500, text: Internal Server Error"

Tell you what, I have to blame my sales team for this error. Let me explain, they like to push the latest and greatest and that's fine, until you forget old trick of the trade as you have been working with Windows Server 2012 since before it was officially launched ...

So, SCCM 2012 SP1 Management Prole on Windows Server 2008 R2, you need to register ASP.NET v4 with IIS. If you don't you will see the error below in your mpcontrol.log or in the System State Messages in the monitoring workspace.

Call to HttpSendRequestSync failed for port 80/443 with status code 500, text: Internal Server Error
Now I would like to point out that with SCCM 2012 pre SP1 this was never an issue as it uses .NET 3.5.

P.S you don't have to run this on Windows Server 2012 as it used .NET v4 by default.

Solution:

Run the following elevated command prompt on the affected Management Point.

cd /d %windir%\Microsoft.Net\Framework64\v4*
aspnet_regiis –i –enable
Any questions please ask.

Enjoy.

Wednesday, 15 May 2013

HTTP Error 500.19 - Internal Server Error - SCCM 2012 SP1 - Windows Server 2012 - WSUS x64

Hello,

I noticed that I was getting a lot of red crossed under my site components and that my default website was chucking out the following error after a WSUS install on the local SCCM server.

HTTP Error 500.19 – Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.


This was also the case when trying to access http://localhost/ccm_client and application portals.

I had a look at the ApplicationHost.config file and noticed that suscomp.dll was installed by WSUS.

Resolution
1. Go to C:\windows\system32\inetsrv\config and locate the ApplicationHost.config file
2. Open it with notepad and look for the following lines below
scheme name=”xpress” doStaticCompression=”false” doDynamicCompression=”true”
dll=”C:\Windows\system32\inetsrv\suscomp.dll” staticCompressionLevel=”10″
dynamicCompressionLevel=”0″ />
3. The following command needs to be run to disable the suscomp.dll that was installed when the WSUS server role was installed, Im not 100% sure but from what I could see compression schemes are in every application pool and when WSUS x64 was installed the suscomp.dll chucks out the 500.19 error when its trying to load the x86 application pool. So from an elevated command prompt running the following.
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']
4. If you need to re-enable this just change it slightly and run this command.
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+[name='xpress',doStaticCompression='false',dll='%windir%\system32\inetsrv\suscomp.dll']