Ir al contenido principal

Entradas

Mostrando entradas de abril, 2014

Disable Loopback Check Powershell

  To disable Loopback check run the following cmd on the (each) SharePoint server from a SharePoint PowerShell prompt (run as administrator):   1: New -ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword

SharePoint 2007, 2010 or 2013 Application Warm-up Script

  1: #//------------------------------------------------------------------------ 2: #// 3: #// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 4: #// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 5: #// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND / OR FITNESS FOR A 6: #// PARTICULAR PURPOSE. 7: #// 8: #// 9: #// 10: #// Research and ideas for this scritp come from here 11: #// http://kirkhofer.wordpress.com/2008/10/18/sharepoint-warm-up-script/ 12: #//----------------------------------------------------------------------------- 13: 14: # TEST IN STAGING ENVIRONMENT FIRST, THEN IN PRODUCTION IF TESTS PASSED 15: 16: 17: cls 18: 19: function get -webpage([ string ]$url,[System.Net.NetworkCredential]$cred=$null) 20: { 21: $wc = new - object net.webclient 22: if ($cred -eq $null) 23: { 24: $cred = [System.Net.CredentialCache]::DefaultCr

SharePoint 2010: The timer service failed to recycle

  Problem You find the following entry in the SharePoint 2010 Central Administration Review problems and solutions listing: Title The timer service failed to recycle. Severity 2 - Warning Category Performance Explanation The last attempt to recycle the timer service failed as have most of the other attempts during the past week. Recycling typically fails because other timer jobs are running when the recycle is scheduled. To view which jobs blocked the recycle view the history for the recycle job and click on the failed status link for more information. The error message for the failed job entry will contain a list of jobs that were still running. The history for the recycle job can be found at: [path to timer job history for the associated timer job] Remedy Change the schedule for the timer recycle job so that it does not conflict with other long-running timer jobs. This can be done from the central administration site at [path to timer job history for the associated timer job]. Fo

Tamaño Bases de Datos SQL (Data - Log)

      1: SELECT name AS 'Nombre Archivo' , 2: filename AS 'Dirección Fisica' , 3: CASE groupid 4: WHEN 1 THEN 'File' 5: ELSE 'Log' 6: END AS 'Tipo archivo' , 7: size AS 'Tamaño' , 8: ( size *8)/(1024.) AS 'TamañoEnMBs' 9: FROM master..sysaltfiles 10: ORDER BY size desc