Qdabra DBXL - Administration Guide Installing, licensing and running DBXL All manuals

Chapter 6 - Rendering Service: Troubleshooting

First draft. This chapter has not been reviewed yet and may contain mistakes. Please read it with that in mind, and tell us about anything that does not match what you see.

This chapter provides steps for troubleshooting errors seen when running the Qdabra DBXL Rendering Service. If you encounter an issue that is not discussed here, contact [email protected] for assistance.

6.1 Where to look: the Qdabra event log

Normally, the Qdabra event log is the place to look for errors related to DBXL and its tools. On the server where DBXL is installed, open Event Viewer and locate the Qdabra event log under Applications and Services Logs.

Windows search showing Event Viewer as the best match.

Event Viewer with the Qdabra log selected under Applications and Services Logs.

6.2 Qdabra DBXL Rendering Service requires a DBXL Enterprise license

After starting the rendering service, the Qdabra event log shows this warning if DBXL does not have an Enterprise license:

Qdabra DBXL Rendering Service requires a DBXL Enterprise license

Because this requirement has not been met, the service will fail to start.

Qdabra event log with a Warning entry: "Qdabra DBXL Rendering Service requires a DBXL Enterprise license".

You may also get this error when attempting to start the service:

Services dialog: "The Qdabra DBXL Rendering Service service on Local Computer started and then stopped."

To fix this, add an Enterprise license in the License page of the DBXL Administration Tool (see Chapter 4 - Configuring a License).

DBXL Administration Tool, Manage License page, with an installed license pack.

If you have already added an Enterprise license and the warning persists (as seen in the screenshot below), there could be an issue with the license file. You may ask Qdabra Support to generate a new license for your DBXL instance.

Qdabra event log still showing the Enterprise license warning after a license was added.

6.3 Rendering Service does not start automatically

After the DBXL Rendering Service installation completes, you will notice that it does not start automatically.

Services list: Qdabra DBXL Rendering Service with Startup Type "Automatic (Delayed Start)", Log On As "Network Service", and no Running status.

You can either start it manually from Services or reboot the machine.

You may encounter a network-related error when the service connects to SQL:

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.

Qdabra event log Error entry with the SqlException text for the network-related or instance-specific error.

This error means that the service is not able to connect to the SQL Server used by DBXL, or the Data Source value in the connection string is invalid. The next entry in the list will show:

Qdabra DBXL Rendering Service started without xml rendering due to invalid connection string.

Event detail: "Qdabra DBXL Rendering Service started without xml rendering due to invalid connection string."

Locate the Qdabra.Dbxl.Rendering.exe.config file and check that the Data Source name in the connection string is correct.

Qdabra.Dbxl.Rendering.exe.config with the Data Source value of the DBXLUtility connection string highlighted.

6.5 Cannot open database "QdabraUtility"

The DBXL Rendering Service connects to the DBXL default database called QdabraUtility to render forms as PDF. If you get the error below, the account used to run the rendering service is not in the DbxlAdmins group and therefore cannot access the database.

Cannot open database "QdabraUtility" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.

In the error above, the DBXL Rendering Service is installed using a predefined account, which is usually the Network Service account. You need to add the Network Service account to the DbxlAdmins group, or change the account that runs the service to an existing DBXL admin account.

Option 1: Add the Network Service account to the DbxlAdmins group.

Computer Management, Local Users and Groups > Groups: DbxlAdmins Properties with NT AUTHORITY\NETWORK SERVICE listed as a member.

Option 2: Run the service using an existing DBXL admin account. Right-click the service, select Properties, and change the account on the Log On tab.

Qdabra DBXL Rendering Service Properties, Log On tab, with "This account" set to a local DBXL admin account and its password.

After doing option 1 or 2, restart the service.

Qdabra DBXL Rendering Service Properties, General tab, with the Start button highlighted.

If you have corrected the issue using option 1 or 2 and the error persists, make sure that the connection string in Qdabra.Dbxl.Rendering.exe.config uses the correct QdabraUtility database. Sometimes DBXL is installed using a different QdabraUtility database name; the DBXL installation wizard provides an option to rename it. If that is the case in your DBXL install, ask your DBXL admin for the correct QdabraUtility database name, and replace the value of Initial Catalog in the connection string below:

Qdabra.Dbxl.Rendering.exe.config with the Initial Catalog value "QdabraUtility" highlighted.

6.6 Error 1001 during DBXL Rendering Service install

If you get Error 1001 during installation of the Qdabra PDF Rendering Service, this error usually occurs when a previous installation failed to uninstall properly. To fix it, follow these steps:

  1. Go to the Start menu and search for Command Prompt. Right-click it and select Run as administrator.

Start search for "command prompt" with the context menu open on Run as administrator.

  1. In the Command Prompt window, type the following command, and then press Enter.

sc delete "QdabraDBXLRendering"

Administrator Command Prompt with the sc delete command, next to the service Properties showing Service name QdabraDBXLRendering.

To make sure you are using the correct name of the service you are deleting, open Services.msc and check the Service name in the properties of Qdabra DBXL Rendering Service.

  1. You should see a success message confirming that the service has been deleted.

Command Prompt output: [SC] DeleteService SUCCESS.

You should now be able to install the DBXL Rendering Service. Follow all the steps to install the DBXL Rendering Service as described in the installation guide (Chapter 5 - Rendering Service: Installation).

6.7 Error Processing PDF for DocID

If you get the error message Error Processing PDF for DocId, perform the following steps:

Qdabra event log Error entry: "Error processing PDF for DocID 459 ... Object reference not set to an instance of an object."

  1. In Windows Explorer, go to C:\Program Files\Qdabra Software\Qdabra DBXL Rendering Service.
  2. Right-click the XsnStorage folder and select Properties.

Context menu on the XsnStorage folder with Properties highlighted.

  1. In the Properties window, click the Security tab and click Edit.

XsnStorage Properties, Security tab, with the Edit button highlighted.

  1. In the next window, click Add.

Permissions for XsnStorage with the Add button highlighted.

  1. In the next window, type Network Service and click Check Names.

Select Users or Groups dialog with NETWORK SERVICE entered.

  1. Click Locations.
  2. Change the location to your local machine. Click OK twice.

Locations dialog with the local machine selected.

  1. Select NETWORK SERVICE and check the Full control box. Click Apply. Click OK twice.

Permissions for XsnStorage with Full control allowed for NETWORK SERVICE.

  1. Click OK to close all the windows.

6.8 Send mail exception

If the email mapping has been set up correctly but users are not getting the emails, you might see this error in the Qdabra event log:

Send email exception error: Failure sending email

Qdabra event log Error entry: "Send mail exception: Failure sending mail. Unable to read data from the transport connection: net_io_connectionclosed."

Or, if DBXL is running on HTTPS, you might get this error if SSL is not set to true:

Send email exception error: The remote certificate is invalid according to the validation procedure.

Qdabra event log Error entry: "Send mail exception: The remote certificate is invalid according to the validation procedure."

To fix this, verify that the SMTP username/password, server and port number in Qdabra.Dbxl.Rendering.exe.config (C:\Program Files\Qdabra Software\Qdabra DBXL Rendering Service\Qdabra.Dbxl.Rendering.exe.config) are correct. If not, replace them with the correct values.

When DBXL runs on HTTPS, make sure Enable SSL is set to true.

Qdabra.Dbxl.Rendering.exe.config appSettings with the Smtp_Servername, Smtp_Port, Smtp_UserName, Smtp_Password and Smtp_EnableSsl keys highlighted.

6.9 404 error when rendering

This could be the result of incorrect settings in the DBXL web.config. Several settings contain URLs to various locations within DBXL. If your DBXL URL has been changed recently, make sure that the URLs in web.config point to the correct links.

6.10 Error during user profile queries

Microsoft documentation indicates that this error can occur after logging in to a server for an interactive session using a service account. You can remedy the error by stopping the rendering service and restarting the DBXL app pool. After that, follow Method 2 in the Microsoft documentation to disable the setting that deletes user registry entries on logout. This is a temporary measure; a better long-term solution is to use a separate service account for the rendering service.

For help, active customers can use the Customer Support Portal. For anything else, use Contact Us or e-mail [email protected].

6.11 Summary

Next: Chapter 7 - Release Notes.

© Qdabra Software  |  Questions and corrections: [email protected]  |  Preview copy, not linked from the public site.