unable to refresh data fields in ssrs report - reporting-services

i am trying to update a report. i have stored procedure in my database for getting the fields for data set.i updated the stored procedure for new data fields, and the stored procedure is working properly. but when i try to refresh the fields in the data set it shows the error "Could not update a list of fields for the query. Verify that you can connect to the data source and the query syntax is correct."
i am using a shared data source. and connection to the data source is working. it was worked yesterday but now i am not able to refresh data fields.
please help me
thanks in advance

I solved this problem.
I login to my system using different account. That's why my access credentials are different.i solved this problem by changing my account.
their is one more chance to occur this problem. that is when our credentials to the data source is not correct at that time also we got the same error.

Related

Permissions Error querying ReportServer

I have query in a stored procedure in my database which does
SELECT [Name]
FROM ReportServer.dbo.Catalog
This works fine when I log onto my PC and SSMS using Windows Authentication.
This stored procedure is used in a data set called 'Reports' in a Report.
However, when I launch a browser and navigate to
http://localhost/reports/browse/
and select that report, I get the following error shown and logged:
e ERROR: An exception has occurred in data set 'Reports'. Details: Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'DOMAIN\user.name' are insufficient for performing this operation.
at Microsoft.ReportingServices.Library.RSServiceDataProvider.CheckAccess...
where DOMAIN\user.name is my login mentioned above.
All other reports run fine when browsed for this way.
I've tried searching for this error, and despite there being dozens of 'solutions' proposed for this error message, none of them relate to this scenario.
Note that SSMS shows that DOMAIN\user.name is the owner of the ReportServer database.
Can anyone help, please?
Have you tried giving the DOMAIN\user.name the RSExecRole membership for the ReportServer database?
If you drill into the Security folder for your ReportServer database in SSMS and right-click on your DOMAIN\user.name and select Properties, you should see a Membership tab. That is where you will find the checkbox for RSExecRole.
Note: You will probably have to restart your SQL Server after making this change.

SSIS: Unable to retrieve column information from the data source.

I know there is similar question, but it didn`t helped me.
When I execute a package data flow task fails with the error:
"Unable to retrieve column information from the data source. Make sure your target table in the database is available."
I refreshed the source component, the destination components also. The table do exist in database. I tried with setting some parameters like "Always Use Default Code Page" to true but didn`t helped.
Connections are also ok.
Any idea?
Sounds like a permissions issue. Try, running Visual Studio as administrator or if that doesn't work, make sure your Windows Account has access to the data you require in SQL Server.

SSRS subscription with Embedded datasource

I made a SSRS report using the embedded data source and its working fine.
Now I want to create a subscription for my report but getting an error: "subscription cannot be created because the credentials used to run the report are not stored" However I stored connection string in the data source.
I don't know where I am missing, any kind of help would be highly appreciated.

SSRS showing wrong data after deploying report

I am having this problem where the data being shown in report is different when I deploy it on server. So let's say if I am viewing report by pressing F5 (to debug) or by clicking on "Preview" button on the report in BI Studio the data shown is correct. But when I deploy the same report and when I run it from server such as http://myserver/reports then data shown is incorrect/missing.
For e.g. in some cases it is not showing data for a particular field and there are some number fields which are showing wrong data. I have cleaned the solution, deleted data cache files, rebuilt and deployed like 100 times but no luck.
When I deploy it shows some warning (which I guess I can ignore) but no errors.
I have checked the database by running queries and stored procedures directly and they all return correct data.
How do I fix this issue?
I went to report server and looked at the XML of one of the data set which was creating problem and found out that the new FIELD I have added is not there. Then I tried to deploy that data set and it said Overwrite Dataset property is set to False and that's why it was not deploying and I missed it in messages when it deploys a solution. So I simply set the property to True, deployed it and viola problem is solved.

SSRS data source connection error

I've just updates a working report where I had to change the location of the database, it should work fine as I've changed it everywhere it needs to be changed I'm sure but I get this when I try run it
The report server cannot process the report. The data source connection information has been deleted. (rsInvalidDataSourceReference)
I've check the data source and it is correct so what could it be?
Thanks.
Fixed it.
The data source was not set to the right value. After changing it (inside the Report properties) everything worked fine.