-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File not found when connecting to SSRS #176
Comments
Your code looks fine. Have you tried running it using original ReportViewer and get same error? |
Thanks for your answer. What do you mean with original ReportViewer? |
I mean original package from Microsoft, targeting .NET Framework. |
Ah, ok. No, what I did is to access through an iframe and it works fine except that is asking for credentials. |
Hi, the problem was that two nugget packages where missing System.ServiceModel.Http and System.ServiceModel.Primitives |
Hi,
I have this simple code and a report without parameters
The report name is hola.rdl and is in a Report server https://xxx.org/ReportServer/
Like this
This is the code I have
ServerReport report = new ServerReport();
report.ReportServerCredentials.NetworkCredentials = new NetworkCredential("xxx", "xxx", "xxx");
report.ReportServerUrl = new Uri("https://xxxxxxxx.org/ReportServer/");
report.ReportPath = "/Hola";
byte[] pdf = report.Render("PDF");
And when it comes to the last line I get an error The system coudn´t find the specified file, I know what this means, but it seems to be everything correct.
I´m using .net core 6.0
Is there something I´m missing.
Thanks for any support on this
The text was updated successfully, but these errors were encountered: