Showing posts with label source. Show all posts
Showing posts with label source. Show all posts

Thursday, March 22, 2012

Cannot deploy data source DataSource to the server because it already exists and OverwriteDataSo

When I deploy the reports I get the following warning

Cannot deploy data source DataSource1 to the server because it already exists and OverwriteDataSources is not specified

Is there any way of specifying Overwrite data source.

Any suggestion is highly appreciated.

Its in the properties of the report project...|||Thanks I got that.

Cannot Deploy Cube to Server

Hi,

I have created a new Cube where the data source itself is not on a SQL Server (DB2 in my case). Now if I try to deploy my Cube it brings an error messages:

(Translated from German)

System error: Login failed: Unknown user or bad password

I could break down the problem until the point that I assume it has to do with the fact that during the deployment process the BI Studio tries to use the same account defined in my data source to access the non SQL Data source as well as the login for the SQL Server 2005 database to store the analysis data.

How can I change the deployment process so it will use one account for the source data and another one as a login for the analysis database?

Thanks.

Ertan

I would guess that connection is attempted under your Analysis Sever service account.

Check if that has sufficient privileges.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||Where do I have to set or check this?|||

To see the account your Analysis Server is running you can use SQL Server Configuration Manager application installed SQL Installation->Configuration and Tools.

See what user Analysis Server is running under and try connecting to your Oracle database under it's credentials.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||Also, what is the impersonation account specified for your data source? You can set this either to Service Account or a specified user account - this would enable you to specify a user account to connect to the underlying data source (giving this account the appropriate permissions) rather than giving these permissions to the Analysis Services service account.|||

Actually let me correct myself here.

Connecting to Oracle you should check:

First. The account under which your data source connection is impersonated should have sufficient privileges to connect Oracle machine. Deepened on the way you specified data source can be impersonated under service account or under specific user credentials you specified as part of your data source.

Second. When connecting to Oracle machine, you should specify correct user name and password as part of your connection string.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Cannot Deploy Cube to Server

Hi,

I have created a new Cube where the data source itself is not on a SQL Server (DB2 in my case). Now if I try to deploy my Cube it brings an error messages:

(Translated from German)

System error: Login failed: Unknown user or bad password

I could break down the problem until the point that I assume it has to do with the fact that during the deployment process the BI Studio tries to use the same account defined in my data source to access the non SQL Data source as well as the login for the SQL Server 2005 database to store the analysis data.

How can I change the deployment process so it will use one account for the source data and another one as a login for the analysis database?

Thanks.

Ertan

I would guess that connection is attempted under your Analysis Sever service account.

Check if that has sufficient privileges.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||Where do I have to set or check this?|||

To see the account your Analysis Server is running you can use SQL Server Configuration Manager application installed SQL Installation->Configuration and Tools.

See what user Analysis Server is running under and try connecting to your Oracle database under it's credentials.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||Also, what is the impersonation account specified for your data source? You can set this either to Service Account or a specified user account - this would enable you to specify a user account to connect to the underlying data source (giving this account the appropriate permissions) rather than giving these permissions to the Analysis Services service account.|||

Actually let me correct myself here.

Connecting to Oracle you should check:

First. The account under which your data source connection is impersonated should have sufficient privileges to connect Oracle machine. Deepened on the way you specified data source can be impersonated under service account or under specific user credentials you specified as part of your data source.

Second. When connecting to Oracle machine, you should specify correct user name and password as part of your connection string.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Cannot Deploy Cube to Server

Hi,

I have created a new Cube where the data source itself is not on a SQL Server (DB2 in my case). Now if I try to deploy my Cube it brings an error messages:

(Translated from German)

System error: Login failed: Unknown user or bad password

I could break down the problem until the point that I assume it has to do with the fact that during the deployment process the BI Studio tries to use the same account defined in my data source to access the non SQL Data source as well as the login for the SQL Server 2005 database to store the analysis data.

How can I change the deployment process so it will use one account for the source data and another one as a login for the analysis database?

Thanks.

Ertan

I would guess that connection is attempted under your Analysis Sever service account.

Check if that has sufficient privileges.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||Where do I have to set or check this?|||

To see the account your Analysis Server is running you can use SQL Server Configuration Manager application installed SQL Installation->Configuration and Tools.

See what user Analysis Server is running under and try connecting to your Oracle database under it's credentials.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||Also, what is the impersonation account specified for your data source? You can set this either to Service Account or a specified user account - this would enable you to specify a user account to connect to the underlying data source (giving this account the appropriate permissions) rather than giving these permissions to the Analysis Services service account.|||

Actually let me correct myself here.

Connecting to Oracle you should check:

First. The account under which your data source connection is impersonated should have sufficient privileges to connect Oracle machine. Deepened on the way you specified data source can be impersonated under service account or under specific user credentials you specified as part of your data source.

Second. When connecting to Oracle machine, you should specify correct user name and password as part of your connection string.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Tuesday, March 20, 2012

Cannot create subscriptions from Management Studio

I cannot create any subscriptions from Management Studio.
Reports have shared Data Source with stored credentials
SQL Agent is up and running
In surface area configuration "Scheduling and delivery" for SSRS are enabled
SSRS Execution account has been set up
E-mail settings are fine
I'm logged in as Admin, able to everything, but...
When I right-click on report/subscriptions folder, both "New subscription"
and "New data driven subscription" are DISABLED.
What's wrong? That's driving me crazy!
DmitryHello Dmitry,
I would like to know, when you try to use the Report Manager Via web
interface,
If you try to use the Report Manager via web and create the subscription,
what's the result?
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:sOpkHyeGIHA.4268@.TK2MSFTNGHUB02.phx.gbl...
> Hello Dmitry,
> I would like to know, when you try to use the Report Manager Via web
> interface,
> If you try to use the Report Manager via web and create the subscription,
> what's the result?
I am using custom (forms) security and the admin can only log in through
Management Studio. For security purposes (this is internet-faced
application) no separate login pages for SSRS exist.
Regular users (authenticated and authorized) can see the reports inside web
application via ReportViewer control, which is getting the instance of
IReportServerCredentials.
Regards,
Dmitry|||Hello Dmitry,
Well, since you are using the form authentication, the management studio
may not connect to the reporting services correctly.
I would like to know whether the admin account you use have the proper
permission of reporting services.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:bIg%23C9rGIHA.4200@.TK2MSFTNGHUB02.phx.gbl...
> Hello Dmitry,
> Well, since you are using the form authentication, the management studio
> may not connect to the reporting services correctly.
> I would like to know whether the admin account you use have the proper
> permission of reporting services.
Yes, the admin is in any possible role. I already mentioned that in my
initial message. I'm able to do everything that's not subscriptions related.
Subscription-related menu items are simply disabled and I need to know why.
Dmitry.|||Hello Dmitry,
The admin you use is a domain account or a form authentication account?
Have you checked what's the role of this account on the reporting services?
Is it a System admin ?
Also, for the report, does it have the Manage all subscriptions permission?
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:2rG$mH3GIHA.540@.TK2MSFTNGHUB02.phx.gbl...
> Hello Dmitry,
> The admin you use is a domain account or a form authentication account?
There's no such account technically. Admin is authenticated by
username/password inside forms security extension and after that it is given
unlimited access in any CheckAccess method...
> Have you checked what's the role of this account on the reporting
> services?
I answered this question already:
System User
System Administrator
Browser
Content Manager
Publisher
Report Builder
> Is it a System admin ?
Yes.
> Also, for the report, does it have the Manage all subscriptions
> permission?
Through Content Manager role, yes
As a matter of fact I have just installed the second instance of RS with
standard security and all the defaults. And I observe the same damn thing:
subscription related menu items are disabled in Management studio, but I can
create subscriptions using the same Windows credentials in the browser.
Which tells me the original issue may be not related to my custom security
extension at all.
Regards,
Dmitry|||Hello Dmitry,
Could you please let me know the config file content?
rsreportserver.config and RSWebApplication.config under the ReportManager
and Reporserver folder is appreicated.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:p$%23GYM5GIHA.5176@.TK2MSFTNGHUB02.phx.gbl...
> Hello Dmitry,
> Could you please let me know the config file content?
> rsreportserver.config and RSWebApplication.config under the ReportManager
> and Reporserver folder is appreicated.
E-mail delivery of those files failed. Please provide valid e-mail address.
The following message to <weilu@.online.microsoft.com> was undeliverable.
The reason for the problem:
5.1.2 - Bad destination host 'DNS Hard Error looking up online.microsoft.com
(MX): NXDomain'|||Hello Dmitry,
Please remove the ONLINE in my display email.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hello Dmitry,
I get your email.
I would like to suggest you check the web services account you use.
Could you please change it to the network services?
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:7mWE3N4HIHA.7444@.TK2MSFTNGHUB02.phx.gbl...
> Hello Dmitry,
> I get your email.
> I would like to suggest you check the web services account you use.
> Could you please change it to the network services?
Please advise WHERE EXACTLY this change to be made.
D.|||Hello Dmitry,
There is an element in the reportserver.config file:
<WebServiceAccount>NT Authority\NetworkService</WebServiceAccount>
Please modify it like this.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:R78DbCCIIHA.7444@.TK2MSFTNGHUB02.phx.gbl...
> Hello Dmitry,
> There is an element in the reportserver.config file:
> <WebServiceAccount>NT Authority\NetworkService</WebServiceAccount>
> Please modify it like this.
It is configured to be running as MYPCNAME\ASPNET
If I modify "like this" I'm getting the following message while trying to
navigate to any folder in Management Studio:
TITLE: Microsoft SQL Server Management Studio
--
Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)
--
ADDITIONAL INFORMATION:
The Report Server Web Service is unable to access secure information in the
report server. Please verify that the WebServiceAccount is specified
correctly in the report server config file. (rsAccessDeniedToSecureData)
(Report Services SOAP Proxy Source)
--
The Report Server Web Service is unable to access secure information in the
report server. Please verify that the WebServiceAccount is specified
correctly in the report server config file. (rsAccessDeniedToSecureData)
(Microsoft.ReportingServices.Diagnostics)
D.|||Hello Dmitry,
I am performing some test on my side. I appreciate your patience.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hello Dima,
I would like to know whether you have applied the latest service pack of
sql server and have you stored the credential for the report.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:K1afiFOLIHA.6908@.TK2MSFTNGHUB02.phx.gbl...
> Hello Dima,
> I would like to know whether you have applied the latest service pack of
> sql server
It is 9.00.3054.00
> and have you stored the credential for the report.
There is no such thing as "stored credential for the report"
If you mean "stored credentials for the DATA SOURCE", yes that's the case.
Dmitry|||Hello Dmitry,
Could you lease send me an email and that I may involve other resources?
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:j33I7UmMIHA.4380@.TK2MSFTNGHUB02.phx.gbl...
> Hello Dmitry,
> Could you lease send me an email and that I may involve other resources?
Wei,
I sent you the e-mail a week ago. Where are those "other resourses"?
D.|||Hello,
My colleague is Out of Office. Once he is back, I will escalate this issue.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.

Monday, March 19, 2012

Cannot create models with data source views using the ReportingService2005 web service

Question: Using the ReportingService2005 web service, how do I create a report model with a "data source view"?

Background: We are planning on shipping SQL Server 2005 (Work Group Edition) with our Enterprise application to over 30 countries. We hope to leverage the functionality of Reporting Services from our application.

We will be referencing the ReportingService2005 web service for configuration and installation of our application reporting environment. We DO NOT have access to customer machines since this is a "shrink-wrap" application. Furthermore, the customer should NOT be required to use the Business Intellegence Studio to configure the application.

Problem: We are able to create shared data sources and reports without any problems using the ReportingService2005 web service. Furthermore, we are able to generate report models based on the share data sources without a problem. However, we are unable to generate report models with "Data Source Views" using the web service. I have tried to use the CreateModel method but when I examine the data model in Reporting Services, there is an an error stating: " The shared data source reference is no longer valid".

When you say, "I examine the data model in Reporting Services", do you mean that you download the report model file and try to open it as part of a Report Model project inside BI Development Studio?|||

No, I mean that I surf into the Reporting Services website, click on the newly created model, and then click on the link labled "Data Sources". It is there that I receive the message "The shared data source reference is no longer valid."

I am then forced to browse to the newly created data source and click "apply". If I don't go through this "manual" process, I received an error when I try to create a report (using Report Builder) based on the newly created model.

Thursday, March 8, 2012

Cannot create a datasource items

I'm trying to use WSS3 & RS 2005 as Integration Mode.
But i cannot create a data source item on sharepoint site library.

If i go to Central Administration > Configure Reporting Services Integration,

I can see the settings, thats mean that the Report Server is available ( i think so )
And also i can create dataources on Central Administration Web site (//servername:12500)

But from my production server web site ( //servername/ ), i cannot create those items.

I received the message

An unexpected error occurred while connecting to the report server. Verify that the report server is available and configured for SharePoint integrated mode.

Can somebody help me to fix that strange behavior.

Thanks.I check the security on the at the below level :

- IIS Site and Application Pool (For Sharepoint:80 and Sharepoint Admin Console:12500)
- Permissions on the folder (Is the same).
- The site Owner is the same on both

The communication from the Sharepoint Admin Console allow any access to RS2005.
For some reason that site have permission to see Reporting Services.

But from Sharepoint Services Portal i can not.

Thanks again.

Cannot create a connection to data source 'myservername'.

No matter how many times I redeploy my report and data sources from my
project to Report Manager, I keep getting this error when trying to run
the report from Reprt manager. It runs fine in VS 2005 though. I
don't know what else to do. I see no way to delete the report from
Report Manager in attempts to try to redeploy it from scratch either.
"An error has occurred during report processing.
Cannot create a connection to data source 'myservername'.
For more information about this error navigate to the report server on
the local server machine, or enable remote errors "In report manager on the datasource properties, credentials tab and set the
credentials to be used. Then when deploying do not overwirte the datasource
(this is the default behavior, to not overwrite the source).
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"dba123" <d_schinkel@.hotmail.com> wrote in message
news:1141683199.061931.270510@.u72g2000cwu.googlegroups.com...
> No matter how many times I redeploy my report and data sources from my
> project to Report Manager, I keep getting this error when trying to run
> the report from Reprt manager. It runs fine in VS 2005 though. I
> don't know what else to do. I see no way to delete the report from
> Report Manager in attempts to try to redeploy it from scratch either.
>
> "An error has occurred during report processing.
> Cannot create a connection to data source 'myservername'.
> For more information about this error navigate to the report server on
> the local server machine, or enable remote errors "
>

Cannot create a connection to data source 'mydatasourcename'.

No matter how many times I redeploy my report and data sources from my project to Report Manager, I keep getting this error when trying to run the report from Reprt manager. It runs fine in VS 2005 though. I don't know what else to do. I see no way to delete the report from Report Manager in attempts to try to redeploy it from scratch either.

  • An error has occurred during report processing.
  • Cannot create a connection to data source 'myservername'.
  • For more information about this error navigate to the report server on the local server machine, or enable remote errors
  • Report manager has an icon in the toolbar to toggle between list view (default view) and detail view. In the detail view, you can select a report and delete it.

    One reason why the connection could fail is that you are using Windows Integrated Security, but Kerberos is not set up for delegation.

    -- Robert

    |||I'm having the same problem. But how do I fix it without deleting my reports?|||

    If your report server and the database used to get report data are not on the same machine,

    1. Enable Kerberos protocol so that credentials can be delegated to other computers without limit.

    2. If enabling Kerberos is not an option, consider using either stored credentials or a combination of Windows Authentication and database authentication. For example, you can use Windows Authentication to connect a client to a report server, and then configure the report to use database authentication to access an external data source. For this use a specific username and password in the credentials tab of data source designer. The report server will use the specific credential to access the database server.

    Another option is to locate the report data sources on the same computer that hosts the report server.

  • Cannot create a connection to data source 'mydatasourcename'.

    No matter how many times I redeploy my report and data sources from my project to Report Manager, I keep getting this error when trying to run the report from Reprt manager. It runs fine in VS 2005 though. I don't know what else to do. I see no way to delete the report from Report Manager in attempts to try to redeploy it from scratch either.

  • An error has occurred during report processing.
  • Cannot create a connection to data source 'myservername'.
  • For more information about this error navigate to the report server on the local server machine, or enable remote errors
  • Report manager has an icon in the toolbar to toggle between list view (default view) and detail view. In the detail view, you can select a report and delete it.

    One reason why the connection could fail is that you are using Windows Integrated Security, but Kerberos is not set up for delegation.

    -- Robert

    |||I'm having the same problem. But how do I fix it without deleting my reports?|||

    If your report server and the database used to get report data are not on the same machine,

    1. Enable Kerberos protocol so that credentials can be delegated to other computers without limit.

    2. If enabling Kerberos is not an option, consider using either stored credentials or a combination of Windows Authentication and database authentication. For example, you can use Windows Authentication to connect a client to a report server, and then configure the report to use database authentication to access an external data source. For this use a specific username and password in the credentials tab of data source designer. The report server will use the specific credential to access the database server.

    Another option is to locate the report data sources on the same computer that hosts the report server.

  • Cannot create a connection to data source 'dsInvent'

    I get this error message when connecting through IE to a report. We have a
    sepererate Report Server and the database to which we are reporting from.
    When I go to the report server logged on using the same account as my
    workstation I can access the report. I have tried making it a shared data
    source with the same problem.
    The report does work if I enter my credentials and select use Integrated
    Security in Report Manager/Properties/Data Sources. Is this required and the
    only way to make it work? This would seem to be a pain cause every time a
    user changes thier password you would need to change it there as well.
    TIA,
    SteveAre you trying to connect to SQL Server 2000 database, and are you in an
    Active Directory domain?
    You should be able to
    - Create a AD usergroup with all the users that are supposed to view the
    reports
    - Add this group as a login to SQL Server, and give it Read access to the
    datasource
    - Set up your datasource in Report Manager as Windows NT Integrated Security
    This way it should pick up the user name of the user logged in on the
    machine, check the AD properties of this user, and use them against the SQL
    Server, which will give the users the data they are entitled to see in the
    database.
    Alternatively, set up your datasource using "Credentials stored securely..."
    and use a SQL Server login that have the right access rights in your SQL
    Server database.
    Kaisa
    "Steve Wofford" <IntraRELY@.yahoo.com> wrote in message
    news:%23zjMHQpBGHA.3936@.TK2MSFTNGP12.phx.gbl...
    >I get this error message when connecting through IE to a report. We have a
    >sepererate Report Server and the database to which we are reporting from.
    > When I go to the report server logged on using the same account as my
    > workstation I can access the report. I have tried making it a shared data
    > source with the same problem.
    > The report does work if I enter my credentials and select use Integrated
    > Security in Report Manager/Properties/Data Sources. Is this required and
    > the only way to make it work? This would seem to be a pain cause every
    > time a user changes thier password you would need to change it there as
    > well.
    > TIA,
    > Steve
    >|||We are using:
    Reporting Server 2005 (Seperate Server)
    Reporting Database - 2000
    Reporting Data Database - 2000 (This is where the report data will be
    pulled from)
    My account is a domain admin and all system belong to this same domain. I
    can execute the query the report uses w/in Query Analyzer and can run the
    report from VS. When I logon locally to the report server, I can run the
    report as well.
    However, when I run the report from the same sysetm I dev the report using
    VS, I cannot view the report data in IE, however the report is displayed w/o
    data. The report runs when I enter my credentials and select use Integrated
    Security in Report Manager/Properties/Data Sources.
    the problem is that I didnt think this should be the case. why isnt my
    security information persisting to the report data.
    "Kaisa M. Lindahl" <kaisaml@.hotmail.com> wrote in message
    news:emdy%2325BGHA.1092@.TK2MSFTNGP09.phx.gbl...
    > Are you trying to connect to SQL Server 2000 database, and are you in an
    > Active Directory domain?
    > You should be able to
    > - Create a AD usergroup with all the users that are supposed to view the
    > reports
    > - Add this group as a login to SQL Server, and give it Read access to the
    > datasource
    > - Set up your datasource in Report Manager as Windows NT Integrated
    > Security
    > This way it should pick up the user name of the user logged in on the
    > machine, check the AD properties of this user, and use them against the
    > SQL Server, which will give the users the data they are entitled to see in
    > the database.
    > Alternatively, set up your datasource using "Credentials stored
    > securely..." and use a SQL Server login that have the right access rights
    > in your SQL Server database.
    > Kaisa
    >
    > "Steve Wofford" <IntraRELY@.yahoo.com> wrote in message
    > news:%23zjMHQpBGHA.3936@.TK2MSFTNGP12.phx.gbl...
    >>I get this error message when connecting through IE to a report. We have a
    >>sepererate Report Server and the database to which we are reporting from.
    >> When I go to the report server logged on using the same account as my
    >> workstation I can access the report. I have tried making it a shared data
    >> source with the same problem.
    >> The report does work if I enter my credentials and select use Integrated
    >> Security in Report Manager/Properties/Data Sources. Is this required and
    >> the only way to make it work? This would seem to be a pain cause every
    >> time a user changes thier password you would need to change it there as
    >> well.
    >> TIA,
    >> Steve
    >

    Cannot create a connection to data source 'dataSource1'.

    I successfully created the a Report model and deployed it to the server. When i run the a simple report on the SQL Server where reporting Services is installed it runs fine. When I run the report from anywhere else, I get the error below. I don't have a datasource called 'dataSource1'.

    *******************************************************************

    For more information about this error navigate to the report server on the local server machine, or enable remote errors
    -
    Cannot create a connection to data source 'dataSource1'.
    -
    An error has occurred during report processing.

    *******************************************************************

    Thanks for any help!

    Most likely, you configured the data source credentials to use "Windows Integrated Security".

    If you turn on remote errors (see: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=230593&SiteID=1), you would actually see the inner exception message which is most likely about a failed logon.

    Windows Integrated Security only works if your domain has Kerberos-delegation enabled - otherwise you will need to store credentials on the report server (more details: http://msdn2.microsoft.com/en-us/library/ms160330(SQL.90).aspx)

    -- Robert

    |||

    This is what I did to solve the error (just kept Windows Integrated Security enabled):

    Changed the connection string.

    From: SQLNCLI.1;Data Source=SERVER;Initial Catalog=DATABASE;Integrated Security=True
    To: Data Source=SERVER;Initial Catalog=DATABASE;Integrated Security=True


    This solved the 'Cannot find dataSource1 datasource' error.

    |||

    My heart goes out to anyone that has to deal with this message: Cannot create a connection to data source 'dataSource1'. Hopefully, this will help fix your issue. My configuration consists of 2 servers, both Win2003, no domain, one has the production database, the other has all reporting services including the report builder. I would get the message when I hit the "Run Report" button in Report builder. The problem has to do with passing credentials from the server that launches report builder to the server that hosts the data. The datasource1 is an internal datasource so don't bother looking for it. If you look in the trace logs it's passing ANONYMOUS LOGON, which has no permissions. So, to fix first create a user with Admin privileges with the same credentials on both servers. In IIS of the Reports server, go to Directory Security, Edit, and Enable Anonymous Access, place your user in the username/password boxes. Do not check integrated Windows authentication. Go into your report manager to configure your data sources. I have 2, one for report builder and one for report execution, but doesn't matter because they are both the same. For the data source(s), enter your connection string like this: Data Source=DBSERVER;Initial Catalog=DB;Integrated Security=True
    Then click on Credentials stored securely in the report server, enter your user name and password of the same user as above. (I gave this user admin priviliges on both boxes, and added this user as a login to the SQL Server database for the database server.)
    Below the username/password there are two checkboxes: Check the "Use as Windows Credentials when Connecting to the Data source" and leave the "Impersonate" unchecked. Think of it this way, you're creating the same user all the way through, IIS uses it, then Reporting Services uses it, then your DB server uses it, and finally SQL Server (where data is stored) uses it. This way there are no credential storing/passing problems, good luck!! jwf

    |||...one more thing from above, when launching the Report builder, enter the same credentials as your special user that was created and be sure to check the "Remember Me" checkbox for good measure.

    Cannot create a connection to data source 'dataSource1'.

    I am getting this error from Report Builder
    Cannot create a connection to data source 'dataSource1'.
    Back end SQL 2000
    Credentials stored securely in the report server
    Login and password of the SQL login
    The weird thing is pointing to another db on the same server works fine
    --
    Peter
    Peter.freeborn@.halliburton.comHope you have created Report model, If not use report model to access reports
    from builder.
    If you have already created it check the datasource "test connection" in the
    report model project.
    If you are accessing directly from builder using "open report server file",
    dont do it cause it will ask for datasource which you cannt include. So
    create a model and then access.
    Amarnath
    "Peter" wrote:
    > I am getting this error from Report Builder
    > Cannot create a connection to data source 'dataSource1'.
    > Back end SQL 2000
    > Credentials stored securely in the report server
    > Login and password of the SQL login
    > The weird thing is pointing to another db on the same server works fine
    >
    > --
    > Peter
    > Peter.freeborn@.halliburton.com|||I've struck this problem, I did some digging around and it seems that this is
    a problem with kerberos security. Basically if you store the credentials in
    the report server then the report server can pass the credentials fine,
    however on a remote server it can't unless you've set up kerberos and use
    windows security.
    Thats my understanding of the problem, however the error message doesn't
    really lead you in that direction.
    HTH
    "Peter" wrote:
    > I am getting this error from Report Builder
    > Cannot create a connection to data source 'dataSource1'.
    > Back end SQL 2000
    > Credentials stored securely in the report server
    > Login and password of the SQL login
    > The weird thing is pointing to another db on the same server works fine
    >
    > --
    > Peter
    > Peter.freeborn@.halliburton.com

    Cannot create a connection to data source 'dataSource1'.

    I successfully created the a Report model and deployed it to the server. When i run the a simple report on the SQL Server where reporting Services is installed it runs fine. When I run the report from anywhere else, I get the error below. I don't have a datasource called 'dataSource1'.

    *******************************************************************

    For more information about this error navigate to the report server on the local server machine, or enable remote errors
    -
    Cannot create a connection to data source 'dataSource1'.
    -
    An error has occurred during report processing.

    *******************************************************************

    Thanks for any help!

    Most likely, you configured the data source credentials to use "Windows Integrated Security".

    If you turn on remote errors (see: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=230593&SiteID=1), you would actually see the inner exception message which is most likely about a failed logon.

    Windows Integrated Security only works if your domain has Kerberos-delegation enabled - otherwise you will need to store credentials on the report server (more details: http://msdn2.microsoft.com/en-us/library/ms160330(SQL.90).aspx)

    -- Robert

    |||

    This is what I did to solve the error (just kept Windows Integrated Security enabled):

    Changed the connection string.

    From: SQLNCLI.1;Data Source=SERVER;Initial Catalog=DATABASE;Integrated Security=True
    To: Data Source=SERVER;Initial Catalog=DATABASE;Integrated Security=True


    This solved the 'Cannot find dataSource1 datasource' error.

    |||

    My heart goes out to anyone that has to deal with this message: Cannot create a connection to data source 'dataSource1'. Hopefully, this will help fix your issue. My configuration consists of 2 servers, both Win2003, no domain, one has the production database, the other has all reporting services including the report builder. I would get the message when I hit the "Run Report" button in Report builder. The problem has to do with passing credentials from the server that launches report builder to the server that hosts the data. The datasource1 is an internal datasource so don't bother looking for it. If you look in the trace logs it's passing ANONYMOUS LOGON, which has no permissions. So, to fix first create a user with Admin privileges with the same credentials on both servers. In IIS of the Reports server, go to Directory Security, Edit, and Enable Anonymous Access, place your user in the username/password boxes. Do not check integrated Windows authentication. Go into your report manager to configure your data sources. I have 2, one for report builder and one for report execution, but doesn't matter because they are both the same. For the data source(s), enter your connection string like this: Data Source=DBSERVER;Initial Catalog=DB;Integrated Security=True
    Then click on Credentials stored securely in the report server, enter your user name and password of the same user as above. (I gave this user admin priviliges on both boxes, and added this user as a login to the SQL Server database for the database server.)
    Below the username/password there are two checkboxes: Check the "Use as Windows Credentials when Connecting to the Data source" and leave the "Impersonate" unchecked. Think of it this way, you're creating the same user all the way through, IIS uses it, then Reporting Services uses it, then your DB server uses it, and finally SQL Server (where data is stored) uses it. This way there are no credential storing/passing problems, good luck!! jwf

    |||...one more thing from above, when launching the Report builder, enter the same credentials as your special user that was created and be sure to check the "Remember Me" checkbox for good measure.

    Cannot create a connection to data source ''dataSource1''.

    I successfully created the a Report model and deployed it to the server. When i run the a simple report on the SQL Server where reporting Services is installed it runs fine. When I run the report from anywhere else, I get the error below. I don't have a datasource called 'dataSource1'.

    *******************************************************************

    For more information about this error navigate to the report server on the local server machine, or enable remote errors
    -
    Cannot create a connection to data source 'dataSource1'.
    -
    An error has occurred during report processing.

    *******************************************************************

    Thanks for any help!

    Most likely, you configured the data source credentials to use "Windows Integrated Security".

    If you turn on remote errors (see: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=230593&SiteID=1), you would actually see the inner exception message which is most likely about a failed logon.

    Windows Integrated Security only works if your domain has Kerberos-delegation enabled - otherwise you will need to store credentials on the report server (more details: http://msdn2.microsoft.com/en-us/library/ms160330(SQL.90).aspx)

    -- Robert

    |||

    This is what I did to solve the error (just kept Windows Integrated Security enabled):

    Changed the connection string.

    From: SQLNCLI.1;Data Source=SERVER;Initial Catalog=DATABASE;Integrated Security=True
    To: Data Source=SERVER;Initial Catalog=DATABASE;Integrated Security=True


    This solved the 'Cannot find dataSource1 datasource' error.

    |||

    My heart goes out to anyone that has to deal with this message: Cannot create a connection to data source 'dataSource1'. Hopefully, this will help fix your issue. My configuration consists of 2 servers, both Win2003, no domain, one has the production database, the other has all reporting services including the report builder. I would get the message when I hit the "Run Report" button in Report builder. The problem has to do with passing credentials from the server that launches report builder to the server that hosts the data. The datasource1 is an internal datasource so don't bother looking for it. If you look in the trace logs it's passing ANONYMOUS LOGON, which has no permissions. So, to fix first create a user with Admin privileges with the same credentials on both servers. In IIS of the Reports server, go to Directory Security, Edit, and Enable Anonymous Access, place your user in the username/password boxes. Do not check integrated Windows authentication. Go into your report manager to configure your data sources. I have 2, one for report builder and one for report execution, but doesn't matter because they are both the same. For the data source(s), enter your connection string like this: Data Source=DBSERVER;Initial Catalog=DB;Integrated Security=True
    Then click on Credentials stored securely in the report server, enter your user name and password of the same user as above. (I gave this user admin priviliges on both boxes, and added this user as a login to the SQL Server database for the database server.)
    Below the username/password there are two checkboxes: Check the "Use as Windows Credentials when Connecting to the Data source" and leave the "Impersonate" unchecked. Think of it this way, you're creating the same user all the way through, IIS uses it, then Reporting Services uses it, then your DB server uses it, and finally SQL Server (where data is stored) uses it. This way there are no credential storing/passing problems, good luck!! jwf

    |||...one more thing from above, when launching the Report builder, enter the same credentials as your special user that was created and be sure to check the "Remember Me" checkbox for good measure.

    Cannot create a connection to data source ''dataSource1''.

    I successfully created the a Report model and deployed it to the server. When i run the a simple report on the SQL Server where reporting Services is installed it runs fine. When I run the report from anywhere else, I get the error below. I don't have a datasource called 'dataSource1'.

    *******************************************************************

    For more information about this error navigate to the report server on the local server machine, or enable remote errors
    -
    Cannot create a connection to data source 'dataSource1'.
    -
    An error has occurred during report processing.

    *******************************************************************

    Thanks for any help!

    Most likely, you configured the data source credentials to use "Windows Integrated Security".

    If you turn on remote errors (see: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=230593&SiteID=1), you would actually see the inner exception message which is most likely about a failed logon.

    Windows Integrated Security only works if your domain has Kerberos-delegation enabled - otherwise you will need to store credentials on the report server (more details: http://msdn2.microsoft.com/en-us/library/ms160330(SQL.90).aspx)

    -- Robert

    |||

    This is what I did to solve the error (just kept Windows Integrated Security enabled):

    Changed the connection string.

    From: SQLNCLI.1;Data Source=SERVER;Initial Catalog=DATABASE;Integrated Security=True
    To: Data Source=SERVER;Initial Catalog=DATABASE;Integrated Security=True


    This solved the 'Cannot find dataSource1 datasource' error.

    |||

    My heart goes out to anyone that has to deal with this message: Cannot create a connection to data source 'dataSource1'. Hopefully, this will help fix your issue. My configuration consists of 2 servers, both Win2003, no domain, one has the production database, the other has all reporting services including the report builder. I would get the message when I hit the "Run Report" button in Report builder. The problem has to do with passing credentials from the server that launches report builder to the server that hosts the data. The datasource1 is an internal datasource so don't bother looking for it. If you look in the trace logs it's passing ANONYMOUS LOGON, which has no permissions. So, to fix first create a user with Admin privileges with the same credentials on both servers. In IIS of the Reports server, go to Directory Security, Edit, and Enable Anonymous Access, place your user in the username/password boxes. Do not check integrated Windows authentication. Go into your report manager to configure your data sources. I have 2, one for report builder and one for report execution, but doesn't matter because they are both the same. For the data source(s), enter your connection string like this: Data Source=DBSERVER;Initial Catalog=DB;Integrated Security=True
    Then click on Credentials stored securely in the report server, enter your user name and password of the same user as above. (I gave this user admin priviliges on both boxes, and added this user as a login to the SQL Server database for the database server.)
    Below the username/password there are two checkboxes: Check the "Use as Windows Credentials when Connecting to the Data source" and leave the "Impersonate" unchecked. Think of it this way, you're creating the same user all the way through, IIS uses it, then Reporting Services uses it, then your DB server uses it, and finally SQL Server (where data is stored) uses it. This way there are no credential storing/passing problems, good luck!! jwf

    |||...one more thing from above, when launching the Report builder, enter the same credentials as your special user that was created and be sure to check the "Remember Me" checkbox for good measure.

    Cannot create a connection to data source !!!!!!!

    I cannot get this error resolve either for myself or any users, and I'm actually part of the Admin group! Furthermore, a user with whom I'm tring allow to view this report keeps getting prompted for their windows username and password. I thought that since this datasource was set to Windows Authentification that it would just pass it through?

    I'm pulling my hair out at this point:

    Screen Shots:

    http://www.webfound.net/datasource_connection.jpg

    http://www.webfound.net/datasource_connection2.jpg

    http://www.webfound.net/datasource_connection3.jpg


    Also As far as I know, I've given sufficient permissions to the right logins and right users on my SQL Databases and related stored procs that the datasets (not datasource) run

  • An error has occurred during report processing.
  • Cannot create a connection to data source 'datasourcename'.
  • For more information about this error navigate to the report server on the local server machine, or enable remote errors
  • no it usues whatever account iis is running under.

    IUSR_something I think.

    if you want use integrated auth you need to use impersonation.

    |||ok....then how do incorporate personalization in Reporting Services! I don't see anything on that...I think you're referring to .NET, I'm talking about Reporting Services 2005|||I posted this in the wrong forum by accident..I'll move it to Reporting Services..sorry
  • Cannot create a connection to data source !!!! SSRS 2005

    I cannot get this error resolve either for myself or any users, and I'm actually part of the Admin group! Furthermore, a user with whom I'm tring allow to view this report keeps getting prompted for their windows username and password. I thought that since this datasource was set to Windows Authentification that it would just pass it through?

    I'm pulling my hair out at this point:

    Screen Shots:

    http://www.webfound.net/datasource_connection.jpg

    http://www.webfound.net/datasource_connection2.jpg

    http://www.webfound.net/datasource_connection3.jpg


    Also As far as I know, I've given sufficient permissions to the right logins and right users on my SQL Databases and related stored procs that the datasets (not datasource) run

  • An error has occurred during report processing.
  • Cannot create a connection to data source 'datasourcename'.
  • For more information about this error navigate to the report server on the local server machine, or enable remote errors
  • Are the client, RS, and SQL server all on different machines? If so, then you are probably hitting the double-hop problem. This is a limitation of integrated security in environments which don't support kerberos.

    Tudor talks about it a bit in this blog entry:

    http://blogs.msdn.com/tudortr/archive/2005/11/03/488731.aspx

    You might want to check that out and see if the problem described there is what you are experiencing.

    |||

    No, I have gotten this to work fine for my test server which is the server running both RS and SQL Server 2005. RS and SQL Server 2005 are on the same box. The server I'm trying to connect to now is a different server's DB which is where the datasource is pointing to. So there is no double-hop issue here at least!

    So in other words if I change the datasets to use the datasources that piont to ServerA below, my report runs for me ok. If I change the datasets in my report to talk to ServerB, I get the error immediately. The datasets are running stored procs and referencing the data sources for the DB connection in the dataset properties. I am using 3 datasets in my report and around 4 datasources are in my project that are uploaded automatically when I deploy my report to the report serve (TestServerA)

    TestServerA - Has RS and SQL Server 2005. When using Datasources that point to this server's stored procs, it works for me at least the other users still have issues though where it's prompting them for a windows username and password

    ServerB - a production server running SQL Server 2000 (doesn't have Reporting Services on it, we're just runnign stored procs against it for the datasets) in which the dataset (on TestServerA) is trying to run a stored proc off of ServerB. It stil uses ServerA for Reporting services part...whcih is where I'm getting the error from my own client when trying to run the report from the client in Report Manager

    |||Ok, now I tried logging on directly to my TestServerA and ran the report from IE on that server (report Manager) and it works fine. Ok, so how am I getting a double hop issue if I have everything installed on the same server? I don't think hopping is the issue here still!|||scratch my last response...it was working only because my datasets were pointing to the datasources that were pointing to my TestServerA. Once I changed it back to the point where I got the error (for this post) whcih was to chagne teh datasets to point to the datasources that point to ServerB, I still get the error, even when running the report from TestServerA's Report Manager....|||

    Here's a diagram to show you what's going on. Keep in mind, if the datasets aren't using datasources that point to ServerB and are using datasources that point to TestServerA, all works fine...it's just when my report is using datasources trying to talk to ServerB.

    http://www.webfound.net/diagram.jpg

    |||

    Can you check the errors in the report server log files - they are under /Reporting Services/LogFiles/ReportServer*.log

    If you see an error message coming from your data sources server that looks like - login failed for user (null), then it's likely that you are experiencing the Integrated security double-hop issue.

    If that's the case, you can store credentials for the data sources in the report server, or enable Kerberos delegation as shown below:

    http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/tkerbdel.mspx

    Thanks,

    Tudor

    |||

    In your second setup (ServerB) you are describing what I would expect to be the symptoms of the double hop problem. You have 3 machines, A->B->C. A is the client machine, B is the machine with reporting services, and C is the machine that has the data you are reporting against. You are trying to pass credentials from machine A all the way to machine C. Unless you have set up your environment to allow kerberos delegation (see the links that I pasted above), then this will fail. If you don't want to (or cannot) enable delegation, then a workaround for you is to store credentials for accessing the datasources in the catalog.

    In your 1st scenario (TestServerA), I am not certain why they are getting prompted for credentials. I suspect it is because your test users don't have access to your machine, are they able to connect when providing their credentials?

    |||my users do have access to the SQL Server databases so I don't know why they would get prompted still. No, when they type in their username and password, it doesn't take.|||

    ,I have missed the same problem once ,the problem is that ur datasource was set ot windows Authentification,(if u pay more attention to ur report'Connection string,u could find the bugs),but ur database has no right for this kind of user,

    u could follow this steps to add a user or a group which the user belong to :

    1.login in database

    2.extend the security node

    3.extend the logins node

    3.right-click logins node,click new login, and then add the user or the group which the user belong to to Database'logins.

    And there is a skill,if ur user is a member of administrator,and u assign permissions to the other user,by default,this kind of user only is a menber of user,dont have the role of administrator,so if u use the windows Authentification to build connection string for ur report,the user who just have a role of user don't have logins to database,u need to follow the steps above to add the user or the group to Database'logins.

    |||Samuel, they definitely already have logins to the database, right down to the permissions of the stored procs being called by the datasets so this is covered! They have read rights as well as datawriter (which isn't really needed). This is why I posted, I have done almost everything.|||

    I believe you are running into a couple of problems which are not necessarily related.

    When you are prompted for credentials in IE with the standard credentials dialog, it is because IIS did not accept the user's token when IE presented it in response to a 401. This usually means that the user is not a valid user on the target machine. Check your IIS logs for 401s.

    The datasource problems are because the user we are trying to access the database with is not allowed access. This can be for any number of reasons, the double-hop issue being a pretty common one when people are trying to pass through Windows credentials.

    |||I have a similar problem to FlavorFlave. Our setup:

    Machine A : client
    Machine B: SSRS 2005
    Machine C: SSAS 2000

    Running reports from Machine B works, running from from A does not - getting the exact error he specified. Logged on to machine A with a limited user account, onto B/C with full admin rights.

    Enabling delegation is not going to be possible on our network. John, i see you say a workaround is to "store credentials for accessing the datasources in the catalog". Not sure what you meant by this.. or where to do this?|||never mind.. ive figured it out :)

    stored the credentials securely within the datasource on the report server itself. works now... though its slower to initialise than when the security is integrated.
    |||talwar, can you explain the steps you took in detail so hopefully I can do the same...thanks

  • Cannot create a connection to data source !!!! SSRS 2005

    I cannot get this error resolve either for myself or any users, and I'm actually part of the Admin group! Furthermore, a user with whom I'm tring allow to view this report keeps getting prompted for their windows username and password. I thought that since this datasource was set to Windows Authentification that it would just pass it through?

    I'm pulling my hair out at this point:

    Screen Shots:

    http://www.webfound.net/datasource_connection.jpg

    http://www.webfound.net/datasource_connection2.jpg

    http://www.webfound.net/datasource_connection3.jpg


    Also As far as I know, I've given sufficient permissions to the right logins and right users on my SQL Databases and related stored procs that the datasets (not datasource) run

  • An error has occurred during report processing.
  • Cannot create a connection to data source 'datasourcename'.
  • For more information about this error navigate to the report server on the local server machine, or enable remote errors
  • Are the client, RS, and SQL server all on different machines? If so, then you are probably hitting the double-hop problem. This is a limitation of integrated security in environments which don't support kerberos.

    Tudor talks about it a bit in this blog entry:

    http://blogs.msdn.com/tudortr/archive/2005/11/03/488731.aspx

    You might want to check that out and see if the problem described there is what you are experiencing.

    |||

    No, I have gotten this to work fine for my test server which is the server running both RS and SQL Server 2005. RS and SQL Server 2005 are on the same box. The server I'm trying to connect to now is a different server's DB which is where the datasource is pointing to. So there is no double-hop issue here at least!

    So in other words if I change the datasets to use the datasources that piont to ServerA below, my report runs for me ok. If I change the datasets in my report to talk to ServerB, I get the error immediately. The datasets are running stored procs and referencing the data sources for the DB connection in the dataset properties. I am using 3 datasets in my report and around 4 datasources are in my project that are uploaded automatically when I deploy my report to the report serve (TestServerA)

    TestServerA - Has RS and SQL Server 2005. When using Datasources that point to this server's stored procs, it works for me at least the other users still have issues though where it's prompting them for a windows username and password

    ServerB - a production server running SQL Server 2000 (doesn't have Reporting Services on it, we're just runnign stored procs against it for the datasets) in which the dataset (on TestServerA) is trying to run a stored proc off of ServerB. It stil uses ServerA for Reporting services part...whcih is where I'm getting the error from my own client when trying to run the report from the client in Report Manager

    |||Ok, now I tried logging on directly to my TestServerA and ran the report from IE on that server (report Manager) and it works fine. Ok, so how am I getting a double hop issue if I have everything installed on the same server? I don't think hopping is the issue here still!|||scratch my last response...it was working only because my datasets were pointing to the datasources that were pointing to my TestServerA. Once I changed it back to the point where I got the error (for this post) whcih was to chagne teh datasets to point to the datasources that point to ServerB, I still get the error, even when running the report from TestServerA's Report Manager....|||

    Here's a diagram to show you what's going on. Keep in mind, if the datasets aren't using datasources that point to ServerB and are using datasources that point to TestServerA, all works fine...it's just when my report is using datasources trying to talk to ServerB.

    http://www.webfound.net/diagram.jpg

    |||

    Can you check the errors in the report server log files - they are under /Reporting Services/LogFiles/ReportServer*.log

    If you see an error message coming from your data sources server that looks like - login failed for user (null), then it's likely that you are experiencing the Integrated security double-hop issue.

    If that's the case, you can store credentials for the data sources in the report server, or enable Kerberos delegation as shown below:

    http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/tkerbdel.mspx

    Thanks,

    Tudor

    |||

    In your second setup (ServerB) you are describing what I would expect to be the symptoms of the double hop problem. You have 3 machines, A->B->C. A is the client machine, B is the machine with reporting services, and C is the machine that has the data you are reporting against. You are trying to pass credentials from machine A all the way to machine C. Unless you have set up your environment to allow kerberos delegation (see the links that I pasted above), then this will fail. If you don't want to (or cannot) enable delegation, then a workaround for you is to store credentials for accessing the datasources in the catalog.

    In your 1st scenario (TestServerA), I am not certain why they are getting prompted for credentials. I suspect it is because your test users don't have access to your machine, are they able to connect when providing their credentials?

    |||my users do have access to the SQL Server databases so I don't know why they would get prompted still. No, when they type in their username and password, it doesn't take.|||

    ,I have missed the same problem once ,the problem is that ur datasource was set ot windows Authentification,(if u pay more attention to ur report'Connection string,u could find the bugs),but ur database has no right for this kind of user,

    u could follow this steps to add a user or a group which the user belong to :

    1.login in database

    2.extend the security node

    3.extend the logins node

    3.right-click logins node,click new login, and then add the user or the group which the user belong to to Database'logins.

    And there is a skill,if ur user is a member of administrator,and u assign permissions to the other user,by default,this kind of user only is a menber of user,dont have the role of administrator,so if u use the windows Authentification to build connection string for ur report,the user who just have a role of user don't have logins to database,u need to follow the steps above to add the user or the group to Database'logins.

    |||Samuel, they definitely already have logins to the database, right down to the permissions of the stored procs being called by the datasets so this is covered! They have read rights as well as datawriter (which isn't really needed). This is why I posted, I have done almost everything.|||

    I believe you are running into a couple of problems which are not necessarily related.

    When you are prompted for credentials in IE with the standard credentials dialog, it is because IIS did not accept the user's token when IE presented it in response to a 401. This usually means that the user is not a valid user on the target machine. Check your IIS logs for 401s.

    The datasource problems are because the user we are trying to access the database with is not allowed access. This can be for any number of reasons, the double-hop issue being a pretty common one when people are trying to pass through Windows credentials.

    |||I have a similar problem to FlavorFlave. Our setup:

    Machine A : client
    Machine B: SSRS 2005
    Machine C: SSAS 2000

    Running reports from Machine B works, running from from A does not - getting the exact error he specified. Logged on to machine A with a limited user account, onto B/C with full admin rights.

    Enabling delegation is not going to be possible on our network. John, i see you say a workaround is to "store credentials for accessing the datasources in the catalog". Not sure what you meant by this.. or where to do this?|||never mind.. ive figured it out :)

    stored the credentials securely within the datasource on the report server itself. works now... though its slower to initialise than when the security is integrated.
    |||talwar, can you explain the steps you took in detail so hopefully I can do the same...thanks

  • Cannot create a connection to data source !!!! SSRS 2005

    I cannot get this error resolve either for myself or any users, and I'm actually part of the Admin group! Furthermore, a user with whom I'm tring allow to view this report keeps getting prompted for their windows username and password. I thought that since this datasource was set to Windows Authentification that it would just pass it through?

    I'm pulling my hair out at this point:

    Screen Shots:

    http://www.webfound.net/datasource_connection.jpg

    http://www.webfound.net/datasource_connection2.jpg

    http://www.webfound.net/datasource_connection3.jpg


    Also As far as I know, I've given sufficient permissions to the right logins and right users on my SQL Databases and related stored procs that the datasets (not datasource) run

  • An error has occurred during report processing.

  • Cannot create a connection to data source 'datasourcename'.

  • For more information about this error navigate to the report server on the local server machine, or enable remote errors

  • Are the client, RS, and SQL server all on different machines? If so, then you are probably hitting the double-hop problem. This is a limitation of integrated security in environments which don't support kerberos.

    Tudor talks about it a bit in this blog entry:

    http://blogs.msdn.com/tudortr/archive/2005/11/03/488731.aspx

    You might want to check that out and see if the problem described there is what you are experiencing.

    |||

    No, I have gotten this to work fine for my test server which is the server running both RS and SQL Server 2005. RS and SQL Server 2005 are on the same box. The server I'm trying to connect to now is a different server's DB which is where the datasource is pointing to. So there is no double-hop issue here at least!

    So in other words if I change the datasets to use the datasources that piont to ServerA below, my report runs for me ok. If I change the datasets in my report to talk to ServerB, I get the error immediately. The datasets are running stored procs and referencing the data sources for the DB connection in the dataset properties. I am using 3 datasets in my report and around 4 datasources are in my project that are uploaded automatically when I deploy my report to the report serve (TestServerA)

    TestServerA - Has RS and SQL Server 2005. When using Datasources that point to this server's stored procs, it works for me at least the other users still have issues though where it's prompting them for a windows username and password

    ServerB - a production server running SQL Server 2000 (doesn't have Reporting Services on it, we're just runnign stored procs against it for the datasets) in which the dataset (on TestServerA) is trying to run a stored proc off of ServerB. It stil uses ServerA for Reporting services part...whcih is where I'm getting the error from my own client when trying to run the report from the client in Report Manager

    |||Ok, now I tried logging on directly to my TestServerA and ran the report from IE on that server (report Manager) and it works fine. Ok, so how am I getting a double hop issue if I have everything installed on the same server? I don't think hopping is the issue here still!|||scratch my last response...it was working only because my datasets were pointing to the datasources that were pointing to my TestServerA. Once I changed it back to the point where I got the error (for this post) whcih was to chagne teh datasets to point to the datasources that point to ServerB, I still get the error, even when running the report from TestServerA's Report Manager....|||

    Here's a diagram to show you what's going on. Keep in mind, if the datasets aren't using datasources that point to ServerB and are using datasources that point to TestServerA, all works fine...it's just when my report is using datasources trying to talk to ServerB.

    http://www.webfound.net/diagram.jpg

    |||

    Can you check the errors in the report server log files - they are under /Reporting Services/LogFiles/ReportServer*.log

    If you see an error message coming from your data sources server that looks like - login failed for user (null), then it's likely that you are experiencing the Integrated security double-hop issue.

    If that's the case, you can store credentials for the data sources in the report server, or enable Kerberos delegation as shown below:

    http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/tkerbdel.mspx

    Thanks,

    Tudor

    |||

    In your second setup (ServerB) you are describing what I would expect to be the symptoms of the double hop problem. You have 3 machines, A->B->C. A is the client machine, B is the machine with reporting services, and C is the machine that has the data you are reporting against. You are trying to pass credentials from machine A all the way to machine C. Unless you have set up your environment to allow kerberos delegation (see the links that I pasted above), then this will fail. If you don't want to (or cannot) enable delegation, then a workaround for you is to store credentials for accessing the datasources in the catalog.

    In your 1st scenario (TestServerA), I am not certain why they are getting prompted for credentials. I suspect it is because your test users don't have access to your machine, are they able to connect when providing their credentials?

    |||my users do have access to the SQL Server databases so I don't know why they would get prompted still. No, when they type in their username and password, it doesn't take.|||

    ,I have missed the same problem once ,the problem is that ur datasource was set ot windows Authentification,(if u pay more attention to ur report'Connection string,u could find the bugs),but ur database has no right for this kind of user,

    u could follow this steps to add a user or a group which the user belong to :

    1.login in database

    2.extend the security node

    3.extend the logins node

    3.right-click logins node,click new login, and then add the user or the group which the user belong to to Database'logins.

    And there is a skill,if ur user is a member of administrator,and u assign permissions to the other user,by default,this kind of user only is a menber of user,dont have the role of administrator,so if u use the windows Authentification to build connection string for ur report,the user who just have a role of user don't have logins to database,u need to follow the steps above to add the user or the group to Database'logins.

    |||Samuel, they definitely already have logins to the database, right down to the permissions of the stored procs being called by the datasets so this is covered! They have read rights as well as datawriter (which isn't really needed). This is why I posted, I have done almost everything.|||

    I believe you are running into a couple of problems which are not necessarily related.

    When you are prompted for credentials in IE with the standard credentials dialog, it is because IIS did not accept the user's token when IE presented it in response to a 401. This usually means that the user is not a valid user on the target machine. Check your IIS logs for 401s.

    The datasource problems are because the user we are trying to access the database with is not allowed access. This can be for any number of reasons, the double-hop issue being a pretty common one when people are trying to pass through Windows credentials.

    |||

    I have a similar problem to FlavorFlave. Our setup:

    Machine A : client
    Machine B: SSRS 2005
    Machine C: SSAS 2000

    Running

    reports from Machine B works, running from from A does not - getting the

    exact error he specified. Logged on to machine A with a limited user

    account, onto B/C with full admin rights.

    Enabling delegation is

    not going to be possible on our network. John, i see you say a

    workaround is to "store credentials for accessing the datasources in

    the catalog". Not sure what you meant by this.. or where to do this?|||never mind.. ive figured it out :)

    stored the credentials securely within the datasource on the report server itself. works now... though its slower to initialise than when the security is integrated.|||talwar, can you explain the steps you took in detail so hopefully I can do the same...thanks

  •