Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Problems authenticating ReportService2010 web service when using C#

$
0
0

(Not sure exactly what forum I should but this in but here goes...)

I have SQL Server/SSRS installed on a server. 

I've added a Web Service reference to the server's ReportServer2010 in the data layer project of my MVC app.

I have a userid/password that grants me admin access to the database through SSMS. 

However when I use that in my C# code (rsObject.Credentials = new System.Net.NetworkCredential  etc) it crashes with an Unauthorized when I call a web service function.  I've tried that with and without a Domain name.

Is there some other setting in the web service that I should know about?

(For the moment I have it created as a Web Reference, not a Service Reference.  I don't know if that makes a difference.  I have little experience with either.)


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>