Difference between revisions of "ITrack/IDispatch error 31816 - Logon failed"

From ISoft Wiki
Jump to navigationJump to search
 
(5 intermediate revisions by 2 users not shown)
Line 5: Line 5:
==Cause==
==Cause==
This error probably means that [[Crystal Reports]] is trying and failing to log into the MySQL server using an [[ITrack\ODBC|ODBC]] connection.
This error probably means that [[Crystal Reports]] is trying and failing to log into the MySQL server using an [[ITrack\ODBC|ODBC]] connection.
The error can also occur when a report is saved with an invalid (for the customer) database connection.


==Solution==
==Solution==
The first thing to do is check the ODBC connection on the computer with the error, and make sure these settings are properly configured:
In the ODBC configuration, make sure these settings are properly configured:
* Host
* Host
* Username
* Port
* Port
If the computer is running 64bit Windows, make sure you configure the 32bit version of the ODBC driver, which is '''NOT''' found in Control Panel and is instead located at: %systemdrive%\Windows\SysWoW64\Odbcad32.exe


If ITrack can connect, but Crystal Reports (through the ODBC connection) can not, the problem almost always has to do with the settings for the ODBC connection.
If ITrack can connect, but Crystal Reports (through the ODBC connection) can not, the problem almost always has to do with the settings for the ODBC connection.


It is also possible that some sort of software firewall could be blocking ODBC, but not ITrack itself.
It is also possible that some sort of software firewall could be blocking ODBC, but not ITrack itself.
If you've eliminated ODBC errors as an issue:
* Open the report using Crystal Reports.
* Run the report.
* Where you're asked to put in your username/password, check the "database" field at the bottom of the window. Make sure it's pointed to 'itrackpro' or 'itrackenterprise' and not one of our testing databases.
* Save the report after you've put in the right database connection and run it. Then deploy it to the customer.


[[Category:ITrack/Problems/Crystal Reports]]
[[Category:ITrack/Problems/Crystal Reports]]
[[Category:ITrack/Printing Error Messages]]
[[Category:ITrack/Printing Error Messages]]
[[Category:ITrack/Support]]
[[Category:ITrack/Support]]

Latest revision as of 10:57, 24 May 2013

IDispatchError31816.png

Logon failed.

Cause

This error probably means that Crystal Reports is trying and failing to log into the MySQL server using an ODBC connection.

The error can also occur when a report is saved with an invalid (for the customer) database connection.

Solution

In the ODBC configuration, make sure these settings are properly configured:

  • Host
  • Port

If the computer is running 64bit Windows, make sure you configure the 32bit version of the ODBC driver, which is NOT found in Control Panel and is instead located at: %systemdrive%\Windows\SysWoW64\Odbcad32.exe

If ITrack can connect, but Crystal Reports (through the ODBC connection) can not, the problem almost always has to do with the settings for the ODBC connection.

It is also possible that some sort of software firewall could be blocking ODBC, but not ITrack itself.

If you've eliminated ODBC errors as an issue:

  • Open the report using Crystal Reports.
  • Run the report.
  • Where you're asked to put in your username/password, check the "database" field at the bottom of the window. Make sure it's pointed to 'itrackpro' or 'itrackenterprise' and not one of our testing databases.
  • Save the report after you've put in the right database connection and run it. Then deploy it to the customer.