OpsMgr 2007: Reporting console returns error "Client found response content type of ‘text/html’, but expected ‘text/xml’"


Here’s an interesting one I came across that I think you’ll find interesting.  This one covers a message you may get if you’re using the 64-bit version of Windows Server 2003:


========


Issue: When you open the System Center Operations Manager 2007 reporting console you may get the below error.


System.InvalidOperationException: Client found response content type of ‘text/html’, but expected ‘text/xml’.
The request failed with the error message:

<html><head><title>Error</title></head><body>%1 is not a valid Win32 application.
</body></html>
–.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.ReportingService.ReportingService2005.ListChildren(String Item, Boolean Recursive)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.ManagementGroupReportFolder.GetSubfolders(Boolean includeHidden)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.WunderBar.ReportingPage.LoadReportingSubtree(TreeNode node, ManagementGroupReportFolder folder)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.WunderBar.ReportingPage.LoadReportingTree(ManagementGroupReportFolder folder)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.WunderBar.ReportingPage.LoadReportingTreeJob(Object sender, ConsoleJobEventArgs args)


You may also see the below error when you try to connect to reporting services using SQL server management studio:


Cannot connect to MGTOOLSDC


Additional information:


Client found response content type of “test/html”, but expected “text/xml”.
The request failed with the error message:
<html><head><title>Error</title></head><body>%1 is not a valid Win32 application.
</body></html>
(Microsoft.SqlServer.Management.UI.RSClient)


Cause: This problem can occur on 64-bit Windows Server 2003 if Microsoft Internet Information Services (IIS) 6.0 is configured to start a 32-bit worker processes (W3wp.exe). A 32-bit worker process enables WOW64 compatibility for 32-bit Web applications on a server that runs a 64-bit version of Windows Server 2003.  This configuration option is controlled by the Enable32bitAppOnWin64 metabase property.


Resolution: First verify that Enable32bitAppOn64 is enabled.  To do this, open command prompt, traverse down to C:\Inetpub\Adminscripts and execute the below query:


C:\Inetpub\Adminscripts>cscript adsutil.vbs find Enable32BitAppOnWin64


If enabled the output should look like: “Property Enable32BitAppOnWin64 found at:W3SVC/AppPools”


To resolve the above error, disable 32-bit mode and install the 64-bit version of ASP.NET 2.0:


1.  Click Start, click Run, type cmd, and then click OK.   
2.  Type the following command to disable the 32-bit mode:


cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0


3.  Type the following command to install the 64-bit version of ASP.NET 2.0 and to install the script maps at the IIS root: 


%SYSTEMROOT%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i    


4.    Make sure that the status of ASP.NET version 2.0.50727 is set to Allowed in the Web service extension list in Internet Information Services Manager.   


Note: The build version of ASP.NET 2.0 may differ depending on what the currently released build version is. These steps are for build version 2.0.50727.


========


Hope this helps!


J.C. Hornbeck | Manageability Knowledge Engineer

Comments (1)

  1. show box says:

    Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?
    For more info on showbox please refer below sites:
    http://showboxandroids.com/showbox-apk/
    http://showboxappandroid.com/
    Latest version of Showbox App download for all android smart phones and tablets.
    http://movieboxappdownloads.com/ – It’s just 2 MB file you can easily get it on your android device without much trouble. Showbox app was well designed application for android to watch movies and TV shows, Cartoons and many more such things on your smartphone.
    For showbox on iOS (iPhone/iPad), please read below articles:
    http://showboxappk.com/showbox-for-ipad-download/
    http://showboxappk.com/showbox-for-iphone/
    Showbox for PC articles:
    http://showboxandroids.com/showbox-for-pc/
    http://showboxappandroid.com/showbox-for-pc-download/
    http://showboxforpcs.com/
    There are countless for PC clients as it is essentially easy to understand, simple to introduce, gives continuous administration, effectively reasonable. it is accessible at completely free of expense i.e., there will be no establishment charges and after establishment
    it doesn’t charge cash for watching films and recordings.
    http://www.showboxforipad.org/showbox-apk/ Not simply watching, it likewise offers alternative to download recordings and motion pictures. The accompanying are the strides that are to be taken after to introduce Showbox application on Android. The above
    all else thing to be done is, go to the Security Settings on your Android telephone, Scroll down and tap on ‘Obscure sources’.
    http://www.showboxforipad.org/
    http://movieboxappdownloads.com/moviebox-apk-android/
    http://movieboxappdownloads.com/download-moviebox-pc/
    Movie Box, an esteemed movies application in which you can find stacks of programs and films. The guide is given here to download Movie Box app to Android and to Apple iOS 9.0.2, iOS 8.4/8.3 and also for the lower versions without Jailbreak.
    http://showboxforiphone.org/
    Please do login to Showbox application with the help of Ymail. You can login in Ymail from here –
    http://ymaillogintips.com/
    Sign Up & Do registration for latest movies on Showbox application