Pregunta

Escribí un script Power Shell para implementar mi WSP en SP 2010 Server.Primero comprueba si las soluciones ya están allí y se implementan en caso de que sí, se retrae y vuelva a desplegar.Implementa solo una aplicación web específica.El problema es "retractación" y la re -deploy se está llevando a cabo edades para completar.Aunque de VS2010 no hay problema y se despliega en ningún momento.Estoy trabajando con un WSP muy básico (solo una parte web solo y otro receptor de características que no hace nada).Así que no estoy seguro de por qué está tomando tanto tiempo.Por favor sugerir.

¿Fue útil?

Solución

When you deploy/retract your solutions using PowerShell/stsadm it creates a timer job. That timer job operation is invoked by the sptimerv4/owstimer.exe process in the background and starts every 60 seconds. Sometimes there are other timer jobs in the queue which makes it take longer times. If you're only doing it on a single machine (dev box) you can add the -Local parameter to the cmdlet, this invokes the job directly.

Licenciado bajo: CC-BY-SA con atribución
scroll top