Sunday, February 12, 2012

NullReferenceException when logging into Taskmaster Web for IBM Datacap Taskmaster Capture

NullReferenceException when


logging into Taskmaster Web


for Datacap Taskmaster Capture


Abstract


When logging into Taskmaster Web for an application using SQL or Oracle databases, a NullReferenceException error occurs.

Recent exception in /tmweb.net/buttons.aspx – support information
System.NullReferenceException: Object reference not set to an instance of an object

Cause


SQL and Oracle require a different DateTimeSeparator value, than for Microsoft Access.

Resolving the problem


To configure the DateTimeSeparator value:

  1. On the Taskmaster Web server, edit \Datacap\tmweb.net\apps.ini.

  2. Locate all applications that use SQL or Oracle admin/engine databases.

  3. Change DateTimeSeparator=# to DateTimeSeparator='
    The new symbol here is an apostrophe.

  4. Save changes to apps.ini and re-test.

No comments:

Post a Comment