Wednesday, November 21, 2012

Error 231 in Transacting Named Pipe - RightFax

Problem:
The application log on the RightFax Server shows "Error 231 in transacting named pipe"
or
When trying to view faxes in FaxUtil or login to FaxUtil, "Error 231 in transacting named pipe" occurs.

Solution:
This error occurs for two reasons. Both are related to the RightFax database.

Cause 1: RightFax database unable to handle workload
You can expect this error regularly if you're sending a large batch of faxes each day at the same time.
If that is your situation, you might consider distributing the job throughout the day or adding an additional RightFax server.

Solution 1a: Determining work requests

To view the number of work requests that the RightFax server needs to process, log on to Enterprise Fax Manager, and then click Utility > Show work requests.



The number of work requests displayed for any field should not constantly increase during the day.
For any work request increasing beyond 1000, you might want to contact Advantage Technologies Support directly to determine the cause: (866) 730-7700

Solution 1b: Viewing RightFax processes
Use Task Manager to view processes on the RightFax server.
On the Processes tab, see if any processes are maxing out the CPU.
If the CPU is maxed out, then the Rightfax services and applications will run slower, possibly causing the "231" error.

Solution 1c: Viewing and increasing database threads
To view the status of the last RightFax database thread:
1. Open Enterprise Fax Manager.
2. Right-click the RighFax database module.
3. Select 'STATUS' from the dropdown menu
4. From the dropdown list of the status window, select the last database thread (NOT the file thread).
The last database thread should show total commands executed of zero. If it's not zero, increase the number of database threads by 2 and test again.
This number should not raise above 1 in a 24 hour period. If it is a large number within an hour after a restart, you should increase the number again immediately.
The idea is to fine tune the level so that the last thread is seldom used but you do not have a lot of threads that are unused.
Note: This will stop and restart the RightFax Server and database services.

To increase the number of database threads:
1. Right-click the RightFax Database Module.
2. Choose Configure Service.
3. Click the Advanced tab.
4. Select a value in the Max Threads list.
5. Click OK.

Please be aware that with 9.0 when using MSDE, there is a limit to the maximum connections that can be made to MSDE, and exceding this number can cause issues.

Contact the RightFax Experts for your support related issues