Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Date error WIS 10901

$
0
0

Hi,

 

I'm facing an issue with dates being compiled incorrectly in an American format in the SQL code of Webi queries.

This produces the error below because the databases want dates in the English UK format:

 

Database Error: [Microsoft SQL Server Native Client 10.0] : the conversion of a char data type to a datetime data type resulted in an out of range datetime value (IES 10901) (WIS 10901)

 

My system is BI Platform 4.1 SP1 on Windows 2008 R2 Standard.

The server o/s is set to English UK, and UK date formats.

The browser (IE 10) is set to render pages in UK English.

The user preferences in BI Launchapd are set to English and UK English respectively.

The unv universes involved have been exported from Designer where the language options were set to English UK and 'migration forced'.

The SQL usernames involved in the connections are all using British English.

 

When I run a report if I include a date filter, the calendar icon in the query panel puts dates into the filter in an American format which is incorrect, but even if they are input in the correct UK English format (dd/MM/yyyy HH:mm:ss) then the SQL is generated in the American format again (MM/dd/yyyy HH:mm:ss) and the database causes the error.

 

The connections here are all OLEDB and I have tried adding the old USER_INPUT_DATE_FORMAT parameter to the sqlsrv.prm file in the ...dataAccess\connectionServer\oledb folder.

 

Adding this parameter along with the UK English date format enables the queries to run in the IDT installed on the server when I convert th eunv to unx (even if we switch between local and server middleware), but no where else.The unx then still shows the same behaviour as the unv when used in a query in webi.

 

Webi in the browser and Webi Rich Client do not take any notice of this parameter even after repeated connection server restarts.

 

This 4.1 system has recently been migrated from 3.1 SP5 where everything was working fine - we are using the same settings as far as we can given the differences in the products and files.

 

Does anyone have any other ideas?

 

thanks

Keith


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>