Hi everyone,
My name is Ed Allison. I am very new to reporting services (about 2 weeks,
in between working on a lot of other stuff), and have had no luck attempting
to track down a particular problem.
I am running Visual Studio 2005 and Reporting Services 2005 on Windows XP
(fully service packed etc.), but the data source for my reports is SQL
Server 2000. I only use VS2005 for reports, as we are still on vs2003 for
the rest of our products. It looks as if, somewhere along the line, a
culture setting has been set wrong. This problem is occurring at the design
stage, i.e. I have not loaded the reports onto the report server.
I am working in the UK. I have double checked that my regional and language
settings under Control Panel and they are set to English(UK).
Under Tools>Options>Environment>International Settings, Language is set to
'Same as Microsoft Windows'.
Whenever I format to currency (using "C" as the formatstring, generally),
the amount is returned in $, not £. Whenever I have date parameters on a
stored procedure for a report dataset, the dates are initially registered in
UK format (dd/mm/yyyy), but as soon as I click the 'view report button', the
dates are set in the parameter windows to mm/dd/yyyy format. This causes an
error when such a conversion yields an invalid date, e.g. '30/01/2006' to
'01/30/2006'.
I have searched in vain around visual studio 2005 for anything relating to a
culture setting specific to it without success. I have also tried MSDN and
Books Online, but no luck. I have checked every user account on my local
machine to see if one was entered with US culture settings, but no luck.
Report Services Configuration also does not appear to mention culture.
If anyone could help, I would be most grateful.
Ed AllisonI have found the solution to this, and am thoroughly embarrassed to have
missed it.
For the sake of anyone new like me who has a similar problem with their
culture settings apparently being ignored - there is a Language property on
the Report that defaults to English(United States). If this is set to the
global User.Language, formatting will correspond to culture settings on the
report client. This property is also present in individual textboxes.
"Ed Allison" <ed@.optix.co.uk> wrote in message
news:ODg7mZbJGHA.2628@.TK2MSFTNGP15.phx.gbl...
> Hi everyone,
> My name is Ed Allison. I am very new to reporting services (about 2
> weeks, in between working on a lot of other stuff), and have had no luck
> attempting to track down a particular problem.
> I am running Visual Studio 2005 and Reporting Services 2005 on Windows XP
> (fully service packed etc.), but the data source for my reports is SQL
> Server 2000. I only use VS2005 for reports, as we are still on vs2003 for
> the rest of our products. It looks as if, somewhere along the line, a
> culture setting has been set wrong. This problem is occurring at the
> design stage, i.e. I have not loaded the reports onto the report server.
> I am working in the UK. I have double checked that my regional and
> language settings under Control Panel and they are set to English(UK).
> Under Tools>Options>Environment>International Settings, Language is set to
> 'Same as Microsoft Windows'.
> Whenever I format to currency (using "C" as the formatstring, generally),
> the amount is returned in $, not £. Whenever I have date parameters on a
> stored procedure for a report dataset, the dates are initially registered
> in UK format (dd/mm/yyyy), but as soon as I click the 'view report
> button', the dates are set in the parameter windows to mm/dd/yyyy format.
> This causes an error when such a conversion yields an invalid date, e.g.
> '30/01/2006' to '01/30/2006'.
> I have searched in vain around visual studio 2005 for anything relating to
> a culture setting specific to it without success. I have also tried MSDN
> and Books Online, but no luck. I have checked every user account on my
> local machine to see if one was entered with US culture settings, but no
> luck. Report Services Configuration also does not appear to mention
> culture.
> If anyone could help, I would be most grateful.
> Ed Allison
>
Showing posts with label settings. Show all posts
Showing posts with label settings. Show all posts
Thursday, March 8, 2012
Culture settings of SSRS2005
Hi,
I have have a problem with the culture settings in reporting server 2005,
which is different from 2000.
My windows is in german, but I installed the english version of SSRS and
VS.NET.
So the report viewer is displayed in English.
I have a public report parameter defined as date, with default value as
Date.Now(), shown in English Format.
If I view the report with the default values, he complains that he can't
convert the date, he wants the german format.
My question now:
- Why he fills the default value in English, but for working he needs the
german format? It's seems like there are different cultures. With SSRS 2000
this was different.
- How defines SSRS2005 the used culture for formatting and UI?
By Browser? Report cutlure settings? Windows Culture?
Is there any documentation?
Thanks
EricHi Eric,
Thank you for posting.
Regarding on the culture setting question you mentioned, based on my
understanding, the ReportViewer control is shipped with the VS 2005
development tool , so the UI on the reportviewer is not related to the SQL
Server reporting service. As for SQL Server 2005 reporting service, there
does exists globalization/localizaiton features which depend on the host
machine's locale/language setting and the client-side browser's language
setting. For detailed info, you can have a look at the following MSDN
document:
#International Considerations for Reporting Services
http://msdn2.microsoft.com/en-US/library/ms156493(SQL.90).aspx
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
I have have a problem with the culture settings in reporting server 2005,
which is different from 2000.
My windows is in german, but I installed the english version of SSRS and
VS.NET.
So the report viewer is displayed in English.
I have a public report parameter defined as date, with default value as
Date.Now(), shown in English Format.
If I view the report with the default values, he complains that he can't
convert the date, he wants the german format.
My question now:
- Why he fills the default value in English, but for working he needs the
german format? It's seems like there are different cultures. With SSRS 2000
this was different.
- How defines SSRS2005 the used culture for formatting and UI?
By Browser? Report cutlure settings? Windows Culture?
Is there any documentation?
Thanks
EricHi Eric,
Thank you for posting.
Regarding on the culture setting question you mentioned, based on my
understanding, the ReportViewer control is shipped with the VS 2005
development tool , so the UI on the reportviewer is not related to the SQL
Server reporting service. As for SQL Server 2005 reporting service, there
does exists globalization/localizaiton features which depend on the host
machine's locale/language setting and the client-side browser's language
setting. For detailed info, you can have a look at the following MSDN
document:
#International Considerations for Reporting Services
http://msdn2.microsoft.com/en-US/library/ms156493(SQL.90).aspx
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Subscribe to:
Posts (Atom)