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

Thursday, March 28, 2013

Converting IIS logs time from UTC to local time

If you notice that the time logged in IIS logs does not match your server's local time, this is because IIS logs time in UTC (GMT) to conform with the W3C log format so if you are in a different time zone for example UTC -3 you will find the time 3 hours ahead in the logs.

To change that, you can choose a different log format from the IIS manager or you can convert the log file using Log Parser.

Download and install Log Parser then run the following command

LogParser.exe "SELECT DATE,TO_LOCALTIME(time) AS time,s-ip,cs-method,cs-uri-stem,cs-uri-query,s-port,cs-username,c-ip,cs(User-Agent),sc-status,sc-substatus,sc-win32-status,time-taken INTO c:\ayman\output.log FROM c:\ayman\input.log" -i:IISW3C -o:W3C

 

Wednesday, January 2, 2013

Configure HTTPS on IIS 7 and SharePoint 2010

This post is about configuring https on SharePoint 2010 web application running on multiple load balanced IIS 7 web servers.
Assuming you already have a digital certificate, follow the coming steps. If you do not have a certificate, you can either purchase or create a self signed certificate but in that case you will receive a warning in the browser when opening the website.

Monday, February 27, 2012

ACL permissions for IIS7 application pools

In W2K8R2/IIS7 application pools run by default under the builtin identitiy ApplicationPoolIdentity.
To grant ACL permissions to web applications running under these pools resolve names like this:

IIS APPPOOL\[APP POOL NAME]



Thursday, January 5, 2012

Internet Information Services us running in 32-bit emulation mode.

You may get this error during MOSS or WSS installation on 64-bit Windows Server:

Setup is unable to proceed due to the following error(s):
Internet Information Services is running in 32-bit emulation mode.
Correct the issue(s) listed above and re-run setup.


To fix the problem disable 32-bit support in the default application pool settings.

From IIS Manager -> Application Pools -> Set Application Pool Defaults, set the "Enable 32-Bit Applications" to False.


Or run this from your Intepub/AdminScripts folder

cscript adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1

http://support.microsoft.com/kb/905854/en-us

Wednesday, October 26, 2011