Posted 27 June 2023, 9:28 am EST
We are attempting to convert an old .NET Framework site to ASP.NET Core. The old site uses the obsolete Microsoft ReportViewer, and we’re now trying to use the ComponentOne report viewer. The old viewer authenticates against the SSRS server just fine. The ComponentOne viewer, on the other hand, produces a CORS error. (“Access to XMLHttpRequest at ‘…’ from origin ‘http://localhost:5000’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”)
My questions:
- Why does the ComponentOne viewer produce that error when the old viewer doesn’t?
- Is there anything I can do on the “client” side to get this working, or will it require a change to the SSRS server?
Thanks!
Brad.