Ir al contenido principal

Entradas

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]...

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

T-SQL Listar todas las tablas de una base de datos con sus respectivos tamaños

  1: SELECT 2: X.[name], 3: REPLACE( CONVERT ( varchar , CONVERT (money, X.[ rows ]), 1), '.00' , '' ) 4: AS [ rows ], 5: REPLACE( CONVERT ( varchar , CONVERT (money, X.[reserved]), 1), '.00' , '' ) 6: AS [reserved], 7: REPLACE( CONVERT ( varchar , CONVERT (money, X.[ data ]), 1), '.00' , '' ) 8: AS [ data ], 9: REPLACE( CONVERT ( varchar , CONVERT (money, X.[index_size]), 1), '.00' , '' ) 10: AS [index_size], 11: REPLACE( CONVERT ( varchar , CONVERT (money, X.[unused]), 1), '.00' , '' ) 12: AS [unused] 13: FROM 14: ( SELECT 15: CAST (object_name(id) AS varchar (50)) 16: AS [name], 17: SUM ( CASE WHEN indid < 2 THEN CONVERT (bigint, [ rows ]) END ) 18: AS [ rows ], 19: SUM ( CONVERT (bigint, reserved)) * 8 20: AS reserved...

SharePoint : Mensaje de excepción: No se pudo convertir la estructura del SID en un SID de cadena. No se pudo realizar la llamada a la API de Win32..

Recientemente se me estaba presentando el siguiente mensaje de error pero lograr identificar la causa del mismo fue casi imposible dado que el mensaje de error no es muy descriptivo y por ende no se logra identificar cuales perfiles pueden estar presentando problemas. Navegando el internet encontré que a otras personas les sucedía lo mismo y uno de ellos público una posible solución al inconveniente que estaba teniendo en mi granja. La solución fue simple: Primero que todo se debe establecer una conexión SQL a la base de datos de los servicios compartidos donde se encuentra la información del users profile y ejecutar la siguiente sentencia de SQL     Esta sentencia lo que nos arrojara son los perfiles que presentan problemas con el SID y son estos mismos los que debemos corregir.      Con la información que nos arrojó el Query anterior debemos ingresar a la administración central de SharePoint luego a los servicios compartidos y por ultimo al users profile d...