Thursday, July 17, 2014

Dynamics GP - "The Deployment has exceeded the maximum request length allowed by the target server" when installing reports


When installing reports in Dynamics GP i'm running into the following error

Navigate to the Reporting Services folder and add maxRequestLength="20690" to the httpRuntime node. The folder should be located here: \Program Files\Microsoft SQL Server\MSRS10.[SSRSInstanceName]\Reporting Services\ReportManager

Monday, July 14, 2014

How to see who has files open in shared

I went to remove sharing from a shared folder because I'm migrating the data to another server. Windows said something like "there are N users with opened files. By removing this share you will boot them"

This is on Windows Server 2003, probably different in newer versions...

1. Computer Management
2. Shared Folders
3. Open Files

From there you can see who has what open. In my case it was me with 7 sessions opened. So I right-clicked all of my sessions and closed the file connection. Then was able to remove Sharing from that folder without complaints.


Tuesday, July 1, 2014

In Dexterity - Passing in a checkbox for a boolean parameter results in it flipping the value

I'm passing a checkbox field, specifically CMTransactionObject:'Auto Post To GL', to a script which is expecting a boolean. 'Auto Post To GL' is a checkbox type.

I put warning messages, like this warning str(CMTransactionObject:'Auto Post To GL') before the script is called, and then as the first statement in the script itself.

Before script - 1
In script - 0

Explicitly cast the checkbox to a boolean.

Way 1-
local boolean value = CMTransactionObject:'Auto Post To GL';

call script, value;

Way 2-
call script, boolean(CMTransactionObject:'Auto Post To GL');
This way should not be done with inout parameters, only in.

This actually seems to be caused by passing a local variable to two different parameters, one with in one with inout