xml file not read/writable in aws hosting of .net core project

0

I am stuck with aws. I have a .Net core project which read and write data in xml files. This works perfectly in local. But when I am publishing my project in AWS(linux env via elasticbean) then all the pages are working and visible except where read and write of xml files is required. At that point I am getting the below error message:

{"StatusCode":500,"Message":"Internal Server Error. Error generated by NLog!"}

The zip source of aws also not showing the xml files. Is this is a bug in AWS or I am doing something wrong? Shall I place the xml files inside the wwwroot folder or anywhere else. Please help as I am searching for the solution from hours. And where I can see the complete error details.

질문됨 4년 전249회 조회
2개 답변
0

[javascript:alert(1);]

Edited by: jepatel on Sep 29, 2020 6:39 AM

jepatel
답변함 4년 전
0

I got the answer by default aws bundle do not include xml files. So you have to explicitly right on the xml file and set it to Copy.

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠