Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Muesli
Advocate I
Advocate I

is it possible to set Headers / "Access-Control-Allow-Origin" on a report server?

i am trying to get user context into my visual by calling the API

("myreportserver.com/reports/api/v2.0/me" returns the current user)

my problem is that chrome says:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

So is there a way to set Headers for a local report server?

 

regards

1 ACCEPTED SOLUTION
Muesli
Advocate I
Advocate I

found the solution:

 

- open sql mangement

- connect to your report server (with "reporting services" and add "\reportserver" to your server adress)

- right click the server

- open properties

- go to extra

- make your changes

View solution in original post

4 REPLIES 4
Muesli
Advocate I
Advocate I

found the solution:

 

- open sql mangement

- connect to your report server (with "reporting services" and add "\reportserver" to your server adress)

- right click the server

- open properties

- go to extra

- make your changes

Hi. Thank you for your contribution.

Can you explain better where I have to do these configuration changes?

You can update the "AccessControlAllowOrigin" field on dbo.ConfigurationInfo object

@Muesli,

 

Thank you for the sharing. You may help accept solution. Your contribution is highly appreciated.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.