Se detectó un error mientras se iniciaba el proceso para grupo de aplicaciones ‘AppPool’. Se ha deshabilitado el grupo de aplicaciones.
Les cuento que recientemente surgio un error en al ingresar a la Administración Central de mi sitio de MOSS 2007:
Service Unavailable
El error se mostraba tanto en la administración central, como en cualquier sitio web; al revisar los logs tanto del server como de MOSS, me di cuenta que se generaba un registro de error, como el siguiente:
Se detectó un error mientras se iniciaba el proceso para grupo de aplicaciones ‘AppPoolXXX’. Se ha deshabilitado el grupo de aplicaciones.
Despues de buscar alguna solución en la web, y leer varias posibles causas y soluciones, encontre que el problema era causado por el usuario asignado al Pool de Aplicaciones, posiblementa la contraseña habia caducado, cosa que no era posible, sin embargo… al restablecer la contraseña, del usuario y reasignarla en el Pool de Aplicaciones, Reiniciar la aplicación y el ISS, mi sitio funciono a la perfección.
Post de Microsoft, como muuuuucho texto
Instalando agentes Antispam en un Hub Transport
Exchange Server 2007 introduce un nuevo rol, denominado Edge Transport Server, destinado a la higiene de mensajes. Si se decide no instalar este rol, algunos de los agentes Antispam pueden ser instalados en un Hub Transport.
Para ello, es necesario ejecutar el siguiente Script:
Desde el directorio de instalación, en la carpeta Scripts, ejecutar: .\install-AntispamAgents.ps1
Una vez finalizado, ejecutar:
restart-service MSExchangeTransport
——————————————————
Realizando esos pasos es suficiente. Ahora podremos ver los agentes instalados en la consola de Exchange:
——————————————————
Nota: Si bien la funcionalidad de agentes antispam puede ser instalada en un Hub Transport, no es considerada una buena práctica.
Auditoria buzones de Exchange 2007 Scripts
A continuación muestro algunos scripts que podemos usar para auditar nuestros buzones de Exchange.
Cuentas creadas en los últimos 7 dias
Get-User -resultsize unlimited | where {$_.WhenCreated -gt (get-date).adddays(-7)} | ft Name,whenCreated -Autosize
Buzones que no han accesado en los últimos 100 dias
Get-MailboxStatistics -resultsize unlimited | where {$_.LastLogonTime -lt (get-date).AddDays(-100)} | ft displayName,lastlogontime,lastloggedonuseraccount,servername
Buzones que nunca se han logeado
Get-MailboxStatistics -resultsize unlimited | where {$_.LastLogonTime -eq $null | ft displayName,lastlogontime,lastloggedonuseraccount,servername
Get-MailboxStatistics -resultsize unlimited | where {$_.LastLogonTime -eq $null | ft displayName,lastlogontime,lastloggedonuseraccount,servername
Buzones desconectados o eliminados en los últimos 14 dias
Get-MailboxStatistics | Where {$_.DisconnectDate -gt (get-date).AddDays(-14)} | ft displayName,ServerName,DatabaseName,TotalItemSize -Autosize
No tiene permisos para abrir este archivo en Excel Services.
Solución:
Compruebe que todas las bibliotecas de documentos que desea que los usuarios usen con Excel Services estén configuradas como Ubicación de archivo de confianza. Al final del curso, en la Tarjeta de referencia rápida, encontrará las instrucciones específicas para realizar esta configuración.
Habilitar en la configuración de la Biblioteca, dentro de configuración avanzada “Mostrar como pagina web”
Después, Realice el siguiente procedimiento para agregar una ubicación de archivos de confianza.
Agregar una ubicación de archivos de confianza
- En Herramientas administrativas, abra la aplicación web de Administración central de SharePoint.
- En la página principal de Administración central, haga clic en Administración de aplicaciones.
- En la página Administración de aplicaciones, en la sección Servicios compartidos de Office SharePoint Server, haga clic en Crear o configurar los servicios compartidos de esta granja de servidores.
- En la página Administrar los servicios compartidos de esta granja de servidores, haga clic en SharedServices1 (Predet.). Éste es el proveedor de servicios compartidos (SSP) que configurará.
- En la página principal Servicios compartidos, en la sección Configuración de Excel Services, haga clic en Ubicaciones de archivos de confianza.
- En la página Ubicaciones de archivos de confianza de Excel Services, haga clic en Agregar ubicación de archivo de confianza.
- En la sección Dirección, escriba la ubicación y el nombre de la biblioteca de documentos de SharePoint Office SharePoint Server 2007 que desea agregar como ubicación de archivos de confianza en Servicios de Excel. Si la biblioteca de documentos está almacenada en la base de datos de contenido de Windows SharePoint Services 3.0, asegúrese de que Windows SharePoint Services 3.0 está seleccionado como Tipo de ubicación.
- En la sección Datos externos, seleccione el tipo de conexiones de datos que permitirá que contengan los libros en esta ubicación de archivos de confianza y haga clic en Aceptar.
En la sección Datos externos, puede determinar si los libros almacenados en ubicaciones de archivos de confianza y abiertos en sesiones de Excel Calculation Services pueden tener acceso a un origen de datos externo. Puede designar si la opción Permitir datos externos está establecida en Ninguno, Sólo bibliotecas de conexiones de datos de confianza o Bibliotecas de conexiones de datos de confianza e incrustadas.
Si selecciona Sólo bibliotecas de conexiones de datos de confianza o Bibliotecas de conexiones de datos de confianza e incrustadas, se permite que los libros almacenados en las ubicaciones de archivos de confianza puedan tener acceso a orígenes de datos externos. Se puede obtener acceso a las conexiones de datos externos sólo cuando están incrustadas o vinculadas desde un libro. Excel Calculation Services comprueba la lista de ubicaciones de archivos de confianza antes de abrir un libro. Si selecciona Ninguno, Excel Calculation Services bloqueará cualquier intento de acceso a un origen de datos externo. Si administra las conexiones de datos para un gran número de autores de libros, puede seleccionar Sólo bibliotecas de conexiones de datos de confianza
Abrir documentos sin pantalla de identificación
| Cada vez que se intenta abrir un documento en una Librería, SharePoint requiere las credenciales del usuario. Esta pantalla de identificación se puede eliminar usando un vinculo |
Para evitarlo, cree una Lista de Vínculos y cree un elemento nuevo para el documento, utilizando como Dirección URL la siguiente sintaxis:
/_layouts/download.aspx?SourceUrl=[url del document]
Por ejemplo:
/_layouts/download.aspx?SourceUrl= http://servidor/Documentos%20compartidos/test.docx
El documento abrirá sin presentar la pantalla de autenticación.
Integración de InfoPath & SharePoint 2007
Amigos quiero compartir con ustedes varios artículos sumamente interesantes que hablan sobre la integración y/o uso de formularios de InfoPath integrados en SharePoint. Todos están perfectamente explicados espero que les sirvan.
http://casosresueltos.blogspot.com/2008/11/en-este-ejemplo-lo-que-intento-es.html
http://casosresueltos.blogspot.com/2008/11/guardar-formulario-infopath-en-una.html
Como recuperar en SharePoint 2007 un documento una vez eliminado de la papelera de reciclaje
In the scenario whereby a document has been deleted from both levels of the SharePoint recycle bin, you may have a request to recover it. Assuming you have a SQL database backup of the content database which hosted the document, you can get it back with minimal effort by following the steps below.
Important: Do not run these steps on the production SQL Server deployment. The idea is that this is done on a development or testing SQL Server environment where the content database which holds the document you wish to extract is restored to. This is because these steps are not officially supported by Microsoft.
Step 1: Get TextCopy utility and make sure it works
The textcopy utility comes with the SQL Server 2000 resource kit and is designed to run on SQL Server 2000. However it can be used on SQL Server 2005. Get textcopy.exe from the resource kit and place it in a folder on the SQL Server 2005 machine e.g. C:\Temp. Also add into this folder a file from a SQL Server 2000 installation called ntwdblib.dll. Both of these files need to be in the same folder to work.
Run textcopy.exe to ensure it works, you should see a list of textcopy commands.
Step 2: Determine the content database to use for extracting the document
In order to extract the document you need to know where the document was located in the site structure. For example, below we see a document titled “CoreIOModels”, which is hosted in the sub site “Docs” in the root site collection of http://moss.litwareinc.com web application. The document is in the documents document library.
You now need to determine which content database holds the document. This is done easily through Site Collection List option in the central administration application. Here you can see that the root site collection for http://moss.litwareinc.com is found in the content database WSS_Content_MOSS. You need the name of the content database because SQL scripts (and textcopy) will run against this database. Also, you now know which database to restore to a test / development environment instead of restoring all you SQL databases.
Step 3: Determine the record which holds the binary image of the document to extract
Run the following script on the database, using SQL Query Analyser in SQL Server 2005. This script will return all the records which hold document that you are looking. You may get more than one record returned, as their might be several previous versions of the document.
USE [@database]
SELECT AllDocStreams.Id, AllDocStreams.[Content], AllDocStreams.Size, AllDocs.Version, AllDocs.TimeLastModified, AllDocs.CheckoutUserId,
AllDocs.CheckoutDate, AllDocs.IsCurrentVersion, AllDocs.DirName, AllDocs.LeafName, AllDocs.[Level]
FROM AllDocs INNER JOIN
AllDocStreams ON AllDocStreams.Id = AllDocs.Id AND AllDocs.[Level] = AllDocStreams.[Level]
WHERE (AllDocs.DirName = @dirname) AND (AllDocs.LeafName = @leafname)
Variables
@leafname = filename
@dirname = directory name of file
For example in my scenario above this would be
USE WSS_Content_MOSS
SELECT AllDocStreams.Id, AllDocStreams.[Content], AllDocStreams.Size, AllDocs.Version, AllDocs.TimeLastModified, AllDocs.CheckoutUserId,
AllDocs.CheckoutDate, AllDocs.IsCurrentVersion, AllDocs.DirName, AllDocs.LeafName, AllDocs.[Level]
FROM AllDocs INNER JOIN
AllDocStreams ON AllDocStreams.Id = AllDocs.Id AND AllDocs.[Level] = AllDocStreams.[Level]
WHERE (AllDocs.DirName = ‘docs/documents’) AND (AllDocs.LeafName = ‘coreiomodels.doc’)
This returns the following records in my case:
If you get multiple records returned, you will want to use the Version field and the isCurrentVersion and perhaps the TimeLastModified fields to determine which record in the one you want to extract.
Take note of the ID of the record any other unique field data from the AllDocStreams table so that you can uniquely identify the record in the AllDocStreams table.
Step 4: Extract the document using Textcopy
From the command prompt run the textcopy.exe command to extract the document (from the content field) in the AllDocStreams table.
Example TextCopy cmd to extract file:
textcopy /s @server /u @user /P @password /d “@database” /t docs /c content /F c:\temp\filename /O /Z /W “where ID= ‘@IdofRecord’ and Level=’@levelofrecord’”
Variables
@database = content database
@server = name of SQL Server machine to use
@leafname = filename
@dirname = directory name of file
@IdofRecord = Id of the content record to extract
@levelofrecord = level of content record to extract
For example, in my scenario this would be:
textcopy.exe /S MOSS /D wss_content_moss /T alldocstreams /C content /U sa /P pass@word1 /F c:\temp\coreidmodels.doc /O /Z /W “where ID=’2381F6A5-0AED-4F28-A031-BAC6E08B151F’ and Level=’255′”
This will dump the file into the C:\Temp folder and allow me to email or place the file onto the site for the user who needs it.
Importing User pictures from Active Directory to MOSS 2007
In MOSS 2007 you’ll notice that users are able to upload pictures to there personal My Sites. These pictures also get propogated to the Contact Details web part as well as People Search Results.
So it’s actually a common practice for many companies to standardize on employee photos and disable everyone from uploading their glamour shots. To do this, first go to your Active Directory Management Console and hopefully you have the Exchange AD Management Plugin installed also.
You’ll know if you have it installed if you see all the tabs below:

1. Click on the Exchange Advanced Tab
2. Click Custom Attributes
3. Use one of those extensionAttribute values to store any kind of link to your picture.
4. OK out of AD.
Now you want to go to your MOSS Central Admin and do the following:
5. Go to your Shared Services Provider
6. Under User Profiles and My Sites click on User profiles and properties
7. Click on View Profile Properties at the bottom of the page.
8. Edit the Picture Property
9. Select “Do not allow users to edit values for this property”
10. In the Property Import Mapping Section change the Data source field to map: to your corresponding extensionAttribute# and hit OK.
Do a full user import and all the pictures should get populated into Sharepoint!
Desabilitar MySite y MyLinks en MOSS 2007
- Log into Central Administration.
- Under Shared Services Administration in the Quick Launch bar, select the one running My Sites.
- In the “User Profiles and My Sites” group, click on the “Personalization services permissions” link.
- For those users you want to remove the personalization functionality, click on the user name (for example, NT AUTHORITY\Authenticated Users).
- On the “Modify Permissions: Shared Service Rights” page, uncheck “Use personal features”. Click OK to save.
- I had to shut down my browser and log in again to see my changes
Dejar un comentario
