Difference between revisions of "GXtest Manager Troubleshooting"
(→Problem with System.DllNotFoundException: 'ProtAuth.dll'?) |
|||
Line 1: | Line 1: | ||
+ | {{Idiomas | ||
+ | |Troubleshooting GXtest Manager | ||
+ | |GXtest Manager Troubleshooting | ||
+ | }} | ||
[[category:Support]] | [[category:Support]] | ||
Revision as of 17:11, 15 August 2013
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.
- 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.
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:
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?
- Verify that it is in "listening" status
- 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 o 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.