Hi support,
We are facing an issue with the Odata API. One of the Odata API is not working while specifying the column name. API return below error message (internally it throwing 500 exceptions).
URL eg: <a class="postlink" href="https://customerURL.net/odata/APIName">https://customerURL.net/odata/APIName</a>?<span style="color:#FF0000">$select=Name</span>
In controller there is no exception, it returns value. But after that application is crashing. We have implemented exception handling like below but this error is not logging. Global.asax:
Please advise how we can identify & resolve this issue.
3 Answer(s)
-
0
Hi,
If AspNet Zero is not logging error details to Logs.txt, then you can check window's event viewer. There might be some useful information about this error.
Thanks.
-
0
I found this in /LogFiles/Application/:
2017-05-31T22:27:39 PID[1192] Verbose log4net:ERROR [RollingFileAppender] Unable to acquire lock on file D:\home\site\wwwroot\Logs\Logs.txt. The process cannot access the file 'D:\home\site\wwwroot\Logs\Logs.txt' because it is being used by another process.
-
0
Hi,
This might be helpful. Is this problem repeatable or just happens sometimes ?
If it is repeatable, please send your project to <a href="mailto:[email protected]">[email protected]</a> and we will try to find a solution for it.
Thanks.