Base solution for your next web application
Open Closed

Error when import excel file to server #9905


User avatar
0
kwanp created

My Project on ASP.NET Core + Angular Version 9.1 with Publish to IIS Which config file that i miss the error show :

Access to XMLHttpRequest at 'http://27.254.140.XXX:2601/Template_Doctor_Fee_Transaction/Template_Asset%20(1).xlsx' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

GET http://27.254.140.XXX:2601/Template_Doctor_Fee_Transaction/Template_Asset%20(1).xlsx net::ERR_FAILED

Thank you


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @kwanp

    Could oyu check your Logs.txt file under the published website's App_Data/Logs folder for error details and share error details with us ?

    Thanks,