Difference between revisions of "GXtest Manager Troubleshooting"

From GXtest Wiki
Jump to: navigation, search
(New page: category:Support == GXtest Manager Installation == '''Problem 1:'''<br> - Trying to install GXtest Manager, at the beginning a message appears saying that the installation was interr...)
 
(Ejecución GXtest Manager)
Line 29: Line 29:
 
and then check the log file to figure out the source of the error.
 
and then check the log file to figure out the source of the error.
  
== Ejecución GXtest Manager ==
+
== GXtest Manager Ejecution ==
  
'''Problema 1:'''<br>
+
'''Problem 1:'''<br>
- (Windows Vista o Windows 7) Luego de terminar la instalación de GXtest Manager, intento entrar al mismo y da un error 500 relacionado con el Application Pool.
+
- (Windows Vista or Windows 7) After the installation, I have a code 500 error message trying to enter to GXtest Manager, related with the Application Pool.
  
'''Solución:'''<br>
+
'''Solution:'''<br>
Verifique que la aplicación web en el IIS esté configurado con el Application Pool "Classic".
+
Verify that the Web Application in the IIS is configured with a "Classic" Application Pool.
  
 
<br>
 
<br>
'''Problema 2:'''<br>
+
'''Problem 2:'''<br>
- Luego de terminar la instalación de GXtest Manager, intento entrar al mismo y me da el error  
+
- After the installation, trying to enter to GXtest Manager I receive an error that says:
 
<pre>
 
<pre>
"Login failed for user 'gxtestserver'. The user is not associated with a trusted SQL Server connection"
+
"Login failed for user 'gxtest'. The user is not associated with a trusted SQL Server connection"
 
</pre>
 
</pre>
  
'''Solución:'''<br>
+
'''Solution:'''<br>
Verifique que el SQLServer esté configurado para soportar "SQLServer Authentication" (por defecto, SQLServer se instala solamente en modo "Windows Authentication"). Esta opción se encuentra en el SQL Management Studio, en las propiedades del servidor SQLServer, en la sección Security.
+
Verify that SQLServer is configured to support "SQLServer Authentication" (by default, SQLServer only support "Windows Authentication"). This option can be changed in SQL Management Studio, in the SQL Server properties, in the Security section.
 
<br>
 
<br>
 
<br>
 
<br>
 
 
  
 
== ¿Cómo solucionar el error de conexión a la base, cuando accedo al home de GXtest Manager? ==
 
== ¿Cómo solucionar el error de conexión a la base, cuando accedo al home de GXtest Manager? ==

Revision as of 20:59, 17 December 2010


Contents

GXtest Manager Installation

Problem 1:
- Trying to install GXtest Manager, at the beginning a message appears saying that the installation was interrupted and it is needed to restart it.

Solution 1:
- Is the .NET framework 2 installed?
You can download it from here

- Is IIS installed? Is ASP.NET installed in the IIS? From the command line try to execute the following line in order to install ASPNet:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>ASPNET_REGIIS -i

If it fails, it is suggested to reinstall IIS.

Solution 2:
If you're working with Windows 7, perhaps you need to install the IIS 6 compatibility package.

In order to do that, go to Control Panel -> Programs -> Programs and Features - Turn Windows features on or off and then you will see the following screen where you should check the same elements than the image.

CompatibilityIIS6.png


- Not enough? Try to execute the setup file in the following way:
msiexec /i Location_GXtestManagerSetup.msi /liwe c:\GXtestManagerSetup.log

and then check the log file to figure out the source of the error.

GXtest Manager Ejecution

Problem 1:
- (Windows Vista or Windows 7) After the installation, I have a code 500 error message trying to enter to GXtest Manager, related with the Application Pool.

Solution:
Verify that the Web Application in the IIS is configured with a "Classic" Application Pool.


Problem 2:
- After the installation, trying to enter to GXtest Manager I receive an error that says:

"Login failed for user 'gxtest'. The user is not associated with a trusted SQL Server connection"

Solution:
Verify that SQLServer is configured to support "SQLServer Authentication" (by default, SQLServer only support "Windows Authentication"). This option can be changed in SQL Management Studio, in the SQL Server properties, in the Security section.

¿Cómo solucionar el error de conexión a la base, cuando accedo al home de GXtest Manager?

Si al entrar al home de la aplicación se despliega un error de conexión similar a lo siguiente:

"A network-related or instance-specific error occurred while establishing a connection to SQL Server. 
The server was not found or was not accessible. Verify that the instance name is correct and that SQL
 Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 
40 - Could not open a connection to SQL Server)"

Probablemente el problema sea que el archivo de configuración de conexión de la aplicación no tenga los datos correctos del servidor de base de datos.
Dicho archivo, llamado web.config, se encuentra en el directorio de instalación de la aplicación (por defecto c:\inetpub\wwwroot\GXtestManager).
Dentro del archivo, buscar las siguientes entradas, que deben tener el nombre de la instancia (o del servidor) de base de datos:

  • Connection-GxTest-Datasource
  • Connection-Default-Datasource

Si los datos que están allí son correctos, verificar que el servidor acepta conexiones remotas, y probar por ejemplo conectarse utilizando el SQL Management Studio a través de TCP.

¿Cómo solucionar BadImageFormatException en máquinas que corren Windows 64 bits?

Para máquinas donde se instale GXtest Manager, que corran Windows 64 bits con IIS7, puede aparecer un error similar al siguiente:

BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Una posible solución para el IIS7, es ir a la consola de administración del IIS, y en el Application Pool donde corre GXtest Manager (por defecto "Classic .NET AppPool"), editar en Advanced Settings la propiedad "Enable 32-bit Applications" y setearla en True.

¿Cómo solucionar System.DllNotFoundException: 'ProtAuth.dll'?

Detalles de la excepción: System.DllNotFoundException: No se puede cargar el archivo DLL 'ProtAuth.dll':
No se pudo iniciar la aplicación porque su configuración es incorrecta. 
Reinstalar la aplicación puede solucionar el problema. (Excepción de HRESULT: 0x800736B1)

El problema puede ser que falten las librerías del paquete MVC++ 2008, las cuales son requeridas como dependencias de GXtest Manager, por lo tanto, instalar este paquete puede solucionar el problema.
El paquete MVC++ puede ser descargado desde aquí:
http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en


El servicio del Daemon no inicia

Luego de iniciar el servicio, Windows envía un mensaje de error:
ServiceDaemonNotResponding.png

Es probable que no tenga licencias para GXtest Manager.
Para confirmar este error puede ver en el "Event Viewer" de Windows, si GXtest Daemon envió un mensaje de error "Not Authorized".
Verifique con GeneXus Licence Manager que GXtest Manager está autorizado.


Recomendamos ver Event Log de GXtest Daemon

GXtest Executor

  • ¿Cómo se si GXtest executor esta listo para ejecutar tareas?
    1. Verificar que esta en estado "listening"
    2. Ejecutar un telnet desde donde se van a disparar las pruebas (GXtest Daemon)
      Ej:telnet ExecutorMachine 6681
      (Puede tirar un RemoteException, eso significa que está a la orden!)
  • Al iniciar las ejecuciones en Firefox o en Internet Explorer me aparece un cartel para actualizar, o para restaurar sesión.
    • Es conveniente deshabilitar todo tipo de preguntas que pueda hacer el navegador al iniciar para evitar este tipo de situaciones
  • Durante una ejecución la prueba se "trancó", y el navegador en la status bar dice 'Parado'.
    • Probar desinstalar alagún add-on que pueda estar generando conflicto.