pontoNETpt
A comunidade PontoNetPT está direccionada a todos os programadores que trabalhem com a plataforma .NET.
eScrum Web - Error 'Cannot connect to the configuration database'

A primeira instalação que fiz do template eScrum correu às mil maravilhas.
Entretanto algumas pessoas já me haviam dito que tiveram problemas em instalar o eScrum.
Agora penso que sei a frustação pela qual essas pessoas passaram.

Ao tentar aceder ao website do eScrum após a instalação do template em outro servidor, deparei-me com este
erro:

Cannot connect to the configuration database. For tips on troubleshooting this error, search for article 823287 in the Microsoft Knowledge Base at http://support.microsoft.com.

Após muita pesquisa, reparei que a solução estava no próprio ficheiro read me do eScrum. É necessário remover a directoria virtual do escrum da lista de directorias virtuais do Windows Sharepoint, desta forma:

Excluding the eScrum Virtual Directory in SharePoint Services

If you have installed eScrum on the TFS Server machine and selected "Default web site" during install, eScrum Web will not be accessible. This is because the SharePoint running on the default web will prevent this. You will need to exclude the eScrum virtual directory from the SharePoint configuration so that SharePoint doesn't see eScrum as a SharePoint site

Create an excluded path for a virtual server

1. On the Start menu, point to "Administrative Tools", and then click "SharePoint Central Administration"

2. In the "Virtual Server Configuration" section, click "Configure Virtual Server Settings".

3. On the "Virtual Server List" page, click the virtual server that you want to create the excluded paths for.

4. In the "Virtual Server Management" section, click "Define Managed Paths."

5. In the "Add a New Path" section, type the path to the eScrum virtual directory in the "Path" box.

6. Click "Excluded Path", and then click OK.

More information can be found here: http://office.microsoft.com/en-us/winsharepointadmin/HA011608061033.aspx


Após a resolução desse erro, deparei-me com outro:
"Required permissions cannot be acquired"

E fazia menção de que não conseguia encontrar o ficheiro Microsoft.Practices.EnterpriseLibrary.Logging.dll.

No meu caso a resolução foi:
     - Remover o eScrum
     - Instalar Microsoft Enterprise Library 2.0
     - Instalar o eScrum

Nota: 
     Antes de instalar o eScrum, instalem as seguintes aplicações:
         - Visual Studio Team Foundation Server
         - Team Explorer
         - IIS com Asp.Net
         - Microsoft .Net framework v2.0
         - Microsoft Asp.Net 2.0 Ajax Extensions 1.0
         - Microsoft Anti-Cross Site Scripting Library V1.5
         - Microsoft Enterprise Library 2.0    

UPDATE:

É possível haver conflitos entre versões do Ajax Control Toolkit, visto que o eScrum foi compilado numa versão anterior à que está disponível para download.
Se for este o caso alterem o ficheiro de configuração desta forma: 

<runtime>

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

        <dependentAssembly>

            <assemblyIdentity name="AjaxControlToolkit"

                publicKeyToken="28f01b0e84b6d53e"

                culture="neutral"/>

            <bindingRedirect oldVersion="1.0.10301.0" newVersion="1.0.10606.0"/>

        </dependentAssembly>

    </assemblyBinding>

</runtime>

Sónia Moreira


Posted 26-2-2008 16:43 por Sónia Moreira
Filed under:

Add a Comment

(requerido)  
(opcional)
(requerido)  
Remember Me?
If you can't read this number refresh your screen
Enter the numbers above:  
Powered by Community Server (Commercial Edition), by Telligent Systems