I have no solution, but am experiencing a similar problem..
Using swedish datetypes in SQL Server (2007-03-06), a report will always display it in US format (06/03/2006)..
On every SQL query i use, i have to do a "convert(char(10),date,120) as date" to get it into right format..
The problem is when the datasource is an OLAP cube.. :(
//Par
This is the same issues I have (in the thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1309233&SiteID=1)
Changing local for Reporting Services should do the trick - changing any other local settings sure does not seem to help.
I'll post back to this thread if I get any answers on my thread...
Trond
We have just come up against this problem as well. I think it has only started since we installed SQL 2005 SP2, but I cannot be sure.
Certainly there have been no complaints for the past 6 months, we installed SP2 last Friday and the complaints started today.
Go to the Properties dialog of the Report and for Language property try setting the value "=User!Language" instead of English (United States) in which case you dont need to do anything in the sql server query other than just retrieving the date in whatever format it is in the database.
Shyam
a_shyam41 wrote:
Go to the Properties dialog of the Report and for Language property try setting the value "=User!Language" instead of English (United States) in which case you dont need to do anything in the sql server query other than just retrieving the date in whatever format it is in the database.
Shyam
This might solve my problem, but there has to be a way to make this a standard value (or to set the server to the right locale setting)..
There is no way i want to do this for hundreds of reports already made, and have to remember it for the hundreds of more that are about to be made..
//Par
This should solve the problem.
I am almost sure that there is no way to do it at a server level as I myself have developed 100s of globalized reports and this was my first item in the checklist.
Shyam
As far I can see, the reports are not the same on your local machine (designer) and the server (which may be again your machine which I dont know).
If it is same and my solution didn't work, then the second date in the report server should have shown 03/31/2007. I dont know why it's showing 02/02/2007
Shyam
a_shyam41 wrote:
This should solve the problem.
I am almost sure that there is no way to do it at a server level as I myself have developed 100s of globalized reports and this was my first item in the checklist.
Shyam
And there is no way to make Visual Studio set that as a default
check out this link
http://msdn2.microsoft.com/en-us/library/ms156493.aspx
and also this paragraph in the link:
"For Report Designer itself, the language resource that is applied to the report-authoring environment is determined by the language of the installation of Microsoft Visual Studio. For example, if you are running a Japanese version of Visual Studio, the Japanese language resource for Report Designer is used. If you are running a language version of Visual Studio that is not supported by SSRS, the neutral resource language is used instead. For more information about neutral resources, see "Operating System Language Settings" later in this topic."
So, the Language property value that you see in the Visual Studio report designer is actually the language of Visual Studio installtion. So, nothing can be done about it but to handle them manually for every report.
a_shyam41 wrote:
As far I can see, the reports are not the same on your local machine (designer) and the server (which may be again your machine which I dont know).
If it is same and my solution didn't work, then the second date in the report server should have shown 03/31/2007. I dont know why it's showing 02/02/2007
Shyam