Data not displaying on cloud server
I have an ASP.net application which loads the component into a webform. If I run the app on my computer, everything works fine.
However, upon uploading to the cloud server (managed ASP.net), the grid shows the data being loaded, but after some seconds, fails saying
“Unable to open file http://localhost:54198/VisualizadorDatos?408019273.
It seems that this file doesn’t exist or ‘Access-Control-Allow-Origin’ header is absent in the resource requested.“
Is this a timeout issue?
Thank you for your question. Most likely the problem is connected with a file path. Using this path: http://localhost:54198/VisualizadorDatos?408019273 you are trying to rich the local file. Please change the localhost address on yours cloud server address or use relative address like /VisualizadorDatos?408019273. Also, you need to add CORS(Access-Control-Allow-Origin) configuration . Hope it will help.
Thanks for your help. When I replaced “http://mydomain.com/VisualizadorDatos?408019273” for a relative path (/VisualizadorDatos?408019273), everything worked flawlessly
Great! Thank you for updating me about the issue.