Skip to main content
Hi,
I've got an error when I'm trying to view process instance in the Workspace via "Process Overview" report.
The error is: "Wrong calling or argument of procedure 'MonthName'" (row # 600).

I catch it in .Net Visual Studio, it apears in DateTest function (FilterDetail.aspx):
---------
Function DateTest(fd,fm,fy)
Dim curdate
curdate = cy & " " & MonthName(cm) & " " & cd
DateTest =formatDateTime(curdate,0)
End Function
---------
The "cm" parameter is null (or nothing).

Has anybode seen this error before?
Any assumptiones?

P.S. My Win Server has RUS locale.

Thanks for any help.
What version of K2.net 2003 are you running?
icon-quote.gifRĂ©nier:
What version of K2.net 2003 are you running?


I'm using K2.net Server Version 3.5140.1.0 (Service Pack 2a), trial version.
I know there are some Localization issues in K2.net 2003 Workspace which will be addressed in SP3.

In the mean time, you can try to change your 'Default Language' of SQL Server to English.

If it still doesn't work, I'm afraid the only workaround I know of would be to change your locale to English.

Hope this helps,
Ockert
Ockert,
Thank you for help. May be I'll try to change locale for testing.
No Problem - Please let us know what the outcome is.

Regards,
Ockert
I've just check it.

I've change 'default language' (run exec sp_configure 'default language',0 on MS SQL server), but it does not help.
The changing the windows locale to ENG does not help too: I've got error 'wrong argument on MonthName procedure'.
:(

It is very strange, I hoped that changing region settings can solve this problem.
Try to run a trace on the K2Log database in SQL Profiler just before you force the error. I would like to see what Month name is passed to SQL.

Regards,
Ockert
icon-quote.gifOckert:
Try to run a trace on the K2Log database in SQL Profiler just before you force the error. I would like to see what Month name is passed to SQL.


Ockert,
I've ran SQL Profiler and I find only one date passed to SQL. The command is: exec kDestQueueNext @ServerID = 1, @ID = 1, @Date = 'Nov 23 2005 10:58:57:793AM'

There are no others matches on date or on month.
Thank you for the feedback.

What is your Short Date format in Regional and Language settings?

I don't think we will solve this here...
Our Labs team has made a lot of changes to cater for different locales in the next Service pack release. Would it be possible for you to create a VPC for us to test against?

Regards,
Ockert
Ockert,
Thank you for help.

icon-quote.gifOckert:

What is your Short Date format in Regional and Language settings?


I've tried this ones:

Short Date format: dd.MM.yyyy on RUS locale

and

Short Date format: dd/MM/yyyy on ENG_GB locale
or
Short Date format: dd.MM.yyyy on ENG_GB locale

icon-quote.gifOckert:

Would it be possible for you to create a VPC for us to test against?

Sorry, but for some reasons it is impossible.

Thanks again.

Reply