Open ctrl-brk opened 6 years ago
I get the same thing, plopped the controller and view, edit the settings in controller and same error. Is this a Core 2 issue?
@cgountanis & @ctrl-brk,
I don't use the .NetCore version as my daily driver (only created it to help the community and get my hands into NetCore). I'll have to try upgrading my project and see if I run into the same issue or not. I'm also not sure what upgrading would do to all the people running on the version 1.1 framework and using my library. I'll have to do some testing on this. Sorry I can't be more help at the moment.
Alan
This is really the only thing I still need to make Core2/SSRS work for us. Core2 has everything else working for itself these days. I guess I could plop a ASPX page in my MVC application if I have to :(
Eventually the Core/SSRS team will get on the ball with WebForms going away in the future. They kind of have to, aye?
Here for testing if needed.
For now I got rid of nuget package and building viewer from source. Updated to use dotnetstandard2.0, updated to use latest microsoft/http packages. And it's working for me as a temp fix.
Install System.ServiceModel.Http
package.
@ctrl-brk running successful ? did you made any changes for existing one ? cause I'm facing trouble to retrieve reports as mentioned here ISSUES
@AlwaysAbhl001 works just fine. Didn't make any changes to the code. Only upgraded to latest packages/dotnetstandard
I was able to get it to work @ctrl-brk but it was a bit more than just changing the class lib to 2.0, not much though, had to play with the NUGET packages manually a bit and remove properties from the class lib.
Hi All
a request from a newbie, Can you please create some instructions as to how I can run SSRS reports in my new .Net Core 2.0 application. Been searching for a few days now.
Anyone have issues with auth once hosted on IIS?
@cgountanis Hello, could you share how did you migrate from .net standart 1.6 na .netstandart 2 because my main project in .net core2 and this library not compatible with this nuget( I will be really grateful for an answer.
https://github.com/alanjuden/MvcReportViewer/issues/43#issuecomment-468397096
I did not update the project I ended up making my own report service that just spits out downloadable files which works for multiple devices much better than trying to get some kind of responsive preview report window.
@cgountanis how did you do this "spits out downloadable files" ?) can you concise describe workflow)
Using the SSRS services the ASMX directly which this project has examples for. It has the ability to spit out word excel CSV and PDF files directly as binary. Then you just serve the files to the browser no preview. The only complex part is making sure you add parameters to the report services before you execute and get the file so you get the data that you expect.
i see, but if i need an interactivereport (with the controls panel) i can't get it in that way, right ? Thank you for sharing=)
Correct that is just a report that is generated for example as a PDF directly with or without parameters. There is no preview or interactivity which actually works great for mobile phones and tablets with small screens. Good luck! might want to look into azure and power bi seems like that's where everything is going.
@cgountanis , thank You very much=)
After upgrading my project from 1.1 to core 2.0 getting the following error when serving under IIS. Never had this in 1.1.