SSRS 2005 - rsDataSourceNotFound error when viewing report through ASP.net ReportViewer - reportingservices-2005

I have uploaded a report and created a datasource in Reporting Services 2005. When I view the report through Report Manager, it runs successfully and displays correctly.
However, when I try to open this report in an ASP.net application which uses a ReportViewer control to view the report, it returns an exception:
Exception Details: Microsoft.Reporting.WebForms.ReportServerException: The data source
'ReportTesting' cannot be found. (rsDataSourceNotFound)
A warning is logged in Event Viewer on the ReportServer server:
**Process information:
Process ID: 3536
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE**
**Exception information:
Exception type: ReportServerException
Exception message: The data source 'ReportTesting' cannot be found. (rsDataSourceNotFound)**
I can't figure out why the report and datasource runs fine through ReportManager but won't when I run it via the RepotrViewer. There are other reports on the server (using different datasources) which are running fine.
Update:
To confuse matters further - If I go untick 'Enable this data source' in ReportManager, the following is returned when I try to run the report in the ReportViewer control:
Exception Details: Microsoft.Reporting.WebForms.ReportServerException:
The report server cannot process the report. A data source associated
with the report has been disabled. (rsDataSourceDisabled)
If I retick the option to 'Enable this data source', it reverts to the original exception.

I finally discovered the cause / resolution!
I opened the .rdl file in a text editor and noticed that the Datasets were still pointing to the previous datasource.
<Query>
<DataSourceName>[old datasource name]</DataSourceName>
I replaced all references to the previous datasource with the new datasource and it now runs successfully.

Related

Oracle apex report does not get printed when I click the button but gets printed when I test It from shared components

I am trying to use BI publisher as the printing server on my APEX app, but when I try to use the generated link (f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=COUNTRY%20INFO) on a button it does not work and gives a error as "Contact your application administrator. Details about this incident are available via debug id "4162"." but the debug log doesn't show any errors, however the report gets printed fine when i click the test report button in "Shared Components/Report Queries/Edit" tab.
I can't find the mistake here
I use oracle apex 22.0 on Oracle 21c xe locally, BI publisher server is also setup locally
I tried the link with different buttons in different pages but still it doesn't work

Using IBM Connections 5.5 - Unable to display Widgets in Community Detail Page and My Page

We are using IBM Connections 5.5. SSO has been done with IBM TAM environment.
Until some time back the application was working fine. However, now after creating a community, system is unable to load Widget details. Only the heading is shown with an option to Move Up / Down etc.
Bookmarks work fine as expected. No other widget like Status Updates, Forums, Members are shown
'My Page' is also unable to load any of the widget.
Upon doing F12 and viewing browser console it says:
Unable to Load data and Malformed json returned by processWidget call.
System.out log says:
Failed to generate process widget json. Unexpected character < on line1, column 1

debug plugin using plugin registration tool CRM 2013

I have install profiler in one of my plugin step, which will executed on create of record.
Once i complete this, it generate a errorlog. I have copied that text and created a errorlog.txt. It looks like below :
|7V3rkqM4ln4VR/6Y2I0uGzDGl2xXTuR1OmeqKnMys3on+k+HANnJFAY34KrK3tiIfYJ9i32H+d9vsk+yEjcD5iJ8AYxPdUd3gQVIOtI53znfkTT98/eF3vmKLVszjfdnQo8/62BDMVXNmL8/...
When i upload that file, it gives me below error.
Unhandled Exception: System.ArgumentException: Unable to parse the OrganizationServiceFault.
Parameter name: serializedReport
at PluginProfiler.Library.ProfilerUtility.ExtractReport(String serializedReport)
at PluginProfiler.Library.ProfilerUtility.DeserializeProfilerReport(String assemblyFilePath, String logFilePath, Boolean isCrmDataStream)
at PluginProfiler.Library.ProfilerExecutionUtility.RetrieveReport(String logFilePath, Boolean isCrmDataStream)
at Microsoft.Crm.Tools.PluginRegistration.CommonControls.Helper.ParseReportOrShowError(Window window, FileBrowserView profilePathControl, Boolean requireReportParse, ProfilerPluginReport& report)
Inner Exception: System.InvalidOperationException: File does not contain a valid serialized OrganizationServiceFault.
at PluginProfiler.Library.ProfilerUtility.ConvertFaultToStream(String serializedFault)
at PluginProfiler.Library.ProfilerUtility.ExtractReport(String serializedReport)
I have already checked this link Debug CRM 2013 Using Plugin Profiler error : , but its not working.
This will happen, if you download the wrong log file and feed into PRT for debugging.
Correct log file:
Basically after installing profiler & the plugin step is profiled, once repro step is done in CRM, when trying to download the log file the prompt should read "Business Process error" and it should be encrypted & machine readable like below:
Download the details and load with Plug-in Profiler.
|7R1dc+I48q9QPGzdPRgbDMFhCVuzk8wttTsDFTJXW/tyJcttoosteWU5CfvrV7IN4cMBw0wM0ZIHgmS11OputVr.......
Wrong log file: (your case)
But not human readable like below:
System.Security.SecurityException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #D42EB3A1Detail:.......

What are possible reasons my SSRS report is throwing this error in the "Report Manager" view?

My report was working just fine a few days ago, and i don't recall changing anything..
But I'm now getting this error when I run the report in the "Report Manager" view.
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand)
For more information about this error navigate to the report server on the local server machine, or enable remote errors
EDIT:
Ok so I did try the SPROC in SSMS like so:
exec prc_RPT_Quota_Info 17221
and it returns a proper result:
SurveyNumber ID HoursRemaining FieldHours FEDSurveyName FieldEndDate FieldBeginDate SurveyStatusName ProjectName ProjectManager ClientName
17221 16226 -2195.75 NULL j41881 - Burial Preferences Survey - States 2012-09-10 06:00:00.000 NULL Complete 41881 Gibbs & Soell - Burial Preferences Survey Peter Gallagher BCC Public Affairs & Policy
any tips
Plainly, Dataset1's query isn't working. Firstly, check that the Stored Procedure radio button is selected in the Dataset Properties.
Running SQL Profiler and seeing what SQL is hitting the server might help.
Given that you have copied the query into SQL Server Management Studio and it works, it sounds like a permissions issue - that is, running it in SSMS under your account works, but it isn't working when the Reorting Services server runs it under its account.
Check the permissions of the Stored Procedure to see if the SSRS server account has the right permissions to execute the stored proc.

Error hosting Silverlight application page with WCF service

I am currently developing a Silverlight application with WCF service. The process flow of my project is as follows.
Silverlight page -> Service1.svc -> SQL Server 2008 and back
What my Silverligth page does is when a user clicks a button it calls a service reference (Service.svc). What the service is doing basically is to query a SQL database (SQL server 2008) and return the query back to the service and in turn the service returns the result back to the Silverlight page where it will be displayed.
When I am debugging and running the webpage from the visual Studio 2010 express all the things go according to plan i.e. when the user clicks the button the data that were acquired from the database are displayed.
But when I try to publish this and run it on Apache server or IIS I am getting an error when clicking the button. The web page is displayed correctly even from another internally connected PC, but the problem occurs when I press the button.
An error message is displayed as shown below:
An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at SilverlightApplication11.ServiceReference1.DoWorkCompletedEventArgs.get_Result()
at SilverlightApplication11.About.client_DoWorkCompleted(Object sender, DoWorkCompletedEventArgs e)
at SilverlightApplication11.ServiceReference1.Service1Client.OnDoWorkCompleted(Object state)
-------------------------------->
I have abosolutley no idea on how to solve this. I am very new to this whole stuff please help I been stuck in this about a week now.
Any snippets of code you guys would like please comment so I can post it here.
Thanks in advance =)
The service call you're making has an equivalent event to tap into. Your handler will be called when the operation completes or fails. The event args passed to your handler will contain information about your error. Keep digging into inner exception until something makes sense.
Also, your silverlight's App.xaml.cs has the ability to do something when an exception is thrown. There's an event called UnhandledException you can tap into. From there, you can output more information for yourself about the InnerException. Sometimes the first exception is not helpful, but there will be an InnerException in the Exception that will have more detail.

Resources