DRIVE EFFICIENCY THROUGH AUTOMATED IT.
SAVE COST THROUGH CONSOLIDATION OF IT.
WANT TO KNOW MORE ABOUT STRATEGIC CONSULTING CLICK HERE.
MICROSOFT / RISUAL HYPER-V CLOUD EVENT 22ND MARCH 2011 CLICKHERE.

Archive

Posts Tagged ‘IIS’

SCOM 2007 R2 Reporting reports "Client found response content type of ‘text/html’, but expected ‘text/xml’"

December 22nd, 2011 paulw No comments

When attempting to access the reporting part in the SCOM console we found that we were getting an error message similar to the one below:

 image

This is caused by IIS using a 32bit worked process on a 64bit system.

To resolve this we had to run the following:

 

1. Open a command prompt and CD to C:\Inetpub\Adminscripts

2. Type in the following and press enter:

cscript adsutil.vbs find Enable32BitAppOnWin64

3. Type in following and press enter:

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

4. Type in following and press enter:

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

If you then go back into SCOM and open the Reporting part you should no longer get an error:

image

Cheers

Paul

Categories: Uncategorized Tags: ,

IIS 7.0 Https site doesn’t work ‘Page Cannot Be Displayed’

April 6th, 2011 Daniel Davies No comments

Came across an issue recently where after a reboot we were unable to access our IIS site via it’s https address with the following error in Internet Explorer ‘Page Cannot be Displayed’

In the application event log we had the following ‘Schanel error’.

Event ID 36870

A fatal error occurred when attempting to access the SSL server credential private key. The error code returned from the cryptographic module is 0x8009030d. The internal error state is 10001.

This error occurs when you import your certificate into the ‘Certificates (Local Computer)’ personal store by dragging and dropping it from the the ‘Certificates – Current User’ personal store.

To get around this issue you have to import directly to the ‘Certificates (Local Computer)’ personal store and then apply this certificate to the IIS https binding and reboot.

Then your HTTPS site should all be working again Smile

Categories: Uncategorized Tags: , ,

Redirect IIS Websites Homepage with IIS 7.0

January 7th, 2010 Daniel Davies 1 comment

You may come across an issue from time to time.  Where you have an IIS website and when you type the URL of the IIS Site into your IE it brings up a homepage, but you would like to change the homepage for reason such as you would like to allow users to access a specific part of the site easier.

 For example

You have gave your IIS site a host header of “test” but you would like users to hit a different web page within the site when they simply type the host header in.

Currently they are hitting the below webpage when typing http://test

image

But this is not the page you want them to hit when they type in http://test we would like them to be redirected to http://test/test2 (Below Page)

image 

Resolution

To get this to work we will first have to create a htm file which redirects us to our desired site “http://test/test2

1, Open IIS Manager

2, Now expand the console until you get to your website and then switch to content view.

image

3, Right Click and press explore

image

4, Now we need to create the HTM in this location “C:\Test\”

5, Now open notepad and type the following in and put the url of what you want as your homepage and save it in the location we found out above and name it default.htm (Code Below was supplied by Rob http://risualblogs.com/blog/author/robb/)

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<html>
<head>
<title></title>
<meta http-equiv=”REFRESH” content=”0;url=http://Type Your URl”></HEAD>
<BODY>
</BODY>
</HTML>

6, Now we need to make the “default.htm” the default document. So go back into the IIS Console  and switch back to Features View and double click Default Document.

image

7, Now simply press add and type in the name of the htm file and hit ok

image

8, The final thing we need to do is to move the default.htm file to the top of the default document list so it takes precedence. So simply click default.htm and press move up.

image

9, You will get a message pop up simply press yes as this is what we want to do

image

10, Now when you type in your host header URL (http://test ) you will get redirected to the correct page (http:\test\Test2).

Hope this Helps You :)

Categories: Uncategorized Tags: ,