Difference between revisions of "GXtest Manager Troubleshooting"

From GXtest Wiki
Jump to: navigation, search
(GXtest Executor)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{Idiomas |Troubleshooting GXtest Manager |GXtest Manager Troubleshooting | GXtest Manager トラブルシューティング}}
 
[[category:Support]]
 
[[category:Support]]
  
Line 7: Line 8:
  
 
'''Solution 1:'''<br>
 
'''Solution 1:'''<br>
- Is the .NET framework 2 installed?<br>
+
- Is the .NET framework 2 and 3.5 installed?<br>
 
You can download it from [http://msdn.microsoft.com/en-us/netframework/aa569263.aspx here]
 
You can download it from [http://msdn.microsoft.com/en-us/netframework/aa569263.aspx here]
  
Line 29: Line 30:
 
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.
  
== GXtest Manager Ejecution ==
+
== GXtest Manager Execution ==
  
 
'''Problem 1:'''<br>
 
'''Problem 1:'''<br>
Line 62: Line 63:
 
This file (web.config) is in the GXtest Manager installation folder (by default c:\inetpub\wwwroot\GXtestManager).<br>
 
This file (web.config) is in the GXtest Manager installation folder (by default c:\inetpub\wwwroot\GXtestManager).<br>
 
In this file try to find the following keys, where you can check the database server connection configuration:
 
In this file try to find the following keys, where you can check the database server connection configuration:
* Connection-GxTest-Datasource
 
 
* Connection-Default-Datasource
 
* Connection-Default-Datasource
  
Line 73: Line 73:
 
</pre>
 
</pre>
 
A possible solution to IIS7 is going to the IIS administration console, and in the Application Pool used by GXtest Manager (by default "Classic .NET AppPool") edit in Advanced Settings the property "Enable 32-bit Applications" setting it to True.
 
A possible solution to IIS7 is going to the IIS administration console, and in the Application Pool used by GXtest Manager (by default "Classic .NET AppPool") edit in Advanced Settings the property "Enable 32-bit Applications" setting it to True.
 +
 +
http://www.winservermart.com/HowTo/How_To_Switch_32bit_and_64bit_mode_in_IIS7.aspx
  
 
== Problem with System.DllNotFoundException: 'ProtAuth.dll'? ==
 
== Problem with System.DllNotFoundException: 'ProtAuth.dll'? ==
Line 82: Line 84:
  
 
Perhaps you haven't installed the package MVC++ 2008, required by GXtest Manager. So, try to install this package, you can get it [http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en here]
 
Perhaps you haven't installed the package MVC++ 2008, required by GXtest Manager. So, try to install this package, you can get it [http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en here]
 +
 +
A possible solution to IIS7 is going to the IIS administration console, and in the Application Pool used by GXtest Manager (by default "Classic .NET AppPool") edit in Advanced Settings the property "Enable 32-bit Applications" setting it to True.
 +
 +
http://www.winservermart.com/HowTo/How_To_Switch_32bit_and_64bit_mode_in_IIS7.aspx
  
 
== Daemon service doesn't start ==
 
== Daemon service doesn't start ==
Line 92: Line 98:
  
 
Check this article: [[GXtest Daemon Event Log]]
 
Check this article: [[GXtest Daemon Event Log]]
 +
 +
Also, you can check this page in GXtestManager to see GXtest Daemon status and log details:
 +
http://localhost/GXtestManager/daemonstatus.aspx
  
 
== GXtest Executor ==
 
== GXtest Executor ==
Line 100: Line 109:
 
Ej:telnet ExecutorMachine 6681<Br>(It could throw a RemoteException that would mean that it is working!)
 
Ej:telnet ExecutorMachine 6681<Br>(It could throw a RemoteException that would mean that it is working!)
  
* When trying to start an Execution, Firefox o Internet Explorer shows a message asking for an update, or asking if I want to restore session.
+
* When trying to start an Execution, Firefox or Internet Explorer shows a message asking for an update, or asking if I want to restore session.
 
** It is suggested to unable any kind of questions from the browser to avoid this kind of situations
 
** It is suggested to unable any kind of questions from the browser to avoid this kind of situations
  
 
* While executing a test the browser stop loading the pages and in the status bar I can see the message "Stopped".  
 
* While executing a test the browser stop loading the pages and in the status bar I can see the message "Stopped".  
 
** Try to uninstall some add-ons which could be causing this conflict.
 
** Try to uninstall some add-ons which could be causing this conflict.
 +
 +
== License error ==
 +
 +
If GXtest Manger is authorized, but when running a task you get the following error:
 +
 +
[[Image:managererror.png]]
 +
 +
The problem can occur when you have older versions of the license protection system. One option to solve this is to install the latest version of GeneXus [http://www2.gxtechnical.com/portal/hgxpp001.aspx?15,8,77,O,E,0,,4177;0;0;GXPRT;/%20%20/;/%20%20/;M Protection Server]

Latest revision as of 04:34, 21 February 2014

Spanish.gif
English.gif
Japan.gif

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 and 3.5 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 Execution

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.

Problem trying to connecto to the database server

Entering to the Manager home, the following error message appears:

"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)"

Probably the problem is related with the connection data to the database server in the configuration file.
This file (web.config) is in the GXtest Manager installation folder (by default c:\inetpub\wwwroot\GXtestManager).
In this file try to find the following keys, where you can check the database server connection configuration:

  • Connection-Default-Datasource

If this is correct, verify also that the database server accepts remote connections, and you could try to connect to the server using SQL Management Studio through TCP.

Getting a BadImageFormatException running on a Windows 64 bits machine

If you install GXtest Manager in a Windows 64 bits machine with IIS7, you can get an error like this:

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

A possible solution to IIS7 is going to the IIS administration console, and in the Application Pool used by GXtest Manager (by default "Classic .NET AppPool") edit in Advanced Settings the property "Enable 32-bit Applications" setting it to True.

http://www.winservermart.com/HowTo/How_To_Switch_32bit_and_64bit_mode_in_IIS7.aspx

Problem with 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)

Perhaps you haven't installed the package MVC++ 2008, required by GXtest Manager. So, try to install this package, you can get it here

A possible solution to IIS7 is going to the IIS administration console, and in the Application Pool used by GXtest Manager (by default "Classic .NET AppPool") edit in Advanced Settings the property "Enable 32-bit Applications" setting it to True.

http://www.winservermart.com/HowTo/How_To_Switch_32bit_and_64bit_mode_in_IIS7.aspx

Daemon service doesn't start

Trying to start the service I get an error like this:
ServiceDaemonNotResponding.png

Likely you don't have license to GXtest Manager. To check this you can go to the Windows "Event Viewer", and see if GXtest Daemon has sent an error saying "Not Authorized".
Verify with GeneXus License Manager that GXtest Manager is authorized.


Check this article: GXtest Daemon Event Log

Also, you can check this page in GXtestManager to see GXtest Daemon status and log details: http://localhost/GXtestManager/daemonstatus.aspx

GXtest Executor

  • How to realize that GXtest Executor is ready to run?
    1. Verify that it is in "listening" status
    2. Execute a telnet from where the test cases are going to be executed (GXtest Daemon)

Ej:telnet ExecutorMachine 6681
(It could throw a RemoteException that would mean that it is working!)

  • When trying to start an Execution, Firefox or Internet Explorer shows a message asking for an update, or asking if I want to restore session.
    • It is suggested to unable any kind of questions from the browser to avoid this kind of situations
  • While executing a test the browser stop loading the pages and in the status bar I can see the message "Stopped".
    • Try to uninstall some add-ons which could be causing this conflict.

License error

If GXtest Manger is authorized, but when running a task you get the following error:

Managererror.png

The problem can occur when you have older versions of the license protection system. One option to solve this is to install the latest version of GeneXus Protection Server