viernes, 22 de febrero de 2013

Manifiesto y paquete de una App para Sharepoint

Un paquete de aplicación para SharePoint es un archivo con una extensión ".app" que cumple las Open Packaging Conventions (OPC, Convenciones de empaquetado abierto) . El paquete contiene los elementos siguientes:

  • Manifiesto de aplicación: se trata de un archivo obligatorio con el nombre appmanifest.xml. Este archivo indica a SharePoint 2013 algunas de las propiedades importantes de la aplicación, como son el título y los permisos que necesita para ejecutarse. Para obtener más información sobre el contenido de este archivo, consulte Aplicación para el archivo de manifiesto de SharePoint.

  • Paquetes de soluciones de SharePoint: de forma opcional, la aplicación incluye un paquete de soluciones (archivo .wsp) que contiene los componentes del sitio web de aplicación. Entre estos componentes, es posible encontrar páginas, instancias de lista, vistas, documentos, funciones de ámbito Web y otros componentes de SharePoint 2013. (Para obtener más información sobre qué componentes de SharePoint puede incorporar aplicación para SharePoint, consulte Tipos de componentes de SharePoint que se pueden encontrar en una aplicación para SharePoint). El archivo .wsp también puede incorporar aplicaciones para Office. Los componentes en el archivo .wsp se implementan en el sitio web de aplicación. Para obtener ejemplos de paquetes de aplicaciones que incluyan un paquete de soluciones de SharePoint, consulte Procedimiento para crear una aplicación hospedada en la nube que incluya un tipo de contenido y una lista de SharePoint personalizados.

  • Características del sitio web host con acciones personalizadas o elementos de la aplicación: además de los componentes de SharePoint 2013 que se implementan en el sitio web de aplicación, una aplicación para SharePoint también puede implementar una o más acciones personalizadas (elementos de menú contextual o extensiones de cinta) en el sitio web host. Para llevar esto a cabo, se debe incluir en el paquete de aplicaciones una característica que no se incorpora en el archivo .wsp del paquete y que implementa los componentes que se van a incluir en el sitio web host. Esta característica "fantasma" se denomina característica del sitio web host. Los elementos de la aplicación se implementan en el sitio web host de la misma forma. La característica del sitio web host está compuesta por un archivo feature.xml de SharePoint 2013 estándar y uno o más archivos elements.xml asociados. Los archivos elements.xml para una acción personalizada, por ejemplo, incorporan el marcado de CustomAction para la acción personalizada. Por otra parte, también pueden incorporar marcados para los elementos de la aplicación. Únicamente estos dos tipos de componente pueden encontrarse en la característica del sitio web host y no aparecen desglosados en el manifiesto de la aplicación. Sin embargo, son "elementos", en términos de OPC, además de que existe una relación de OPC explícita entre el manifiesto de la aplicación y cada uno de estos archivos. Para obtener un ejemplo de paquete de aplicaciones que incluya una característica del sitio web host, consulte How to: Create an ECB custom action to deploy with your app for SharePoint.

  • Archivos de recursos de localización (.resx): se usan para localizar ciertos aspectos del manifiesto de la aplicación como el título de la aplicación y de las características del sitio web host en el paquete de aplicaciones. (Los elementos individuales del paquete de aplicaciones que se encuentran dentro de su propio paquete, como por ejemplo, los archivos .wsp, los paquetes de Sitios web de Windows Azure y los manifiestos de aplicación, cuentan cada uno de ellos con sus propios procedimientos de localización que se aplicarían exactamente como habitualmente si los elementos en cuestión no formasen parte de una aplicación para SharePoint). Para obtener un ejemplo de un paquete de aplicaciones que incluya archivos .resx para una característica del sitio web host, consulte Procedimiento para localizar aplicaciones para SharePoint.

  • Paquetes de aplicación de capa de datos (DACPAC): en aplicaciones que se hospedan a sí mismas, es posible que se incorpore un DACPAC que instala una base de datos de SQL Azure en una cuenta que se asocia con una cuenta de Microsoft SharePoint Online.

  • Paquetes de Web Deploy: en las aplicaciones que se hospedan a sí mismas, es posible que exista un paquete de Web Deploy que instala un Sitio web de Windows Azure que se asocia a una cuenta de Microsoft SharePoint Online. Para obtener un ejemplo de un paquete de aplicaciones que incluya un paquete de Web Deploy, consulte Procedimiento para crear una aplicación básica hospedada automáticamente en SharePoint 2013.

  • Aplicaciones para Office Manifiestos: de forma alternativa, es posible que haya más de un manifiesto de aplicaciones para Office para cada uno de los paquetes de aplicación para Office. Este elemento puede incluirse en el paquete de aplicaciones solamente si la aplicación se va a cargar a un catálogo de aplicaciones corporativas de SharePoint 2013, y no en el catálogo de soluciones público. Consulte Publicar aplicaciones para SharePoint para obtener más información.

Links útiles #22 Sharepoint 2013

1-Push Notifications en Sharepoint 2013

http://msdn.microsoft.com/en-us/library/jj163784.aspx

http://code.msdn.microsoft.com/office/SharePoint-2013-Using-push-a1530b51

http://blog.christian-heindel.de/2012/07/24/mobile-devices-and-sharepoint-2013-part-iii-push-notifications/

http://www.bing.com/videos/watch/video/understand-and-develop-push-notifications-in-sharepoint-2013/10tbrxg13

2-Promoted Links en Sharepoint 2013

http://www.c-sharpcorner.com/UploadFile/anavijai/promoted-links-app-in-sharepoint-2013/

3-Related Items column en Sharepoint 2013

http://www.c-sharpcorner.com/UploadFile/anavijai/related-items-site-column-in-sharepoint-2013/

4-Suggest people to follow web part en Sharepoint 2013

http://gallery.technet.microsoft.com/Visual-webpart-in-7a6bb7e3

http://msdn.microsoft.com/en-us/library/jj163130.aspx

5-PerMon | PAL performance counters en Sharepoint 2013

http://yalla.itgroove.net/tag/performance-monitor/

Tips Info #97 Sharepoint 2010

1-Indexar archivos grandes en Sharepoint 2010

En Sharepoint 2010 el crawl por default no indexa archivos más grandes que 16 MB. Se puede cambiar esta propiedad mediante el siguiente comando de powershell:

$dSize = Get-SPEnterpriseSearchServiceApplication;
$dSize.SetProperty("MaxDownloadSize", 32);
$dSize.Update();

Recuerde que deberá reiniciar el servicio de search: Restart-Service osearch14

2-Reducir el tamaño de la base de datos de logging (WSS_UsageApplication) en Sharepoint 2010

Por default la cantidad de días que se retiene la información es de 14 días. Se puede verificar con el siguiente comando de power shell: Get-SPUsageDefinition

Se puede reducir el tamaño de la base ejecutando el siguiente comando:

Set-SPUsageDefinition –Identity "Page Requests" -DaysRetained 3

Esto provocará que se reduzca el tamaño.

Una manera rápida de ejecutar el comando sobre todas las features es mediante el siguiente script:

$definicionUsage = Get-SPUsageDefinition

Foreach($def in $definicionUsage)

{

Set-SPUsageDefinition –Identity $def.Name –DaysRetained 3

}

Recuerde que deberá ejecutar los dos siguientes jobs para limpiar los datos históricos:

'Microsoft SharePoint Foundation Usage Data Import' y 'Microsoft SharePoint Foundation Usage Data Processing'.

3-Feature ‘Site Use Confirmation and Deletion’

Site Use Confirmation and Deletion

Puede acceder a esta feature desde Central Administration > Site Collections > Site Use Confirm and Deletion

Esta feature informa a los administradores del site collection sobre sites que no se actualizan.

Hay tres campos que juegan un papel importante en el proceso (tabla AllSites de la base de contenido del web application):

  • “DeadWebNotifyCount”
  • “CertificationDate”
  • “LastContentChange”

DeadWebNotifyCount indica las veces que se notifico al usuario. Si es cero, significa que la fecha de expiración se extendió.

CertificationDate informa cuando se verificó el site.

LastContentChange, indica cuando se modificó el site (un documento, una lista, cualquier contenido)

Para poder actualizar los emails que se envian lea este link: http://msdn.microsoft.com/en-us/library/aa979730(v=office.14).aspx

4-Scope para buscar sólo documentos de librerías en Sharepoint 2010

Una vez que se crea un scope, se debe agregar una regla de query.

image

5-Workflows no disponibles después de realizar el upgrade de Sharepoint 2007 a 2010

Después de realizar el upgrade de SharePoint 2007 de la base de datos a SharePoint 2010 se observa que los Approval workflows de 2007no están disponibles/visibles para usuarios para crear nuevos workflows.

Ejecuta los siguientes pasos para habilitar 2007 workflows después del upgrade a SharePoint 2010:

· Ir a Site Actions ->Site Settings->Site Collection Administration->Site collection features

· Activar ‘SharePoint 2007 Workflows’

· Remueve el valor ‘none’ en <AssociationCategories>none</AssociationCategories> desde los siguientes files

    -14\template\features\ReviewWorkflows\Reviewapproval.xml

    -14\template\features\ReviewWorkflows\ReviewFeedback.xml

    -14\template\features\SignatureWorkflow\Signatures.xml

· Asocia el Workflow, ir a una librería,Library Settings, Add a Workflow, Seleccionar legacy Workflow.

Recuerda realizar un backup de los tres archivos modificados.

lunes, 18 de febrero de 2013

Links útiles #20 Sharepoint 2013

1-Caracteristicas y capacidades de Sharepoint 2013 para sitios de internet (features and capabilities )

http://blogs.technet.com/b/mspfe/archive/2013/01/29/public-facing-internet-sites-based-on-sharepoint-server-2013.aspx

2-People Picker para Apps en Sharepoint 2013

http://msdn.microsoft.com/en-us/library/jj713593(v=office.15).aspx

3-Instalar Sharepoint 2013 sobre Azure

http://labratcentral.wordpress.com/2013/01/25/install-sharepoint-2013-on-azurevm-how-to/

4-Mover Search Index Sharepoint 2013

http://gallery.technet.microsoft.com/scriptcenter/Move-SharePoint-2013-242869e2

5-MVC y Apps en Sharepoint 2013

http://spblogedin.blogspot.com.ar/2013/02/las-apps-de-sharepoint-2013-iv-una-app.html#.URrARKWqllg

http://www.ilovesharepoint.com/2012/07/building-aspnet-mvc-based-sharepoint.html

6-SSL para Central Administration en Sharepoint 2013

http://www.harbar.net/archive/2013/02/13/Using-SSL-for-Central-Administration-with-SharePoint-2013.aspx

7-WAN y Sharepoint 2013

http://technet.microsoft.com/en-us/library/hh206322.aspx

8-Best Bet o Promoted results search en Sharepoint 2013

http://nishantrana.wordpress.com/2013/02/06/best-bet-or-promoted-results-in-sharepoint-2013/

9-Refinement Panel en Sharepoint 2013

http://nishantrana.wordpress.com/2013/02/06/adding-refiner-count-in-refinement-web-part-in-sharepoint-2013/

10-App para Sharepoint hosteada en Azure

http://blogs.msdn.com/b/steve_fox/archive/2013/02/18/building-your-first-provider-hosted-app-for-sharepoint-using-windows-azure-part-1.aspx

miércoles, 13 de febrero de 2013

Tips Info #96 Sharepoint 2010

1-Web Analytics jobs

Web Analytics tiene varios jobs:

  • Microsoft SharePoint Foundation Site Inventory Usage Collection – Por default, este job corre diariamente. Es responsable de coleccionar el inventario de información de sites de cada site collection en la granja. Este job es el primero que debe ejecutarse.
  • Microsoft SharePoint Foundation Usage Data Import – Por default, este job corre cada 30 minutos. Es responsable de importar datos de uso y guardarlos en la base de logging.
  • Microsoft SharePoint Foundation Usage Data Processing – Por default, este job corre diariamente. Es reponsable de procesar los datos que han sido acumulados y guardarlos en la base de Staging.
  • Web Analytics Trigger Workflows Timer Job – Por default, este job corre diariamente. Es responsable de iniciar los workflows que permite la distribución automática de los reportes de analytics.

2-No hay datos de web analytics en Sharepoint 2010

Verificar 1: el servicio de analytics se esté ejecutando

Central Administration > Application Management > Service Applications > Manage Services on Server

Verificar que estén iniciados los siguientes servicios:

  • Web Analytics Data Processing Service

  • Web Analytics Web Service

Verificar 2: Configurar correctamente Usage Data reporting

Central Administration > Monitoring > Reporting > Configure usage and health data collection

Verificar que el usage data collection esté habilitado.

Verificar 3: configurar correctamente la definición de jobs

Central Administration > Monitoring > Timer Jobs > Review job definitions

  • Microsoft SharePoint Foundation Usage Data Import (30 minutos)

  • Microsoft SharePoint Foundation Usage Data Processing  (diario)

  • Microsoft SharePoint Foundation Site Inventory Usage Collection  (diario)

Verificar 4: verificar permisos de la carpeta de usage logs

Default: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS\

Verifica los siguientes permisos de grupos de seguridad:

  • WSS_Admin_WPG: everything but Full Control

  • WSS_RESTRICTED_WPG: read and write

  • WSS_WPG: read and write

Verificar 5: verificar que esté prendida la feature a nivel de site collection

Site Collection Administration -> Site Collection Features -> Advanced Web Analytics

Verificar 6: verificar que el servicio de windows SPTraceV4 esté iniciado

Recuerda que tarda 24 hs en procesar la información completa.

4-The Server is busy now – Try again later

SharePoint incluye un sistema para la limitación de diversos contadores de rendimiento de Windows Server 2008 y para la limitación (es decir, el bloqueo) de las solicitudes HTTP, si alguno de dichos contadores indica que un servidor se encuentra muy ocupado para atender todas las solicitudes que recibe. El sistema de limitación y supervisión puede activarse y desactivarse para una aplicación web de SharePoint específica en la aplicación de Administración central o por medio de un comando de PowerShell (Set-SPWebApplicationHttpThrottlingMonitor). El sistema puede modificarse mediante el modelo de objetos de SharePoint o mediante los cmdlets de la Consola de administración de SharePoint.

Se envía un error HTTP 503 al cliente de las solicitudes bloqueadas.

The Server is busy now. Try again later

El Health Score es calculated desde un conjunto de Performance Counters. Por default se usa dos erformance counters para esto:

Memory/Available MBytes
ASP.NET/Requests Current

Puedes consultar estos contadores mediante el siguiente comando:

Get -SPWebApplicationHttpThrottlingMonitor http://url_web_application

Una calculadora de puntuación de estado convierte un valor sin formato de un contador de rendimiento (o el resultado de alguna función aplicada a varios valores sin formato) en una puntuación de estado de 0 a 10, donde 0 representa la puntuación con el mejor estado posible del contador y 10 representa la puntuación con el peor estado.

Buckets of what?

Más información en los siguientes links:

http://www.wictorwilen.se/sharepoint-2013-sharepoint-health-score-and-throttling-deep-dive

http://blogs.msdn.com/b/besidethepoint/archive/2010/09/13/http-request-throttling-in-sharepoint-2010.aspx

http://blogs.msdn.com/b/besidethepoint/archive/2010/09/14/http-request-throttling-in-sharepoint-2010-part-2.aspx

http://msdn.microsoft.com/en-us/library/ff407390(v=office.14).aspx

5-Migrar bases de datos de SQL Server a otro servidor de SQL

Detener todos los servicios de windows

  • SharePoint 2010 Administration
  • SharePoint 2010 Timer
  • SharePoint 2010 Tracing
  • SharePoint 2010 User Code Host
  • SharePoint 2010 VSS Writer
  • SharePoint Foundation Search V4
  • World Wide Web Publishing Service
  • SharePoint Server Search 14
  • Web Analytics Data Processing Service
  • Web Analytics Web Service

Detener el IIS

  • iisreset /stop

Detach de todas las bases de datos del SQL Server viejo

Mover todos los archivos (.ldf, .mdf y .ndf) de base de datos al nuevo SQL Server y realizar un attach de los mismos

4 Attach Database

Migrar las user accounts y permisos del servidor viejo al nuevo

http://support.microsoft.com/kb/918992

Verifica que los puertos del nuevo SQL Server estén abiertos

Agrega el alias del sql server nuevo en el servidor de Sharepoint mediante cliconfig

Inicia todos los servicios de windows

  • SharePoint 2010 Administration
  • SharePoint 2010 Timer
  • SharePoint 2010 Tracing
  • SharePoint 2010 User Code Host
  • SharePoint 2010 VSS Writer
  • SharePoint Foundation Search V4
  • World Wide Web Publishing Service
  • SharePoint Server Search 14
  • Web Analytics Data Processing Service
  • Web Analytics Web Service

Has un iisreset /start

martes, 12 de febrero de 2013

Jobs de Sharepoint 2010

Timer job title Description Schedule type

Audit Log Trimming

Trims audit trail entries from site collections.

Monthly

Cell Storage Data Cleanup Timer Job

Deletes temporary cell storage data and frees SQL Server disk space.

Weekly

Cell Storage User Data Deletion Job

Deletes user data that is stored as cell storage. This job should only be run only if the SQL Server database server is running out of disk space.

Important Important:

This job can cause user data loss and does not run automatically by default.

Monthly

Change Log

Removes expired entries from the change log of the Web application.

Daily

Config Refresh

Checks the configuration database for configuration changes.

15 seconds

Dead Site Delete

When auto site cleanup is enabled, sites that have not been used in a certain period of time are deleted.

Daily

Delete Job History

Deletes old entries from the timer job history.

Weekly

Delete Job History

Deletes old entries from the timer job history.

Weekly

Disk Quota Warning

Looks for sites that have exceeded the storage quota.

Daily

Gradual Site Delete

Deletes all the data from the host content database for all deleted site collections.

Daily

Health Analysis Job (Daily, Central Administration, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the Central Administration Web application and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Central Administration, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs the Central Administration Web application and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Microsoft SharePoint Foundation Timer, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Microsoft SharePoint Foundation Timer, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Microsoft SharePoint Foundation Web Application, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run SharePoint Web applications and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Microsoft SharePoint Foundation Web Application, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs SharePoint Web applications and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, SSP Job Control Service, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs the SSP Job Control Service and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Visio Graphics Service, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs Visio Services and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Web Analytics Data Processing Service, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs a Web Analytics Data Processing Service application and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Daily, Web Analytics Web Service, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs a Web Analytics Service application and the Usage and Health Data Collection Service application.

Daily

Health Analysis Job (Hourly, Security Token Service, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the Security Token Service (STS) and the Usage and Health Data Collection Service application.

Hourly

Health Analysis Job (Hourly, Microsoft SharePoint Foundation Timer, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Hourly

Health Analysis Job (Hourly, Microsoft SharePoint Foundation Timer, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Hourly

Health Analysis Job (Hourly, User Profile Service, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs Profile Services and the Usage and Health Data Collection Service application.

Hourly

Health Analysis Job (Monthly, Microsoft SharePoint Foundation Timer, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Monthly

Health Analysis Job (Weekly, Central Administration, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the Central Administration Web site and the Usage and Health Data Collection Service application.

Weekly

Health Analysis Job (Weekly, Microsoft SharePoint Foundation Timer, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Weekly

Health Analysis Job (Weekly, Microsoft SharePoint Foundation Timer, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs the SharePoint Timer Service and the Usage and Health Data Collection Service application.

Weekly

Health Analysis Job (Weekly, Microsoft SharePoint Foundation Web Application, All Servers)

Runs SharePoint Health Analyzer jobs on all servers in the farm that run SharePoint Web applications and the Usage and Health Data Collection Service application.

Weekly

Health Analysis Job (Weekly, User Profile Service, Any Server)

Runs SharePoint Health Analyzer jobs on the first server found in the farm that runs Profile Services and the Usage and Health Data Collection Service application.

Weekly

Immediate Alerts

Sends out immediate and scheduled alerts.

5 minutes

Microsoft SharePoint Foundation Site Inventory Usage Collection

Collects site inventory information for each site collection in the farm.

Daily

Microsoft SharePoint Foundation Usage Data Import

Imports usage log files into the logging database.

30 minutes

Microsoft SharePoint Foundation Usage Data Processing

Checks for expired usage data at the farm level and deletes the data. Expired usage data consists of records in the central usage data collection database that are older than 30 days.

If the Web Analytics Service application is also installed, this timer job moves the data to a Web Analytics Reporting database. You can run this timer job manually to force a check on expired data, or to force a usage data import to a Web Analytics application database.

Daily

Password Management

Sends e-mail and logs events for expiring passwords and password changes. This timer job helps ensure that managed passwords are changed before they expire.

Daily

Product Version Job

Checks the installation status of the computer and adds that data to the database.

Daily

Recycle Bin

Looks for content in the Recycle Bins and moves it to the next stage or deletes it.

Daily

Solution Daily Resource Usage Update

Marks the daily boundary for sandboxed solution resource quota monitoring.

Daily

Solution Resource Usage Log Processing

Aggregates resource usage data from sandboxed solution execution.

5 minutes

Solution Resource Usage Update

Records resource usage data from sandboxed solution execution, and sends e-mail to owners of site collections that are exceeding their allocated resource quota.

15 minutes

State Service Delete Expired Sessions

Deletes expired data that is stored in the state service databases.

Hourly

Timer Service Lock Management

Manages the content database locks that are used by the Timer Service to determine which server will run timer jobs for a content database.

1 minute

Timer Service Recycle

Recycles the Timer Service to free resources.

Daily

Upgrade Work Item Job

Processes deferred upgrade work items which were generated during a Microsoft Office SharePoint Server 2007 to Microsoft SharePoint Server 2010 upgrade. For example, generating thumbnails for upgraded Image libraries.

Daily

Workflow

Processes workflow events that are in the scheduled items table, such as delays.

1 minute

Workflow Auto Cleanup

Deletes tasks and instances in the workflow instance table for workflows that have been marked completed more than n days in the past, where n is specified in the workflow association. Crawls through tasks and the workflow instance table.

Daily

Workflow Failover

Processes events for workflows that have failed and are marked to be retried.

1 minute

CEIP Data Collection

Gathers farm data for the Customer Experience Improvement Program.

Daily

Diagnostic Data Provider: Event Log

Collects Windows Event Log entries and stores the data in the logging database.

10 minutes

Diagnostic Data Provider: Performance Counters - Database Servers

Collects Performance Monitor Counters data on database servers and stores the data in the logging database.

Important Important:

The timer service account must have sufficient permission to collect counters on the database server. The account should be a member of the Performance Monitor Users (PMU) group.

5 minutes

Diagnostic Data Provider: Performance Counters - Web Front Ends

Collects Performance Monitor Counters data on front-end Web servers and stores the data in the logging database.

5 minutes

Diagnostic Data Provider: SQL Blocking Queries

Collects data associated with blocked SQL queries and stores the data in the logging database.

15 seconds

Diagnostic Data Provider: SQL DMV

Collects SQL Dynamic Management Views (DMV) data and stores the data in the logging database.

30 minutes

Diagnostic Data Provider: SQL Memory DMV

Collects SQL Dynamic Management Views (DMV) data and stores the data in the logging database.

15 seconds

Diagnostic Data Provider: Trace Log

Collects Trace Log entries and stores the usage data in the logging database.

10 minutes

SharePoint Server CEIP Data Collection

Gathers farm data for the Customer Experience Improvement Program.

Daily

Document ID assignment job

Work item that assigns document ID to all items in the site collection.

Daily

Document ID enable/disable job

Work item that propagates content type changes across all sites when the Document ID feature is reconfigured.

Daily

Document Set fields synchronization job

Synchronizes metadata from the document set to the items inside the document library.

15 seconds

Content Type Hub

Tracks content type log maintenance and manages unpublished content types.

15 minutes

Content Type Subscriber

Retrieves content types packages from the hub and applies them to the local content type gallery. For more information about content types, see Plan to share terminology and content types (SharePoint Server 2010)

Hourly

Enterprise Metadata site data update

Updates all site collections after a language pack addition or an Enterprise Metadata Service application restore.

Hourly

Taxonomy Update Scheduler

Updates site collections with the latest term changes that were made to the Enterprise Metadata Service.

Hourly

FAST Search for SharePoint Master Job

Provisions the timer jobs for FAST Search Server 2010 for SharePoint if the Search service application type is set to FAST Query Application.

15 minutes

FAST Search Server 2010 for SharePoint Alternate Access Mapping Extractor Job

Retrieves the managed properties from the configured FAST Search Server 2010 for SharePoint farm that have the IsMapped flag set to true, and caches the properties on the SharePoint farm. These properties are used for alternate access mapping.

5 minutes

FAST Search Server 2010 for SharePoint Click Through Extractor Job

Extracts clickthrough data and uploads them to the configured FAST Search Server 2010 for SharePoint farm. The collected clickthrough data is used for relevancy tuning.

Daily

FAST Search Server 2010 for SharePoint Dictionary Compilation Job

Detects dictionary changes that are made by using Central Administration and exports the changes to the FAST Search Server 2010 for SharePoint farm.

5 minutes

InfoPath Forms Services Maintenance

Performs maintenance operations on administrator-approved InfoPath Forms Services form templates across all front-end Web servers.

Daily

Application Server Administration Service Timer Job

Manages shared service instances that may perform highly privileged operations. Requires that the SharePoint Administration service is running. The Search service instance is managed by this job on deployments other than stand-alone server deployments.

1 minute

Application Server Timer Job

Manages shared service instances that do not perform highly privileged operations. The Search service instance is managed by this job on stand-alone server deployments.

1 minute

Licensing Synchronizer Job

Synchronizes trial expiration time licensing information to the configuration database.

Hourly

Application Addresses Refresh Job

Synchronizes connection information for remote service applications.

15 minutes

SharePoint BI Maintenance

Deletes temporary dashboard objects and user-persistent filter values from the database. The longevity of these values can be set on the PerformancePoint Services Settings page.

Hourly

Project Server 'Project Service Application:pwa' Resource Capacity job

Resource capacity job for Project Server Service application.

Daily

Project Server 'Project Service Application:pwa' Workflow Cleanup job

Workflow cleanup job for Project Server Service application.

Daily

Project Server Service Credential Synchronizing Job

Credential synchronizing job for Project Server Service application.

1 minutes

Project Server Synchronizing Job for 'Project Service Application'

Project Server synchronizing job for Project Server Service application.

1 minute

Notification Timer Job

Queries and updates the notification list and sends out pending scheduling notifications.

Daily

Scheduled Approval

Looks for content that is scheduled for approval and moves it to the next stage in the process.

1 minute

Scheduled Unpublish

Looks for content that is scheduled to be unpublished and removes it.

1 minute

Variations Create Hierarchies Job Definition

Creates a complete variations hierarchy by spawning all sites and pages from the source site hierarchy for all variation labels.

Daily

Variations Create Page Job Definition

Creates peer pages in variant sites.

Hourly

Variations Propagate Page Job Definition

Creates or updates peer pages of the source page that has been approved or published in all target labels. The resulting peer pages are in an unpublished state.

1 minute

Variations Propagate Site Job Definition

Creates peer sites of the source site that has been created in all target labels.

1 minute

Content Organizer Processing

Processes documents in the drop-off library that match organizing rules.

Daily

Expiration Policy

Enumerates list items and looks for those with an expiration date that has already occurred. For those items, runs disposition processing. Disposition processing most often results in deleting items, but it can perform other actions, such as processing disposition workflows.

Daily

Hold Processing and Reporting

Generates a hold report by enumerating items in a hold and updating them to remove them from hold, as appropriate.

Daily

Information Management Policy

Loops through all the lists in the site collections in a Web application and collects policy and usage data.

Daily

Search and Process

Processes a search result that is scoped to a site collection and puts search results on hold.

Daily

Crawl Log Cleanup for Search Application Search Service Application

Crawls log cleanup for Search Service applications.

Daily

Crawl Log Report for Search Application Search Service Application

Crawls log report for Search Service applications.

5 minutes

Health Statistics Updating

Updates the statistics for the Usage and Health Data Collection service application.

1 minute

Indexing Schedule Manager on SQL Server

Starts scheduled crawls.

1 minute

Prepare query suggestions

Prepares candidate queries for query suggestion.

Daily

Query Logging

Logs the statistics for the number of queries performed.

15 minutes

Search Health Monitoring - Trace Events

Runs to check the events that are being traced for search health monitoring.

 

User Profile Service - Activity Feed Cleanup Job

Cleans up pre-computed activities that are used in activity feeds that are older than 14 days. This job does not affect the User Profile Change Log.

Daily

User Profile Service - Activity Feed Job

Pre-computes activities to be shown in user activity feeds.

Hourly

User Profile Service - Audience Compilation Job

Computes memberships of defined audiences.

Weekly

User Profile Service - My Site Suggestions Email Job

Sends e-mail messages that contain colleague and keyword suggestions to people who do not update their profile often, prompting them to update their profiles.

Monthly

User Profile Service - Social Data Maintenance Job

Aggregates social tags and ratings and cleans the social data change log.

Hourly

User Profile Service - User Profile Change Cleanup Job

Cleans up data that is 7 days old from User Profile Change Log. Migrates user rights from one user to another user, and migrates the user rights and cleans up that user from Active Directory Domain Services (AD DS). This is mainly used when the name of a user is changed in AD DS. The older user name is replaced by a new user name, and the older one is removed from AD DS.

Daily

User Profile Service - User Profile Change Job

Processes changes to user profiles. Changes the user profile. User rights can be migrated from one user to another user. This timer job is used when a user has to be migrated, but the previous user profile remains in AD DS.

Hourly

User Profile Service - User Profile Incremental Import Job

Manages provisioning and user profile synchronization. Imports only the user profiles that were added after the last import.

note Note:

Do not change the settings or frequency of this Timer job. To change the schedule for incremental synchronization, see Schedule profile synchronization (SharePoint Server 2010).

1 minute

User Profile Service - User Profile Language Synchronization Job

Looks for new language pack installations and makes sure that strings that related to the user profile service are localized correctly.

Daily

User Profile Service Proxy - Social Rating Synchronization Job

Synchronizes rating values between the social database and content database.

Hourly

User Profile to SharePoint Full Synchronization

Synchronizes user information from the user profile application to SharePoint users and synchronizes site memberships from SharePoint to the user profile application.

Hourly

User Profile to SharePoint Quick Synchronization

Synchronizes user information from the user profile application to SharePoint users who were recently added to a site.

5 minutes

My Site Cleanup Job

When a user is deleted, starts a workflow on that user’s My Site. The default behavior is to send an e-mail message to the manager with a link to the deleted user’s site. The e-mail message contains a request to the manager to move any documents or data that the manager wants to preserve, because the site might be deleted in the future.

Hourly

Web Analytics Trigger Workflows Timer Job

Starts Web Analytics Workflows for Web applications.

Daily

Word Automation Services Timer Job

Processes and distributes queued conversion job items to application servers.

15 minutes

Bulk Workflow Task Processing

Processes bulk workflow task completion.

Daily

miércoles, 6 de febrero de 2013

Links útiles #58–Sharepoint 2010

1-Mantenimiento del User Profile Services en Sharepoint 2010

http://technet.microsoft.com/en-us/library/ff681014(v=office.14).aspx

2-Excel Services vs Reporting Services

http://epmxperts.wordpress.com/2013/01/25/excel-services-vs-ssrs-considerations/

3-Cambiar la url de MySite

http://fangdahai.blogspot.com.ar/2013/01/how-to-change-my-site-host-url.html

4-Jquery y web services Sharepoint 2010

http://sharepoint2010tutorialnew.blogspot.com.ar/2013/01/retrieving-data-from-sharepoint-list.html

http://sharepoint2010tutorialnew.blogspot.com.ar/2013/01/bind-html-dropdown-list-using-jquery.html

http://sharepoint2010tutorialnew.blogspot.com.ar/2013/01/insertion-into-sharepoint-list-using.html

http://sharepoint2010tutorialnew.blogspot.com.ar/2013/01/updating-single-record-using-jquery-and.html

http://sharepoint2010tutorialnew.blogspot.com.ar/2013/01/deleting-more-than-one-record-using.html

http://sharepoint2010tutorialnew.blogspot.com.ar/2013/01/updating-more-than-one-record-using.html

http://sharepoint2010tutorialnew.blogspot.com.ar/2013/01/inserting-more-than-one-record-using.html

http://sharepoint2010tutorialnew.blogspot.com.ar/2013/01/delete-single-record-using-jquery-and.html

5-AD RMS Sharepoint 2010

http://tristanwatkins.com/inspecting-ad-rms-request-sharepoint-2010/

Tips Info #7 Sharepoint 2013

1-El grupo "All authenticated users" ahora se llama “Everyone” en Sharepoint 2013

Cuando se hace una migración de Sharepoint 2010 a 2013, esta cambio no se aplica hasta que se active una feature (GUID: 10F73B29-5779-46b3-85A8-4817A6E9A6C2)

$siteUrl = "http://www.contoso.com/" #URL of site collection
$site = Get-SPSite $siteUrl $site.Features.Add([System.Guid]"10F73B29-5779-46b3-85A8-4817A6E9A6C2")

Otro grupo que cambia durante la migración es: "All tenant users" ahora se llama "Everyone excluding external users,"

2-GAC y Sharepoint 2013

Como Sharepoint 2013 se ejecuta con NET 4.0, la dirección de la GAC cambió:

image

c:\windows\microsoft.net\assembly

image

3-Consumo alto de CPU del servicio de Search de Sharepoint 2013 (high CPU consuming)

El proceso Noderunner.exe consume mucha CPU o RAM. Para solucionarlo ejecute lo siguiente:

Utiliza el siguiente comando de powershell para reducir el consumo de RAM y CPU:

Set-SPEnterpriseSearchService –PerformanceLevel Reduced

Los valores permitidos son los definidos a continuación:

image

Para saber si se seteo bien el valor, ejecuta el siguiente comando:

Get-SPEnterpriseSearchService

A continuación edite el siguiente archivo:

C:\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner.exe.config

La propiedad memoryLimitMegabytes con valor 0, significa unlimited.

image

Cambia la propiedad a un valor dependiendo de su ambiente, ej:

image

Mate el proceso noderunner.exe, o reinicie el server.

4-Deshabilitar el loop check en para Windows Server 2012

Una de las características más problemáticas para Sharepoint es el loopcheck (problemas de search, de autenticación, etc). A continuación les explico como deshabilitarlo en Windows Server 2012

RUN-App-windows-server-2012.jpg

Type-REGEDIT-Windows-server-2012.jpg

Ir a la clave de registro

"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA"

Registry-Editor.jpg

Click derecho sobre Lsa, y elegir DWord

Right-Click-on-LSA-and-Create-a-new-DWORD.jpg

Cambia el nombre a DisableLoopbackCheck la clave recién creada, y agregale el valor 1

image.jpg

Set-the-value.jpg

Reinicia la máquina.

5-Set-SPSiteURL

Este comando de powershell permite agregar múltiples url´s a un site collection.

Ej: Set-SPSiteUrl -Identity http://www.site-url.com -Url https://site-ssl-url.com

Para verificar el valor seteado ejecute lo siguiente Get-SPSiteUrl -Identity http://www.site-url.com

Otro ejemplo que agrega una url al site, esta url se agrega a la zona default

$site = Get-SPSite 'http://www.contoso.com'
Set-SPSiteURL -Identity $site -Url http://contoso.sharepoint.com -Zone 0

El cmdlet Set-SPSiteUrl sólo se puede aplicar al root del site collection, ej http://www.contoso.com. Este cmdlet NO puede ejecutarse sobre un managed path site collection debajo del root, por ej http://www.contoso.com/sites/test.

Tips Info #96 Sharepoint 2010

1-Excluir una librería

Ir a la opción “Advanced Settings”, y editar la propiedad “Allow items from this document library to appear in search results?

Library Advanced Setting

2-Consumo alto de CPU o RAM del search services en Sharepoint 2010

Verifica el nivel actual de search crawl mediante el siguiente comando de powershell:

Get-SPEnterpriseSearchService

image

Puedes utilizar el siguiente comando para bajar el consumo de recursos:

Set-SPEnterpriseSearchService –PerformanceLevel “Reduced”

Performance Level Explained:

Reduced: Total number of threads = number of processors, Max Threads/host = number of processors

PartlyReduced: Total number of threads = 4 times the number of processors , Max Threads/host = 16 times the number of processors

Maximum: Total number of threads = 4 times the number of processors , Max Threads/host = 16 times the number of processors (threads are created at HIGH priority)

Más info: http://technet.microsoft.com/en-us/library/ff678212(v=office.14).aspx

3-Ocultar los encabezados de los  web part (hide web parts headers)

Agregar un content editor web part a la página. Edita el web part. Click sobre el área de HTML y elige “Edit HTML Source”.

Agrega el siguiente código:

   <style>

      TR.ms-viewheadertr > TH.ms-vh2 {

      DISPLAY: none

      }

   </style>

En las propiedades del web part, expande “Appearance”, y setee el tipo de encabezado a “None”

4-Remover vistas de listas de los resultados de búsqueda (remove list views from search results)

Agregar un nuevo Search scope, con la siguiente configuración:

Crear una nueva regla de search (search rule). Seleccionar 'Property Query' desde la sección “Scope Rule Type”

Seleccionar 'contentclass' del drop down. Ingresar 'STS_List_GenericList', y para finalizar excluir desde la sección “Behavior”

image

5-Event receiver se dispara dos veces para los evento Item Updating y Item Updated

Hay algunos eventos que se disparan dos veces cuando se usan los eventos Item Updating y Item Updated

-Cuando sube un nuevo archivo

-Cuando sube un archivo, que tiene seteado la opción “Overwrite existing file”, o agregar una nueva versión.

Para solucionar este problema, puede usar el siguiente código en el evento:

if (properties.AfterProperties["vti_sourcecontrolcheckedoutby"] == null

&& properties.BeforeProperties["vti_sourcecontrolcheckedoutby"] != null)

{

//Código que se ejecuta cuando hay un evento de check

}

else

{

//Código que se ejecuta por cualquier otro evento

}

martes, 5 de febrero de 2013

Links útiles #19 Sharepoint 2013

1-Permisos de aplicaciones Sharepoint 2013 (application permissions)

http://msdn.microsoft.com/en-us/library/fp142383.aspx

http://technet.microsoft.com/en-us/library/jj219576.aspx

2-Display Templates Sharepoint 2013

 http://erikswenson.blogspot.co.uk/2013/01/sharepoint-2013-display-templates.html

http://www.learningsharepoint.com/2012/09/17/sharepoint-2013-the-new-display-templates-for-styling-your-content/

http://www.fiechter.eu/blog/Lists/Posts/Post.aspx?ID=29&mobile=0

http://www.elumenotion.com/Blog/Lists/Posts/Post.aspx?ID=156

3-Mejoras en el search de Sharepoint 2013 (improvements search)

http://blogs.technet.com/b/tothesharepoint/archive/2012/12/07/improve-navigation-through-search-results-using-refiners-based-on-custom-entities.aspx

http://blogs.technet.com/b/tothesharepoint/archive/2012/11/26/introducing-search-schema-for-sharepoint-2013.aspx

http://blogs.technet.com/b/tothesharepoint/archive/2012/09/18/what-happened-to-best-bets-introducing-query-rules.aspx

http://blogs.technet.com/b/tothesharepoint/archive/2012/09/14/how-can-i-achieve-the-best-freshness-of-search-results-introducing-continuous-crawls-for-sharepoint.aspx

4- Búsqueda de pdf con Sharepoint 2013 (pdf search)

http://blogs.technet.com/b/tothesharepoint/archive/2012/10/09/build-a-specialized-search-experience-in-minutes-with-sharepoint-2013.aspx

5-Workflows en Sharepoint 2013 (uso de las acciones “Call HTTP Web Services”, “Log to History”, “Build Dictionary”, Get item from Dictionary)

http://www.fiechter.eu/blog/Lists/Posts/Post.aspx?List=7054a141-4635-4cd6-8223-116864700b5f&ID=37&Web=9b2f2e82-a200-4eed-9544-04d48f8a9313

6-Mobile Object de Sharepoint 2013 para Windows Phone 7.5

http://msdn.microsoft.com/en-us/library/jj163797.aspx

7-Search API REST para usuarios anónimos (Anonymous users Seach API REST)

http://blog.mastykarz.nl/configuring-sharepoint-2013-search-rest-api-anonymous-users/

8-Search Schema para Sharepoint 2013

http://blogs.technet.com/b/tothesharepoint/archive/2012/11/26/introducing-search-schema-for-sharepoint-2013.aspx

9-Hosted Web Part Sharepoint 2013

http://digsharepoint.blogspot.com.ar/2013/02/building-sharepoint-hosted-client-web.html

10-Ribbon custom action Sharepoint 2013

http://digsharepoint.blogspot.com.ar/2013/02/how-to-create-sharepoint-ribbon-custom.html

viernes, 1 de febrero de 2013

Tips Info #95 Sharepoint 2010

1-Minor version

Sólo los usuarios que pertenezcan a usuario Aprobador o administradores de site collection, podrán ver las versiones minor. Para que todos los usuarios puedan ver las versión, deberá publicar el documento. Lo cual la convierte a Major Version.

2-Test Upgrade Check de base de datos contra un web application

Test-SPContentDatabase –Name SP_Test_Content –WebApplication http://webapplication

3-El search indexa el content sources pero no trae resultados

Una posibilidad es la feature security trimmed, Lo que hace el search es mostrar resultados de búsqueda dependiendo si tenés permisos o no sobre los documentos/contenido que devuelve la query.

Otra posibilidad es que la cuenta de search que se usa para indexar contenido, no tenga permisos de read sobre el content sources. Un mensaje típico que puede aparecer cuando no tiene permisos sobre el content sources es el de “Access Denied”. Agrega una full policy de read a la cuenta de search que se usa para indexar.

Si en el log aparece el mensaje: SharePoint Server Search     Query Processor    g2j3                High        AuthzInitializeContextFromSid failed with ERROR_ACCESS_DENIED. This error indicates that the account under which this process is executing may not have read access to the tokenGroupsGlobalAndUniversal attribute on the querying user's Active Directory object. Query results which require non-Claims Windows authorization will not be returned to this querying user.

Lo que tendrás que hacer es, es agregar la cuenta del search al grupo “Windows Authorization Access Group” del AD.

image_thumb[1]

image_thumb[3]

Agregando el usuario a este grupo tendrá acceso de read al atributo tokenGroupsGlobalAndUniversal de todos los usuarios

4-Cache Busting

Cache busting es la manera de asegurar de que el navegador descargue una nueva versión del archivo css o js. Esto se puede realizar agregando al final del ?, caracteres random.

Ej:

<link rel="stylesheet" href="/js/example.js?v1.0" type="text/css" />

SharePoint 2010 usa una técnica que involucra computar un hash MD5 sobre el archvio y agrega el resultado al link el siguiente texto “?rev={MD5HASH}” . El hash computado no cambia a menos que se haya cambiado algo del archivo.

Esta técnica de computar un hash MD5 es usado por los controles CssRegistration y ScriptLink.

Ese puede usar por código, con el siguiente método: MakeBrowserCacheSafeLayoutsUrl

5-Forzar a actualizar un data source que tiene un diagrama VISIO

clip_image004

Para evitar que nos aparezca este mensaje, se puede editar el web.config del servicio de Visio.

Ingresar a C:\Program Files\Microsoft Office Servers\14.0\WebServices\Shared\VisioGraphicsServer\

Editar el archivo web.config, y agregar ForceRefresh = true

<appSettings>

  <add key="ForceRefresh" value="true" />

</appSettings>

A continuación hacer un recycle del app pool asociado al web.services.

jueves, 31 de enero de 2013

Links útiles #18 Sharepoint 2013

1-Comparación de límites de Sharepoint 2010 vs 2013

http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=91

2-Debugging remoto de Event receiver en Sharepoint 2013

http://blogs.msdn.com/b/officeapps/archive/2013/01/03/debugging-remote-event-receivers-with-visual-studio.aspx

3-Ports y Protocolos en Sharepoint 2013

http://blogs.msdn.com/b/uksharepoint/archive/2013/01/21/sharepoint-2013-ports-proxies-and-protocols-an-overview-of-farm-communications.aspx

4-Pack de forms authentication para Sharepoint 2013

http://sharepoint2013fba.codeplex.com/

http://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database

5-Ribbon Sharepoint 2013

http://sharepointinterface.com/2013/01/22/custom-ribbon-button-image-limitations-with-sharepoint-2013-apps/

6-Composed Look Sharepoint 2013

https://www.nothingbutsharepoint.com/sites/eusp/Pages/Step-by-Step-Create-a-SharePoint-2013-Composed-Look.aspx

7-Elevar user access con AllowAppOnlyPolicy en Sharepoint 2013

http://vrdmn.blogspot.in/2013/01/sharepoint-2013-elevate-user-access.html

8-ADRMS services discovery keys para Information Rights Management en SharePoint 2013

http://tomresing.com/blog/Lists/Posts/Post.aspx?List=ef557417-0d91-4330-ba67-8f298bf378ec&ID=69

9-Sharepoint 2010 Authentication con Windows Azure Access Control

http://blog.mikehacker.net/2012/12/20/sharepoint-2013-using-azure-acs-part-1/

http://blog.mikehacker.net/2011/04/21/sharepoint-authentication-using-windows-azure-access-controlpart-2/

10-REST Services – Crud Operations en Sharepoint 2013

http://martinbodocky.wordpress.com/2013/01/25/crud-operations-by-rest-services-in-sharepoint-2013/

Tips Info #94 Sharepoint 2010

1-El servicio de crawl de Sharepoint se detuvo después de que el servidor de base de datos se quedó sin disco (The crawl Sharepoint service stopped after the database server ran out of disk.)

En este escenario, el crawl se mete en un bucle donde el servidor SQL Server intenta asignar espacio adicional para los datos aplicables o el directorio de logs. Sin embargo, porque no hay espacio suficiente en el disco (o el destino no permite el auto-growth), la asignación de espacio producirá un error y la operación de búsqueda se deshace. Los servicios de búsqueda, intentará repetir la operación fallida, que continuará fallando.

Intentando detener el crawl (por ejemplo, desde la página de Administración de búsqueda) podría exacerbar el problema, ya que esta acción podría generar un número elevado de transacciones para eliminar elementos de las tablas de cola de rastreo y afines al proceso de rastreo. Por lo tanto, lo mejor es evitar detener el rastreo.

Use los siguientes pasos para resumir el crawl:

  • Detener los servicios 'SharePoint Server Search 14' (net stop osearch14) y 'SharePoint 2010 Timer' (net stop spTimerV4) en cada servidor de la granja. ()
  • Desde SQL Server Management Studio, hacer un detach de la Crawl Store DB(s)
  • Mover los files de la base de datos y/o log’s (Ej. .mdf, .ldf, y .ndf)  Crawl Store DB(s) a un path con sufiente espacio en disco.
  • Re-attach de la base de datos Crawl Store DB(s)
  • Reiniciar los servicios 'SharePoint Server Search 14' (net start osearch14) y 'SharePoint 2010 Timer' (net start spTimerV4)

2-Componentes del Search de Sharepoint 2010

Search Components

  • Search Administration
    Los usuarios interactúan con este componente vía el Central Admin (Central Admin -> Manage Service Applications -> [click sobre el SSA] )
  • Crawl Components
    Crawl components procesa los crawls de las fuentes de contenido, propaga los índices de resultados hacia los query components. Los Crawl components son asociados con un sólo Search Service Application.. Puede haber  n a 1 relaciones entre Crawl Components y una Crawl DB
  • Query Components
    Este componente retorna resultados de las búsquedas, cada query component es parte de un “index partition”, el cual es asociado con una base de datos de propiedades (property), la misma contiene la metadata asociada con un conjunto específico de contenido indexado.

Search Databases

  • Search Service App (SSA) Admin Database

La base de datos  SSA Admin ayuda a administrar los aspectos de alto nivel de SSA tales como search topology, crawl state/history, y host distribution & refactoring. La misma también almacena  los security descriptors (ACLs) usados para realizar el trim de los resultados de búsqueda.También mantiene los bets set del crawl component.

  • Crawl Database

La base de datos de Crawl mantiene los aspectos relacionados del crawl tales como scheduling, content sources. También provee una cola de crawl, que mantiene el status de las crawled URLs, y almacena links/textos de los tags que se descubren durante el crawl.
Crawl databases son asociados con crawl components.

  • Property Database

La base de property contiene la metadata  asociada con el contenido indexado. Property databases son asociados con index partitions, y retorna la metadata asociada con el contenido en los resultados de búsqueda.

Search Services

  • Search Admin Web Service (SearchAdmin.svc en el IIS)
  • Search Query and Site Settings (SQSS) Web Service (SearchService.svc en el IIS)

El servicio SQSS es llamado por el WFE para manejar las queries, además sirve como balanceador de carga para query components. Este servicio corre sobre cada server que incluye un search query component. Este servicio administra las tareas de procesamiento de query, las cuales incluyen enviar queries a uno o varios query components y construye los resultados de búsqueda.

  • SharePoint Server Search service (MSSearch.exe): administra el proceso de crawling del contenido, tiene reglas que determinar el contenido a indexar.
  • SharePoint Search Filter Daemon (MSSDmn.exe): cuando una solicitud es tomada para indexar un repositorio, el proceso MSSearch.exe invoca una filter daemon, MssDmn.exe, que carga el requerido protocol handlers y filtros necesarios para conectar, obtener y parsear el contenido.

3-Cambiar los campos “Created by” y “Modified By” (Change fields "Created by" and "Modified By")

  using (SPSite site = new SPSite(SPContext.Current.Web.Url))
            {
                using (SPWeb web = site.OpenWeb())
                {
                    SPList lista = web.Lists.TryGetList("ListaModificar");
                    SPListItem item = lista.GetItemById(14);
                    web.AllowUnsafeUpdates = true;

                     //En este caso se usa el objecto SPUser
                    item[SPBuiltInFieldId.Author] = SPContext.Current.Web.CurrentUser;
                   
                    //En el siguiente ejemplo se usa el user id (integer)
                    //item[SPBuiltInFieldId.Author] = SPContext.Current.Web.CurrentUser.ID;                  

                    item.Update();

                    web.AllowUnsafeUpdates = false;
                }
            }

4-Agregar una servidor de failover para una base de datos de Sharepoint 2010 vía powershell (Add a failover server for database Sharepoint 2010 via powershell)

$database = Get-SPDatabase | where { $_.Name -eq “NombreBaseDeDatos” }
$database.AddFailoverServiceInstance(“NombreSQLServerFailover”)
$database.Update();

5-Limpiar la cache de Sharepoint Designer

A veces ocurre que aunque hayamos hecho el check in, los archivos en Sharpeoint Designer quedan con el icono que informa que sigue en check out, o cuando aparecen mensaje del tipo “Cannot perform this operation. The file is no longer checked out or has been deleted.”, cuando se quiere hacer check in de un file. La solución es limpiar la cache.

Abra las siguientes carpetas, y limpie su contenido:

  • %APPDATA%\Microsoft\Web Server Extensions\Cache
  • %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache