-
An error has occurred during report processing. (rsProcessingAborted)
-
The execution failed for the shared data set 'DataSet1'. (rsDataSetExecutionError)
- Cannot create a connection to data source ' Data source for shared dataset'. (rsErrorOpeningConnection)
Hello, the above error message I get on the published report, but everything works fine when I do a preview in Visual Studio.
How can I see exactely what is wrong?
Yes, I am using windows credentials.
Connection to the shared data source
Catalog="STIHL FI"</ConnectString> <UseOriginalConnectString>False</UseOriginalConnectString> <OriginalConnectStringExpressionBased>False</OriginalConnectStringExpressionBased> <CredentialRetrieval>Integrated</CredentialRetrieval> <Enabled>True</Enabled> </DataSourceDefinition>
Are you sure that you deployed the reports on same server where you also have the database being queried?
This sort of issue can also happen due to Double-hop issue. In other is SC00SRVERP501R1 server hosting both SSRS reports and database or is it different?
Aaah, no sorry my mistake. The database being queried is on another server, but they are all located in the same local network.Credential you used for database connection is a windows credential or sql login?
Cool I anticipated that: Now can you use SQL Authentication to connect instead of Windows Authentication and post the result back here
New connection
- <DataSourceDefinition> <Extension>SQL</Extension> <ConnectString>Data Source=SC00SRVERP501R1;InitialCatalog="STIHL FI"</ConnectString> <UseOriginalConnectString>False</UseOriginalConnectString> <OriginalConnectStringExpressionBased>False</OriginalConnectStringExpressionBased> <CredentialRetrieval>Store</CredentialRetrieval> <WindowsCredentials>False</WindowsCredentials> <ImpersonateUser>False</ImpersonateUser> <UserName>zscx1org01</UserName> <Enabled>True</Enabled>
</DataSourceDefinition>
Same arror message as Before I am afraid.
-
An
error has occurred during report processing. (rsProcessingAborted)
-
The
execution failed for the shared data set 'DataSet1'.
(rsDataSetExecutionError)
-
Cannot
create a connection to data source ' Data source for shared dataset'.
(rsErrorOpeningConnection)
-
For
more information about this error navigate to the report server on the local
server machine, or enable remote errors
-
For
-
Cannot
-
The
Sorry but the code you posted says username as zscx1org01. I dont think its a windows login. Also value is False against WindowsCredentials in XML
Also Integrated security will work only if Impersonation and delegation is set
see
For testing purpose, can you create/ use SQL Server account (Not Windows/ AD account), such as sa to connect to the database that you are trying to query. The account you specified appears to Windows which you cannot use.
Hi SPEHE,
Your issue can be caused by the credential setting isn't correct. Please click the shared datasource on the report manager and set the windowns credential as below to have a check:
After enter the Username and password and click the "Test Connection" button to test if the connection will successfully, remember to check the "Use as Windows credentials when connecting to the data source" option.
If the above didn't help, you can also choose the "Windowns Integrated security" to have a test.
If you issue still exists, please try to provide more details error message in the log file to help us better analysis about the issue, the path like :
C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
Any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click here.
Thank you for your interest. When I follow your first suggestion, the message "Connection created successfully" but after clicking 'Apply' and running the report again I get exactely the same error....
When I use the "Use windows integrated security", I get the error message "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."