Skip to main content
Hi,

I am trying to export my process to K2 server on another machine.
I am getting the following error.

Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks.
Parameter name: ticks

Can somebody point out in what scenario this error occurs?

Regards,
Ritesh
Hi ritesh,

I haven't seen such an error before. Do you get it during compilation? Does it give you any indication where the problem might be i.e. in an Escalation Rule, Start Rule etc? Must be somewhere in the code behind some object/rule where you've used DateTime variables.

Regards,
Ockert
Hi Ockert,

The code compiles successfully.
It gives this error while exporting.

I have different version of K2 on my machine and different version on the k2 server machine.
Could it be due to this?

Regards,
Ritesh
Although I haven't seen this specific problem with compatibility issues, it could very well be. What version of K2.net 2003 have you got installed on the server and dev machine?

Regards,
Ockert
3.6059.1.0 on dev machine
3.6090.1.0 on server machine
Ok,

3.6059.1.0 was definitely not an RTM release so I would recommend upgrading your dev machine to 3.6090.1.0 (SP3) as well.

Regards,
Ockert

PS! Remember to make backups of your process definitions.

Reply