Difference between revisions of "HowTo:Solve MSDTC-related problems"
Line 39: | Line 39: | ||
On both the database server and the application server, you have to make sure the firewall doesn't block the MSDTC service. | On both the database server and the application server, you have to make sure the firewall doesn't block the MSDTC service. | ||
Technically, MSDTC uses the RPC endpoint mapping service on port 135 to determine the port for the DTC endpoint, which can be dynamic (within the range of 49152-65535). | Technically, MSDTC uses the RPC endpoint mapping service on port 135 to determine the port for the DTC endpoint, which can be dynamic (within the range of 49152-65535). | ||
+ | {{attention|There should be an existing enabled rule for this already, but the RPC port 135 must be opened.}} | ||
There are two strategies to open the required ports: | There are two strategies to open the required ports: | ||
Line 68: | Line 69: | ||
*** Add value: Name "UseInternetPorts", Type "REG_SZ", value "Y" | *** Add value: Name "UseInternetPorts", Type "REG_SZ", value "Y" | ||
− | If you use a restricted ports range, you have to create new rules to open that range specifically (inbound and outbound). | + | {{attention|If you use a restricted ports range, you have to create new rules to open that range specifically (inbound and outbound).}} |
= Test-Dtc and DTCPing = | = Test-Dtc and DTCPing = | ||
Line 89: | Line 90: | ||
<!-- DO NOT REMOVE THIS -->{{Template:HowTo/End}}<!-- DO NOT REMOVE THIS --> | <!-- DO NOT REMOVE THIS -->{{Template:HowTo/End}}<!-- DO NOT REMOVE THIS --> | ||
− | [[Category: | + | [[Category:Database|Solve MSDTC-related problems]] |
− | + | ||
[[Category:How-To|Solve MSDTC-related problems]] | [[Category:How-To|Solve MSDTC-related problems]] | ||
[[Category:Install|Solve MSDTC-related problems]] | [[Category:Install|Solve MSDTC-related problems]] | ||
[[Category:Installing|Solve MSDTC-related problems]] | [[Category:Installing|Solve MSDTC-related problems]] | ||
− | [[Category: | + | [[Category:Resources (internal)|Solve MSDTC-related problems]] |
+ | [[Category:Service|Solve MSDTC-related problems]] |
Revision as of 22:42, 16 August 2023
From version 4 on, UBIK® uses the Distributed Transaction Coordinator (MSDTC or DTC) to manage database transactions. However, there's the necessity for correct configuration on both the database server as well as the application server to make it work. This article explains how to do that.
Problem Symptoms
- UBIK® Studio or a UBIK® service can't connect to your database or fails to create a session
- Database view creation or instance data transfer doesn't work because of an exception
- There's an error/exception log entry like: "Communication with the underlying transaction manager has failed"