Invalid characters in date crystal reports - asp.net-mvc-4

I have formatted date field in crystal reports to show full day name and full month name. Like this
It works locally but not on my production server. This is how it looks on pdf generated on server.
My website is using asp.net. I recently switched production server and my new server is doing this, old one just works fine.

Related

Field shows in Pentaho designer but not in OpenERP

I am new to Pentaho (5.01) and Open ERP(7.0) I have an existing report that I have added a field (text), that is a selection in the corresponding module.
In the Pentaho Report Designer Preview the value of the field is correct, however after loading the .prpt into OpenERP the report runs (PDF) and all the other fields are populated correctly except this one.
Is there some setting I am missing in OpenERP that is preventing display of this field? The field value is also correct in the DB (Postgres) table.
The issue was that the pentaho.server.url had been hardwired to an IP address.
In our OpenERP installation we have three servers, production, demo (copy of production) and development, The pentaho.server.url stored as a record in the ir_config_parameter table in the Postgres DB on developmen, has been pointed to the Pentaho report server for production. So even though I was loading the correct .prpt report file on the development system the query was pulling data from the production system which did not have the correct DB data or structure.
I deciphered this by debugging the report activation and calling code in the core.py (community/pentaho_reports) module.

SSAS - Format String not applied

Having issues getting the Format String applied. Running SSDT in VS2013 and deploying to SQL Server 2014.
Settings
Result
Excel also doesn't display the selected format. Is there anything I am missing?
Answer found on technet.
This is because the new cube browser control used in SSDT (unlike the old cube browser used for earlier versions of BIDS/SSAS) does not display the formatted value, it just displays the raw, unformatted value only.
Testing in Excel reveiled format strings being applied.
Source:
http://social.technet.microsoft.com/Forums/en-US/171fa5b0-014b-4a64-a590-9c3d2392b528/ssas-2012-measure-formatting?forum=sqlanalysisservices
The FormatString setting can be viewed properly when you export your SSDT cube browser to Microsoft Excel. The older BIDS (SQL 2008) used to display properly such values, but this feature got lost in newer versions (the latter only display the DataType values without any formatting mask.)

Change data source for SQL Server Reports automatically

We have an ASP .NET MVC web application that links to some SQL Server Reporting Services reports. Our web application uses one database for the morning (let's call this the "AM database") and a different database for the afternoon/night ("PM database").
We have a SQL Server Agent job set up that switches the connection string for the web application from the AM database to the PM database (or vice-versa) on a schedule. It works by copying/replacing the MVC application's Web.config file with the appropriate AM/PM version. This works as intended.
However, the reports will remain pointed to whichever database they were using previously, unless the data source is manually changed through SSRS. These reports need to be updated to point to the same database as the MVC web app.
How can I automate this process (preferably through SQL Server Agent)? We need the reports to change their database connection on a regular interval.
This works for embedded connections I am not sure about shared data source references. Just add two parameters to your report for database name and database server name. You could also use codes or mask the names if you prefer not so send this info over the wire.
In your embedded data set add the following as your connectionstring
expression:="Data Source="+Parameters!DatabaseServerName.Value+";Initial Catalog="&Parameters!DatabaseName.Value
Next, add a defined user for your credentials then all you need to do is pass in the two params for each report from your application.
NOTE: You need to add your defaults when designing to a server that is accessible.

SSRS, some fields are not displayed report once deployed to server (Sharepoint 2010)

I am not able to view some of the fields once the report is generated on server. Report is getting generated properly but data is not being displyed. The report works fine on local machine.
Below is the screenshot of the issue I am facing.
Local Reports:
On Server I am facing the issue as below, the data is fetched properly as can be seen on the screenshot. The sections have got created correctly indicates query has executed successfuly. For some strange reasons only Time column is getting displayed.
The above issue was because Dataset did not contain all the columns, i changed the default view and added all the fields to the default view.
I could see only time column as the default view had only Time column in it, i had to add all other columns in order to get it working.
Referred this link to get to the solution.

Web site not pulling data properly from SQL after server transfer

We have a website we would like to transfer to our Server 2008, IIS7 site which uses NOPCommerce. We imported the database, set up the web.config and the database connects. The issue, it seems, is that it's not pulling the data.
For example: The registration page should be like:
First Name
Last Name
Gender
Birth Date
Instead its like
account.firstname
account.lastname
account.gender
account.dob
We ensured the site has proper access to the DB and it does connect(it yields an error page if it doesn't)
Anyone have any ideas?
Seems the issue was related to mounting the database. It seems the primary keys were set to the lowest available value instead of the proper one,