SSRS Date Parameter auto postback - asp.net

I have created .rdl file with two date parameter. The report is working fine in local. But I am facing some difficulties after I integrated the rdl file into ASP.NET MVC application.
The problem is Date Parameter performs postback once I select the date. So I need to wait for some time to go with another parameter and The performance of report is good when test it in local and Database.
Please share me if you have any solution.
Thanks.
Jay

Related

System.Runtime.InteropServices.COMException (0x8004100F)

so Hi everyone, struggling to solve this almost for a day, i haven't used crystal reports much, so please point me in the right direction.
Here is the problem, we have an asp.net web site using crystal reports. All the reports seems to work fine except one. The Report is opening when it is running in local, but when deployed to the server it is throwing "System.Runtime.InteropServices.COMException (0x8004100F)" error.
when i searched for it, it is a logon error, if thats the case it shouldnt work from local either, and other reports using the same connection also working well when deployed in server.
Taken from SAP:
If it's only certain reports, the compare the reports:
Connection type (OLE DB, ODBC, etc.).
Is it reports with subreports only? If so, check the above and log on to the subreports.
Check other differences. parameters? Tables vs. Stored Proc, etc., etc.
You may also want to troubleshoot by trying out the 32 bit runtime
Okay, currently the report is working, maybe of help to someone else facing the same problem.
In the report database properties, the Locale Identifier of the connection was set to 17417 which is English-Malaysia(dont know why and how), i changed the connection Locale Identifier to 1033 English-United States and now it is working in the server.
Database -> Set Datasource Location -> report -> properties -> Locale Identifer
If someone could reply how the locale identifier got set to 17417, it would be a great help.
Roy, I believe you set local identifier when you create database connection.
enter image description here

CRM 2011 some custom reports are not showing any data

Some SSRS Reports are not working in CRM 2011 but other ssrs reports are working fine.
Used filtered views in the Query and ran the report with system Administrator role. It is showing no data available but when tried to run in BIDS it is working and also in Report Manager.
Any idea on this issue, Friends. Please suggest some solution if you have any. Thanks!
Are you use pre-filtering ? When you run report from CRM, default filter is set to records was created in last 30 days (when you use pre-filtering). Maybe your records are olrder than 30 days and in SQL are visible but not in CRM. Try to change filter during run report.
you need to use shared data source. Just click on your current Data Source and convert to Shared one as below. So instead of embedded, select 'Use Shared datasource reference' and make your connection via windows authentication. This was the way which helped me to show data within CRM!

Call SSRS from ASP.NET Web Application

I have an SSRS Report Server Project Wizard in which I have created a Report named ContractForm.
Now I want to show that report from UI in the another project in asp using C#.
How will I do this?
So far I have tried using Microsoft Report Viewer. But I am getting this error:
"ServerReport.ReportPath could not find"
If you're unsure of your report path, the easiest way to determine it is to browse to the report in your browser of choice, and examine the url. The ItemPath parameter of the query-string is the url encoded path to your report. It will look something like %2fSomeDir%2fMy+Report, which decodes to \SomeDir\My Report.
On the other hand, you may have some other issue, but it's a bit difficult to tell from the information given.

Creating report in asp.net by accessing server side code and not a database

I'm trying to create a report in asp.net by using data from a form that a user fills up.
I know that I can do this in windows form mode by creating a class and using that as a data source for a .rdlc file.
However, in the case of ASP.Net I can't seem to find a similar approach.
What can I do in this case?

Crystal Reports: Refresh Dynamic Parameters in .NET

I am using Crystal Reports 2008 and Visual Studio 2010 (.NET 4.0 framework) to build an ASP.NET web application to display Crystal Reports files through a "CrystalReportsViewer" web control. My application changes the data source of the report at runtime based on a configuration file.
Some of the reports I use have dynamic parameters that pull values from a database table. When I run the Crystal Report, it populates the parameter listbox and allows the user to choose one or many of them. When I run the report in the CrystalReportsViewer control on the ASP.NET page, it gives me an empty text box where the parameters list used to be.
Is there a way that I can 'refresh' or re-populate the dynamic parameters?
Thanks in advance,
-Steven
I've always had trouble with dynamic parameters. I don't use Crystal in the exact same way you are, but I've noticed that when my data comes from a Stored Procedure, the dynamic parameters are empty when I run the report. My workaround is to set the paramters to null when running the report and then clicking OK on the parameter screen. At that point crystal refreshes the parameters list and them I'm presented with the values in the db to select from. Dynamic parameters work well for me when I add the data tables directly to the report instead of using a stored procedure.
I don't know if this really answers your question but I hope it helps.

Resources