SharePoint 2013 Configuration Wizard Missing Components Language Pack Installation
Olá! J
Cenário:
Após aplicar o SP1 no SharePoint 2013 e também SP1 dos Language Pack instalados precisamos rodar o Configuration Wizard (PSCONFIG) para que o SharePoint consolide as atualizações realizadas. Mas, como nem tudo é como nós queremos nessa vida, tive alguns problemas para conseguir fazer com que o Configuration Wizard rodasse sem problemas.
ERRO:
Ao tentar rodar o Configuration Wizard era apresentado uma mensagem de erro informando que estavam faltando arquivos no SharePoint, embora eu já tivesse aplicado todos os pacotes de Language Pack e seus respectivos Service Pack.
“Some farm products and patches were not detected… Missing on <ServerName>”
SOLUÇÃO:
Procurando por problema similares na web, encontrei que isso poderia ocorrer por razão do serviço de timer parado, mas no meu caso estava rodando. De toda forma, reiniciei o serviço e tentei rodar novamente o Configuration Wizard. Sem sucesso.
O que resolveu foi rodar o seguinte cmdlet no powershell do SharePoint (SharePoint 2013 Management Shell) no servidor que ele apontava com “missing” (faltando) componente:
Get-SPProduct
Pronto! Ao término da execução deste cmdlet, tente rodar novamente o Configuration Wizard. Agora o SharePoint sabe que os componentes estão instalados e não deve reclamar mais a falta destes.
Abraço!
Conhecendo os Nomes Dos ApplicationPools de Serviço do SharePoint 2010 no IIS Manager
Olá!
Já faz um tempinho que não escrevo nada no blog… sorry! SharePointeando por aí, mas encontrei um tempinho pra aparecer por aqui hoje. (Sim, eu sei, ÀS 1h00 AM!! rs)
Cenário:
Quando criamos os Service Applications (figura 1) na Central Administration do SharePoint, o SharePoint cria Application Pools (ou utiliza já existentes) no IIS, e, para nossa surpresa (e não para nossa Alegria!), ele coloca GUIDs (figura 2) nos nomes!
Figura1:
Figura 2:
Se eu tenho poucas (como é o caso da minha máquina de desenvolvimento) na tentativa e erro, chego no AppPool que preciso, sem demorar muito. Mas, e se tenho diversos serviços na FARM e de forma isolada (1 pool para cada serviço)? Loucura Total!
Sabendo qual dos Application Pools queremos “trabalhar”, facilita demais operações de manutenção e/ou troubleshooting (esse último caso, o mais comum!). Então vamos lá!
SOLUÇÃO:
Pra quem conhece, sabe que o PowerShell opera milagres na vida de um Administrador Microsoft.
Eu não sou tão heavy user de cmdlets PowerShell, mas os mais simples sempre estão na ponta dos dedos!
Eis que temos mais um bem simples:
Get-SPServiceApplicationPool | select Id, Name
Com esta linha de comando, para ser executado no SharePoint 2010 Management Shell (ou no PowerShell com Snap-In para SharePoint), listamos todos os Application Pools de Serviços da FARM, selecionando o Id (Guid) e o nome que demos ao Application Pool quando criamos o serviço na Central Administration.
É isso aí, até mais! J
Abraço!
Como listar todas as features instaladas na Farm do SharePoint
Olá!
Overview:
O SharePoint, como muitos já conhecem, possui um conceito muito interessante de features (recursos), onde podemos disponibilizar, ou não, certas funcionalidades a um site. E, dependendo do escopo, falamos de Farm, Web Application, Site Collection (Site) e Site (Web).
Cenário:
Certo. E o que tem tudo isso? Se você ainda não passou por isso, CERTAMENTE vai passar.
Muitas vezes, em diversas ocasiões, precisamos responder questões como:
· Minha feature está instalada?
· Uma feature da Microsoft está instalada?
· Uma feature de terceiros (codeplex, por exemplo) está instalada?
· Qual o ID/Nome de uma feature específica?
SOLUÇÃO:
O caminho pode ser árduo para responder as questões acima. Mas, se você souber este simples comando abaixo, sua vida será demasiadamente mais fácil!
No SharePoint 2010 Management Shell (PowerShell com snap-in do SharePoint):
Digite:
Get-SPFeature | Sort –Property Scope, DisplayName
Ou
Get-SPFeature | Sort –Property Scope, DisplayName > c:\TodasFeaturesInstaladas.txt
Esta última opção cria um arquivo TXT para, talvez, melhorar a consulta.
Abraço!
Posts relacionados:
https://thiagottss.wordpress.com/2011/03/25/sharepoint-2010-features-e-seus-guids/
https://thiagottss.wordpress.com/2011/01/13/gerenciando-wsps-com-powershell-no-sharepoint-2010/
Não é possível renderizar o formulário. O Serviço de Controle de Sessão do Microsoft SharePoint Server pode estar configurado incorretamente.
Olá!
Overview:
Desta vez, tentei criar um Fluxo de Trabalho nativo do SharePoint, aquele fluxo de Aprovação padrão mesmo.
Ao preencher o primeiro formulário e avançar, deveríamos ir para a tela de configuração da aprovação, puxando um formulário InfoPath. Ao invés disso, nos deparamos com o erro abaixo.
ERRO:
Não é possível renderizar o formulário. O Serviço de Controle de Sessão do Microsoft SharePoint Server pode estar configurado incorretamente.
Esse é o Erro que o usuário viu no browser, mas indo nos LOGS do SharePoint (%CommonProgramFiles%\Microsoft Shared\Web Server Extensions\14\LOGS), temos o seguinte:
Microsoft SharePoint State Service is not configured correctly and cannot respond to requests. InfoPath Forms Services relies on Microsoft SharePoint State Service to function correctly. Check the SharePoint Maintenance Engine rules in SharePoint Central Administration for issues with Microsoft SharePoint State Service configuration.
SOLUÇÃO:
Precisamos rodar alguns comandos PowerShell para:
· Criar um State Service;
· Criar um State Service database e associar o State Service criado no passo anterior;
· Criar State Service application proxy no group do Default Proxy da Farm.
Não tem segredo, é só executar as três linhas no SharePoint 2010 Management Shell.
$serviceApp = New-SPStateServiceApplication -Name “State Service”
New-SPStateServiceDatabase -Name “StateServiceDatabase” -ServiceApplication $serviceApp
New-SPStateServiceApplicationProxy -Name “State Service” -ServiceApplication $serviceApp –DefaultProxyGroup
Abraço!
Gerenciando WSPs com PowerShell no SharePoint 2010
Olá!
Overview:
Como muitos sabem, a ferramenta STSADM (muito utilizada no MOSS 2007 para gerenciar WSPs e todas outras muitas funcionalidades do SharePoint) no SharePoint 2010 é mantida apenas para fins de compatibilidade, tornando-se obsoleta.
Informações sobre o que eu disse acima e muitas outras coisas que mudaram, em: http://technet.microsoft.com/en-us/library/ff607713.aspx – Changes from Windows SharePoint Services 3.0 to SharePoint Foundation 2010.
Trecho do artigo do TechNet sobre o STSADM:
Deprecated features
The following feature is shipped with SharePoint Foundation 2010 but will be removed from subsequent versions.
Stsadm command-line tool
Description: The Stsadm command-line tool has been deprecated.
Reason for change: The Stsadm command-line tool will be superseded by Windows PowerShell 2.0.
Migration path: The Stsadm command-line tool is included to support compatibility with previous product versions. You should use Windows PowerShell 2.0 when performing command-line administrative tasks.
Então, vamos nos atualizar para os comandos mais utilizados. Neste post, vou falar sobre as tarefas de manutenção de Solutions (WSP’s).
SOLUÇÃO:
Este post certamente encadeará outros sobre o mesmo assunto e, na medida do possível, irei “linkar” eles.
Vamos ao que interessa:
Tip: Usem o SharePoint 2010 Management Shell, fica mais fácil do que ficar adicionando Snap-in toda hora.
STSADM |
PowerShell |
Adicionando uma solution |
Adicionando uma solution |
stsadm –o addsolution –filename “C:\ SolutionPackage.wsp” |
Add-SPSolution –LiteralPath “C:\SolutionPackage.wsp” |
Implantando uma solution (deploy) |
Implantando uma solution (deploy) |
stsadm –o deploysolution –name SolutionPackage.wsp –url http://webapplication –allowgacdeployment –immediate |
Install-SPSolution –Identity SolutionPackage.wsp –WebApplication http://webapplication –GACDeployment |
Atualizando uma solution existente (upgrade) |
Atualizando uma solution existente (upgrade) |
stsadm –o upgradesolution –name SolutionPackage.wsp –filename “C:\SolutionPackage.wsp” –immediate |
Update-SPSolution –Identity Solution.wsp –LiteralPath “C:\SolutionPackage.wsp” –GacDeployment |
Retract da solution |
Retract da solution |
stsadm –o retractsolution –name SolutionPackage.wsp –url http://webapplication –immediate |
Uninstall-SPSolution –Identity SolutionPackage.wsp –WebApplication http://webapplication |
Apagando uma solution |
Apagando uma solution |
stsadm –o deletesolution –name SolutionPackage.wsp |
Remove-SPSolution –Identity SolutionPackage.wsp |
Uma lista completa com um de-para de comandos aqui: http://technet.microsoft.com/en-us/library/ff621084.aspx – Stsadm to Windows PowerShell mapping (SharePoint Server 2010).
Stsadm operation |
Windows PowerShell cmdlet |
Activatefeature |
|
Activateformtemplate |
|
Addalternatedomain |
|
Addcontentdb |
|
Adddataconnectionfile |
|
Add-ecsfiletrustedlocation |
|
Add-ecssafedataprovider |
|
Add-ecstrusteddataconnectionlibrary |
|
Add-ecsuserdefinedfunction |
|
Addexemptuseragent |
|
Addpath |
|
Addpermissionpolicy |
None |
Addsolution |
|
Addtemplate |
|
Adduser |
|
Addwppack |
|
Addzoneurl |
|
Allowuserformwebserviceproxy |
Use the AllowForUserForms and Identity parameters. |
Allowwebserviceproxy |
Use the AllowWebServiceProxy and Identity parameters. |
Authentication |
Use the AuthenticationMethod or AuthenticationProvider parameters. |
Backup |
|
Backuphistory |
|
Binddrservice |
None |
Blockedfilelist |
None |
Canceldeployment |
None |
Changepermissionpolicy |
None |
Copyappbincontent |
None |
Createadminvs |
|
Creategroup |
None |
Createsite |
|
Createsiteinnewdb |
New-SPSite Use the ContentDatabase parameter. |
Createweb |
|
Databaserepair |
None |
Deactivatefeature |
|
Deactivateformtemplate |
|
Deleteadminvs |
None |
Deletealternatedomain |
|
Deleteconfigdb |
|
Deletecontentdb |
|
Deletegroup |
None |
Deletepath |
|
Deletepermissionpolicy |
None |
Deletesite |
|
Deletesolution |
|
Deletetemplate |
|
Deleteuser |
|
Deleteweb |
|
Deletewppack |
|
Deletezoneurl |
|
Deploysolution |
|
Deploywppack |
|
Disablessc |
None |
Displaysolution |
|
Editcontentdeploymentpath |
|
|
None |
Enablessc |
None |
Enumalternatedomains |
|
Enumcontentdbs |
|
Enumdataconnectionfiledependants |
|
Enumdataconnectionfiles |
|
Enumdeployments |
None |
Enumexemptuseragents |
|
Enumformtemplates |
|
Enumgroups |
None |
Enumroles |
None |
Enumservices |
|
Enumsites |
Get-SPSiteAdministration (To run this cmdlet, you must be a member of the Farm Administrators group.) Get-SPSite (To run this cmdlet, you must be a local administrator on the computer where SharePoint 2010 Products is installed.) |
Enumsolutions |
|
Enumsubwebs |
|
Enumtemplates |
|
Enumusers |
|
Enumwppacks |
|
Enumzoneurls |
|
Execadmsvcjobs |
|
Export |
|
Extendvs |
|
Extendvsinwebfarm |
|
Forcedeletelist |
None |
Getadminport |
Use the following syntax: · Get-SPWebApplication -IncludeCentralAdministration | ? {$_.IsAdministrationWebApplication -eq $true} |
Getdataconnectionfileproperty property |
Use the following syntax: · Get-SPDataConnectionFile | where {$_.Name -eq “dataConFileName”} | format-list |
Getformtemplateproperty property |
Use the following syntax: · Get-SPInfoPathFormTemplate | where {$_.DisplayName -eq “formTemplateName”} | format-list |
Getosearchsetting |
None |
Getproperty |
|
Getsitelock |
|
Getsiteuseraccountdirectorypath |
None |
Geturlzone |
|
Import |
|
Installfeature |
|
Listlogginglevels |
|
Listqueryprocessoroptions |
None |
Listregisteredsecuritytrimmers |
|
Localupgradestatus |
None |
Managepermissionpolicylevel |
None |
Mergecontentdbs |
|
Migrateuser |
|
Osearch |
For the Osearch parameters farmcontactemail, farmperformancelevel, farmserviceaccount, and farmservicepassword, use the Get-SPEnterpriseSearchService and Set-SPEnterpriseSearchService cmdlets. For the Osearch parameters start and stop, use the Start-SPEnterpriseSearchServiceInstance and Stop-SPEnterpriseSearchServiceInstance cmdlets, respectively. For the Osearch parameter defaultindexlocation, use the Get-SPEnterpriseSearchServiceInstance and Set-SPEnterpriseSearchServiceInstance cmdlets. |
Osearchdiacriticsensitive |
Use the Get-SPEnterpriseSearchServiceApplication cmdlet to retrieve the specific Search service application, and then use DiacriticSensitive parameter from the Set-SPEnterpriseSearchServiceApplication cmdlet. |
Provisionservice |
|
Quiescefarm |
None |
Quiescefarmstatus |
None |
Quiesceformtemplate |
|
Reconvertallformtemplates |
|
Refreshdms |
None |
Refreshsitedms |
None |
Registersecuritytrimmer |
|
Registerwsswriter |
None |
Removedataconnectionfile |
|
Remove-ecsfiletrustedlocation |
|
Remove-ecssafedataprovider |
|
Remove-ecstrusteddataconnectionlibrary |
|
Remove-ecsuserdefinedfunction |
|
Removedrservice |
None |
Removeexemptuseragent |
|
Removeformtemplate |
|
Removesolutiondeploymentlock |
None |
Renameserver |
|
Renamesite |
Use the Url parameter. |
Renameweb |
Use the RelativeUrl parameter. |
Restore |
|
Retractsolution |
|
Retractwppack |
None |
Runcontentdeploymentjob |
|
Scanforfeatures |
Use the Scanforfeatures parameter. |
Setadminport |
|
Setapppassword |
None |
Setconfigdb |
|
Setcontentdeploymentjobschedule |
|
Setdataconnectionfileproperty |
|
Set-ecsexternaldata |
|
Set-ecsloadbalancing |
Use the LoadBalancingScheme parameter. |
Set-ecsmemoryutilization |
Use the MemoryCacheThreshold and PrivateBytesMax parameters. |
Set-ecssecurity |
Use the CrossDomainAccessAllowed, EncryptedUserConnectionRequired, and FileAccessMethod parameters. |
Set-ecssessionmanagement |
Use the SessionsPerUserMax and SiteCollectionAnonymousSessionsMax parameters. |
Set-ecsworkbookcache |
Use the Workbookcache and WorkbookCacheSizeMax parameters. |
Setformtemplateproperty |
|
Setlogginglevel |
|
Setosearchsetting |
None |
Setproperty |
|
Setqueryprocessoroptions |
None |
Setsitelock |
Use the LockState parameter. |
Setsiteuseraccountdirectorypath |
|
Setworkflowconfig |
|
Siteowner |
|
Syncsolution |
Use the Synchronize parameter. |
Unextendvs |
|
Uninstallfeature |
|
Unquiescefarm |
None |
Unquiesceformtemplate |
|
Unregistersecuritytrimmer |
|
Unregisterwsswriter |
None |
Updateaccountpassword |
|
Updatealerttemplates |
None |
Updatefarmcredentials |
None |
Upgrade |
None |
Upgradeformtemplate |
|
Upgradesolution |
|
Upgradetargetwebapplication |
None |
Uploadformtemplate |
|
Userrole |
|
Verifyformtemplate |
Abraço!