Object cannot be cast from DBNull to other types. When downloading a Process from Process Xchange in a JEE Project

8 Years Ago
JorgeR
BIZAGI STUDIO

Summary

In Bizagi Studio, when a user downloads a process from Process Xchange using the initial splash and selects to create a new JEE Project, an error is displayed and the creation of the project cannot be completed.

Applies to

Bizagi Studio JEE 10.7 or higher using SQL

Symptoms

When a user downloads a process from Process Xchange using the initial splash and selects a new JEE project, the template download fails when Process Xchange tries to synchronize the entities. The following error is displayed:
Object cannot be cast from DBNull to other types

Cause

This problem is presented when the protocols of your SQL instance are not enabled.

Solution

1. Open SQL Server Configuration Manager, in the console pane, expand SQL Server Network Configuration.

2. In the console pane, click Protocols for <instance_name>.


3. In the details pane, right-click the disabled protocols and then click Enable. All protocols (Shared Memory, Named Pipes, TCP/IP) MUST be enabled.
Refer to http://help.bizagi.com/bpmsuite/en/sql_server_configuration.htm, for further configuration in the protocols.

4. Restart the services of your instance in order to apply the changes.

5. Retry the download of the selected Process.


Details

Last Modified:8 Years Ago
Last Modified By: Andread
Type: ERROR
Level: Intermediate
Rated 5 stars based on 1 vote
Article has been viewed 15.9K times.

Options