SharePoint Stuff

Posts Tagged ‘Microsoft’

Faster PHP in IIS? Use FastCGI

Written by admin. Posted in Microsoft

Faster PHP? use FastCGI


Ever thought that PHP runs a bit slow on your IIS (6/7) server, well with the new addition of FastCGI you can get an increase in performance of up to 20 times faster.


What you need to do for IIS 6 and PHP 5.2.6;


First download the latest PHP version from  

User the Installer version

Install to c:program filesphp – or a folder of your choice

When installing select IIS Fastcgi


Second download FastCGI for IIS6 from

Edit C:WINDOWSSystem32inetsrvfcgiext.ini

Add the following to the bottom of the file







ExePath=C:Program FilesPHPphp-cgi.exe






Save the file


Restart IIS

Confirm that PHP works



PHP test file phptest.php


<?php phpinfo(); ?>




Bit more of a boost Install eAccelerator






If you receive the following error, it is likely that you have a configuration issue with PHP, or the requests are timing out



FastCGI Error
The FastCGI Handler was unable to process the request.

Error Details:

The FastCGI process exceeded configured activity timeout
Error Number: 258 (0x80070102).
Error Description: The wait operation timed out.
HTTP Error 500 – Server Error.
Internet Information Services (IIS)



First check PHP; rename php.ini to php.old (make sure that no other php.ini file exists) iisreset, now confirm that PHP loads if PHP now works disable all extensions and test each on in turn.


If page is timing out increase the ‘requesttimeou’ in fcgiext.ini


.Net Framework 3.5 WIC install error and ‘SeSecurityPrivilege’ with WSS and MOSS

Written by admin. Posted in Microsoft

.Net 3.5 Error

WIC x64 Installer: [2] Setup Failed on component WIC x64 Installer
WapUI: [2] DepCheck indicates WIC x64 Installer is not installed.

WSS Content DB setup error

System.Security.AccessControl.PrivilegeNotHeldException: The process does not
possess the ‘SeSecurityPrivilege’ privilege which is required for this
at System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType
resourceType, String name, SafeHandle handle, AccessControlSections
accessControlSections, RawSecurityDescriptor& resultSd)

After several hours we found out that the cause of the issue was because the domain policy was overriding the the local policy of the server.

To resolve this issue Open Local Security Policy (under adminstration tools) ->Local Policy->User Assignments -> “Manage Auditing and Security Log” under this policy add the service account. (by default administrators should exsist here).

To help diagnose this issue download whoami.exe from

run whoami with the /PRIV switch i.e. whoami /PRIV

a normal output should look like this (items marked as disabled are still ok) must make sure sesecurityprivilege is listed


Privilege Name                  Description                               State

=============================== ========================================= ======
SeIncreaseQuotaPrivilege        Adjust memory quotas for a process        Disabled
SeTcbPrivilege                  Act as part of the operating system       Disabled
SeSecurityPrivilege             Manage auditing and security log          Disabled
SeTakeOwnershipPrivilege        Take ownership of files or other objects  Disabled
SeLoadDriverPrivilege           Load and unload device drivers            Disabled
SeSystemProfilePrivilege        Profile system performance                Disabled
SeSystemtimePrivilege           Change the system time                    Disabled
SeProfileSingleProcessPrivilege Profile single process                    Disabled
SeIncreaseBasePriorityPrivilege Increase scheduling priority              Disabled
SeCreatePagefilePrivilege       Create a pagefile                         Disabled
SeBackupPrivilege               Back up files and directories             Disabled
SeRestorePrivilege              Restore files and directories             Disabled
SeShutdownPrivilege             Shut down the system                      Disabled
SeDebugPrivilege                Debug programs                            Disabled
SeSystemEnvironmentPrivilege    Modify firmware environment values        Disabled
SeChangeNotifyPrivilege         Bypass traverse checking                  Enabled
SeRemoteShutdownPrivilege       Force shutdown from a remote system       Disabled
SeUndockPrivilege               Remove computer from docking station      Disabled
SeManageVolumePrivilege         Perform volume maintenance tasks          Disabled
SeImpersonatePrivilege          Impersonate a client after authentication Enabled
SeCreateGlobalPrivilege         Create global objects                     Enabled
SeIncreaseWorkingSetPrivilege   Increase a process working set            Disabled
SeTimeZonePrivilege             Change the time zone                      Disabled
SeCreateSymbolicLinkPrivilege   Create symbolic links                     Disabled

Thanks to Lewis and whoami.exe

WSS front-end servers failing after Search Server 2008 installed

Written by admin. Posted in Microsoft, TSLS

If you recieve the following error and have just installed search server 2008, the likely cause by the fact that you will need to install search server on the front-end web server.

Event Type: Warning�
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date:  08/09/2008
Time:  09:59:40
User:  N/A
Computer: <SERVERNAME>
Event code: 3008
Event message: A configuration error has occurred.
Event time: 08/09/2008 09:59:40
Event time (UTC): 08/09/2008 08:59:40
Event ID: ad75a9d233ce4336a676ce0d9b757cff
Event sequence: 10
Event occurrence: 1
Event detail code: 0

Application information:
    Application domain: /LM/W3SVC/1799528861/Root-1-128653379651222030
    Trust level: WSS_Minimal
    Application Virtual Path: /
    Application Path:
    Machine name: <SERVERNAME>�

Process information:
    Process ID: 3212
    Process name: w3wp.exe
    Account name: MYDOMAINMYACCOUNT�

Exception information:
    Exception type: ConfigurationErrorsException
    Exception message: Could not load file or assembly ‘Microsoft.Office.Server, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies. The system cannot find the file specified. (c:vhostsmydomain.comweb.config line 146)

Request information:
    Request URL:
    Request path: /
    User host address:�
    Is authenticated: False
    Authentication Type:�
    Thread account name: MYDOMAINMYAPPPOOL�

Thread information:
    Thread ID: 1
    Thread account name: MYDOMAINMYAPPPOOL�
    Is impersonating: False
    Stack trace:    at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   at System.Web.SessionState.SessionStateModule.InitPartitionResolver(SessionStateSection config)
   at System.Web.SessionState.SessionStateModule.InitModuleFromConfig(HttpApplication app, SessionStateSection config)
   at System.Web.SessionState.SessionStateModule.Init(HttpApplication app)
   at System.Web.HttpApplication.InitModulesCommon()
   at System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers)
   at System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context)
   at System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
   at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)

Custom event details:

For more information, see Help and Support Center at