Showing posts with label Erros. Show all posts
Showing posts with label Erros. Show all posts

Tuesday, May 29, 2012

Erro excel, word Não é possível abrir o livro

Problema: Ao tentar abrir um documento excel, word recebemos a mensagem "Não é possível abrir o livro"


Solução: 


1- Tentar abrir novamente o documento
2- Logo de seguida, ir ao Event Viewer, abrir o erro em questão e guardar o nome da base de dados e o utilizador que tem acesso negado.
3- Executar as seguintes linhas no Powershell para dar permissão ao utilizador dos serviços do Office Web App.



$webApp = Get-SPWebApplication "http://SiteCollection"
$webApp.GrantAccessToProcessIdentity("DOMAIN\SERVICEACCOUNT")



Nota: Conceder permissões através da base de dados vai contra a garantia do produto, segundo a Microsoft. Por isso, utilize sempre o Powershell.

Monday, May 7, 2012

Erro g_ExpGroupXSLTQueue' is undefined

Problema: Após a instalação de outra língua do Sharepoint, é normal surgir o seguinte erro:

Erro: g_ExpGroupXSLTQueue' is undefined


Solução: Instalar o hotfix http://support.microsoft.com/kb/2553117/en-us

Friday, May 4, 2012

HTTP Error 503. The service is unavailable

Service Unavailable -------------------------------------------------------------------------------- 
 HTTP Error 503. The service is unavailable. 

If you see this message just do:

1- Go to IIS Manager (cmd -> inetmgr)
2- Select the Application pool of the site(if you don't know which one, look at the port ) and start it.
3- Done ;)

Error occurred in deployment step Recycle IIS Application Pool


Problema: Ao tentar fazer deploy no Visual Studio ocorre o seguinte erro Error occurred in deployment step 'Recycle IIS Application Pool'


Solução: Utilizar um user que tenha permissões para fazer deploy de funcionalidade como o Farm administrator, se voltar poderá tentar executar o seguinte comando para fazer refresh ao serviço de user code 
cmd -> net stop spusercodev4
net start spusercodev4



Wednesday, December 28, 2011

Error Message Could not load the Web.config configuration file. Check the file for any malformed XML elements and try again. The following error occurred: The given key was not present in the dictionary.

Resolution:
To resolve this problem, make sure that the Site URL property value of the SharePoint project in Visual Studio matches the URL assigned to the Default Zone for the alternate access mappings of the web application. Using another zone, such as Intranet, for the URL will not resolve the error. The project’s Site URL and the URL in the Default Zone must be the same. To access alternate access mappings, click Application Management in the SharePoint 2010 Central Administration utility, then click the Configure alternate access mappings link under Web Applications

More information Create zones for Web applications.

Tuesday, December 27, 2011

Object doesn't support this property or method

Verificar o elemento que chama a função.

No meu caso chamava o elemento não existia.

$('#minhaGaleria').gallery();

1. Verifique o ID com o firebug ou IE developer.
2. Verifique a função se existe e se o ficheiro .js está linkado para a página no header.



Have fun!!

Wednesday, November 2, 2011

State Machine Workflow logtohistorylistactivity or task not updating

Problem: Changing logtohistorylistactivity in the workflow isn't working/updating on workflow history.
Only when created it gets updated.


Solution: Every time you deploy the workflow you have to restart the service spusercodev4:
1- open cmd and run "net stop spusercodev4"
2- "net start spusercodev4" in order to refresh the service

Now the workflow gets updated ;))

Form error Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus

Problem: When openning the InfoPath Form, we get a javascript error "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus".

If we check the code in javascript it check if toolbar is visible.
"if(e.v3RichTextControlOnFormInIE)"

Solution: Add toolbar on Form, so when you editing an RichText, you have the toolbar in top of the page without errors! Looks like it's a bug, when you don't add Form toolbar...

1- Go to Form Options
2- Browser Show InfoPath commands/ Mostrar comandos do InfoPath no Friso
3- Ok
4- Create a new form and check if error disappear.

Worked for me ;-) Hope it works for you.

Monday, August 1, 2011

Não é possível eliminar a coluna porque esta faz actualmente parte de um índice de coluna composto.

Problema deve ao facto de esta coluna está a ser usada para indexar conteúdo.
Assim sendo está terá que ser removida do índice e só depois poderá ser eliminada.

1- Ir as definições da biblioteca
2- Selecionar Colunas com índice.
3- Remover todas as opções que contenha a coluna em questão.
4- Eliminar/Delete a coluna.

Thursday, July 21, 2011

An error occurred while trying to fetch data from your SharePoint site. Unexpected response from the server. The content type of the response is ''

Problema: Ao abrir Windows SharePoint Designer 2007/2010, aparece o seguinte erro:

An error occurred while trying to fetch data from your SharePoint site. Unexpected response from the server. The content type of the response is "". The status code is "OK"

Solução:
Extend your web application Central Administration -> Application Management -> Manage Web Applications -> Select and click Extentd

Tuesday, March 29, 2011

<nativehr>hex2Char error: Code point out of range: 80070002</nativehr><nativestack></nativestack>:null

Erro significa o mesmo que : "File not found, verify if the URL is right"

ATENÇÃO: o formato deve ser: "/SubSite/Folder/file.pdf" ou "/SubSite/file.pdf"

Friday, February 18, 2011

O InfoPath não conseguiu publicar porque ...

Erro quando queremos publicar pela 2º vez um formulário no InfoPath 2010:

O InfoPath não conseguiu publicar porque o tipo de conteúdo predefinido na biblioteca de documentos não se baseia no tipo de conteúdo de formulário.



Resolução:

1- Ir ao Site Definitions/Definições do Site
2- Site Features/Funcionalidades do site
3- Activate/Activar Team Collaboration Lists/Lista de Colaboração de Equipa

Hope it helps ;)

Thursday, May 6, 2010

VSeWSS Service Logging Error: Access to the path 'Microsoft\VSeWSS 1.3' is denied no deploy

Na criação do meu primeiro projecto em VS 2007 com VSeWSS 1.3 e as extensions para SharePoint, deparei-me com o seguinte erro quando fiz deploy:

Microsoft.SharePoint.Tools.Utilities.VSeWSSServiceException
VSeWSS Service Error: Assembly C:\Users\Administrator\Documents\Visual Studio 2007\Projects\GustavosSharePointSandbox\WebPartVSeWSS13\bin\Debug\WebPartVSeWSS13.dll not found. This may occur because the VSeWSS WCF Service does not have local administrator permissions. Please review the release notes.

VSeWSS Service Logging Error: Access to the path 'Microsoft\VSeWSS 1.3' is denied.

Logging failed attempting to write to Microsoft\VSeWSS 1.3\VSeWSS1.3 service.log. This may occur because the VSeWSS WCF Service does not have local administrator permissions

Isso acontece quando o Utilizador Network Services não tem permissão de Administrador.


Solução: Adicionar o User Network Services ao grupo Administrators.

Não esquecer que é necessário terminar sessão ou reiniciar para funcionar.

Wednesday, May 5, 2010

Could not connect to http://127.0.0.1:1378/SPService.svc. TCP error code 10061

Erro no Visual Studio: Could not connect to http://127.0.0.1:1378/SPService.svc. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:1378

Este erro é causado quando o sistema não possui o VSeWSS, ou o mesmo está corrompido.


Solução:
Instalação do VSeWSS ou reparação do mesmo.

Fica aqui o Url para Download: VSeWSS 1.3
scroll down para veres os links

Tuesday, April 20, 2010

Workflows parou de funcionar Erro 6875

Estava eu a testar os workflows com o Infopath e tudo funcionando direito...

Até que umas 2-3 horas depois os Workflows deixaram de funcionar....

Comecei a procurar...e tal..perdi uma tarde a procura e a fazer cenas..até cheguei a reparar o SharePoint...e tive que configurar de novo.

O erro no Event Viewer era

"Erro ao carregar e executar o receptor de eventos Microsoft.SharePoint.Publishing.Internal.PublishingWebEventReceiver em Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Abaixo encontram-se informações adicionais.

: Não existe um ficheiro com o URL 'Workflows/Workflow 1' nesta Web.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp."

Depois de tentar de tudo, mudei de conta já não sei para quê...e voâ-lá lol

Estava com login na conta de sistema...mudei para outra e os workflows começaram a funcionar.

:)

Tuesday, March 2, 2010

http://mysite is already routed to the intranet zone of another application

Essa mensagem de erro quer dizer que já existe um Web Site a usar a porta 80.

Como é possível, se nunca usavamos essa porta ??

Por defeito, já existe um Default Web Site que normalmente vem STOPPED, mas que podemos ter posto STARTED, e não nos lembra-mos.

Solução:

Temos que ir ao IIS Manager:
1- Menu Start -> Administrative Tools -> Internet Information Services (IIS) Manager.
2- Abrir a aba Web Sites
3- Selecionar Default Web Sites
4- Parar este Web Site
5- Mudar o nome da pasta desse Default Web Site para outra coisa.
Caminho por default é "c:\Inetpub\wwwroot\wss\VirtualDirectories"

Cannot connect to the configuration databse.

Se vir este erro "Cannot connect to the configuration databse.", se for tentar ligar ao SQL Server e aparecer o erro seguinte

"Cannot connect to

ADDITIONAL INFORMATION:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)"

Solução: Iniciar o serviço SQL SERVER.

1- Abrir a linha de comandos
2- Escrever "net start mssqlserver" sem aspas
3- Resolvido :)

Alguma dúvida, questão é só comentar!

Wednesday, February 24, 2010

Por vezes recebemos a mensagem: Check the event logs for detals

Mas aonde está esse ficheiro ?

Estava eu a adicionar um novo SharedService e deparei-me com a mensagem Check logs for information.

e não dizia onde estava localizados os logs.

Depois de perder bastante tempo a pesquisar lá encontrei.

Fica aqui o caminho: "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS"

Por fim resolvi o meu problema, era falta de ram, 1,5Gb era pouco.

Thursday, February 18, 2010

An unhandled exception occurred in the user interface.Exception Information: OSearch (Administrator)

Este erro acontece devido a falta de um domínio antes quando estamos a escrever o utilizador.


Resolução: Colocar o domínio antes.


Domínio\Utilizador

Por exemplo: Microsoft\Admin

Erro "No indexers" em New Shared Services Provider

Este erro acontece quando não existe nenhum serviço para ser usado pelo Shared Service provider.

Posto isso, é preciso ir ao Central Administration -> Operations -> Services on Server -> e iniciar o Serviço Office SharePoint Server Search.