SharePoint Stuff



.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
operation.
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 microsoft.com

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

PRIVILEGES INFORMATION
———————-

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>
Description:
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: c:vhostsmydomain.com
    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=12.0.0.0, 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: http://mydomain.com/
    Request path: /
    User host address: 100.100.100.100�
    User:�
    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 http://go.microsoft.com/fwlink/events.asp.