Solved

SQL Server Reporting Services - Error Creating Datasource

Posted on 2009-05-08
5
2,319 Views
Last Modified: 2012-05-06
I'm getting the following error in the Report Viewer when trying to access the Reporting Services Report parameters - but don't know why.  I have Windows Integrated authority (no anonymous allowed) on my report manager web site.


Process

information:
    Process ID: 2840
    Process name: w3wp.exe
    Account name: NT

AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: SoapException
   
Exception message: An attempt was made to set credentials for a data source 'FSCDTA'
associated with the report.  Report data source settings are specified in a way that
prevents credentials from being submitted to the report server. ---> An attempt was made
to set credentials for a data source 'FSCDTA' associated with the report.  Report data
source settings are specified in a way that prevents credentials from being submitted to
FLATIRONCORP\userxxx
    Is authenticated: True
    Authentication Type: NTLM
    Thread

account name: NT AUTHORITY\NETWORK SERVICE

Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack

trace:    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse
(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean
asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName,

Object[] parameters)
   at ReportService.ReportingService2005.GetReportParameters(String Report, String
HistoryID, Boolean ForRendering, ParameterValue[] Values, DataSourceCredentials[]
Credentials) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET

c:\Inetpub\wwwroot\ReportCenter\BatchReport.aspx.cs:line 28
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t,

EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)

Any help on this would be greatly appreciated.  I'm guessing it's some type of configuration issue with the way I setup my Reporiting Services.
 
 
0
Comment
Question by:coecho
  • 3
  • 2
5 Comments
 
LVL 26

Expert Comment

by:Chris Luttrell
ID: 24340653
--"I have Windows Integrated authority (no anonymous allowed) on my report manager web site."
Also check the ReportServer web site, that is what ReportViewer uses to interact with SSRS.  I found a link with a similar error messae that led to a similar conclusion.  Their site was MSCRM but it was still SSRS Data Connector issue.
http://www.eggheadcafe.com/software/aspnet/32593704/ssrs-data-connector-error.aspx
0
 

Author Comment

by:coecho
ID: 24340940
I checked - and it's not set on any of the IIS sites....Also, this is only happening for a new datasource that one of the users just setup.... it's working fine for the other reporting services data source.  

Any ideas on what may be causing this on the Report Services Data Source?  

thanks -
0
 
LVL 26

Accepted Solution

by:
Chris Luttrell earned 500 total points
ID: 24341169
ah, new datasource.  I have tried to "Create" this error on my box but can't.  Can you verify the datasource settings and connection settings.  Have they messed with some of these and caused the problem.  I just can't find the proper combo to get that error.  Look at the Advanced properties of connecton properties also.  Usually if you put in good properties and "Test Connection" then things will just work.
SSRS2005-Shared-Data-Source-1.png
SSRS2005-Shared-Data-Source-2.png
0
 

Author Comment

by:coecho
ID: 24364881
The datasource seems okay - but now it looks as though there is something wrong with the actual report.  This "Payroll" report was added and was pointed to a "FSCDSN".  But - when I look at the properties of the report itself - the name of the datasource is "FSCDTA" and the "Windows Integrated Authority" (the option I need to use) - is grayed out.  And - here is the error message I'm getting when I try to "get" the Report parameters via the Report Web Service.  Again - it's referencing the wrong datasource? Any ideas on what is setup wrong on this report?

---------------------------------- Error Message in Debug Mode ----------------------

An attempt was made to set credentials for a data source 'FSCDTA' associated with the report.  Report data source settings are specified in a way that prevents credentials from being submitted to the report server.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Services.Protocols.SoapException: An attempt was made to set credentials for a data source 'FSCDTA' associated with the report.  Report data source settings are specified in a way that prevents credentials from being submitted to the report server.

Source Error:

Line 1502:        [return: System.Xml.Serialization.XmlArrayAttribute("Parameters")]
Line 1503:        public ReportParameter[] GetReportParameters(string Report, string HistoryID, bool ForRendering, ParameterValue[] Values, DataSourceCredentials[] Credentials) {
Line 1504:            object[] results = this.Invoke("GetReportParameters", new object[] {
Line 1505:                        Report,
Line 1506:                        HistoryID,

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\reportscheduleportal\3f360b7c\b9b80bf6\App_WebReferences.jghfprge.0.cs    Line: 1504

Stack Trace:
[SoapException: An attempt was made to set credentials for a data source 'FSCDTA' associated with the report.  Report data source settings are specified in a way that prevents credentials from being submitted to the report server.]

   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1547
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +205
   ReportService.ReportingService2005.GetReportParameters(String Report, String HistoryID, Boolean ForRendering, ParameterValue[] Values, DataSourceCredentials[] Credentials) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\reportscheduleportal\3f360b7c\b9b80bf6\App_WebReferences.jghfprge.0.cs:1504
   BatchReport.LoadPageValues() in c:\Documents and Settings\lhein\My Documents\Visual Studio 2005\Projects\ReportScheduling\ReportSchedulePortal\BatchReport.aspx.cs:72
   BatchReport.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\lhein\My Documents\Visual Studio 2005\Projects\ReportScheduling\ReportSchedulePortal\BatchReport.aspx.cs:28
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +45
   System.Web.UI.Control.OnLoad(EventArgs e) +80
   System.Web.UI.Control.LoadRecursive() +49
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3743


Payroll-Report-Screen.doc
0
 

Author Closing Comment

by:coecho
ID: 31579643
Still can only connect using "prompt for username and password"  insteadof Integrated Authority.  Believe the user setup the data source incorrectlyl;is pointing to an invalid DB which do not have valid permissions set.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question