Forum Discussion
Issue with Drilldown Cartogram visual
Hi, I have a report where I used successfully for a long time the Drilldown Cartogram visual. Recently we fund the following error in the visual: `Invalid Json File` . I remove the visual from the project and import it again and now, when I try to use the visual again, it show nothing. Any idea ?
2 Replies
- v-xuding-msftCommunity Support
Hi avaldes ,
Please try to enable AllowOrigin=* to the root of the website where you are reading this topojson file from. If you are using IIS you can add web.config file to your applicaion root.
https://enable-cors.org/server_iis7.html
Adding CORS definitions to web.config file like below.
<system.webServer>
.........
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*"/>
<add name="Access-Control-Allow-Headers" value="Content-Type"/>
<add name="Access-Control-Allow-Methods" value="POST,GET,OPTIONS"/>
</customHeaders>
</httpProtocol>Reference:
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.
- avaldesFrequent Visitor
Hi v-xuding-msft , thanks for your reply, can you help me to solve that in PBI Desktop ?