Need a special offer?Find out if your project fits.
+

Data not displaying on cloud server

Open
Alberto Nudman asked on July 18, 2016

Hi
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?

3 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster July 20, 2016

Hi,

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.

Best regards,
Dmytro

Public
Alberto Nudman August 30, 2017

Hi Dmytro,
Thanks for your help. When I replaced "http://mydomain.com/VisualizadorDatos?408019273" for a relative path (/VisualizadorDatos?408019273), everything worked flawlessly
Regards

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 31, 2017

Alberto,

Great! Thank you for updating me about the issue.

Regards,
  Dmytro

Please login or Register to Submit Answer