I'm running as an administrator, it shouldn't be a lack of permission.
Maybe something related to threads? TSynLog generating write competition on the file?
20200428 23420639 ! + mORMot.TSQLRestServerFullMemory(05a300d0).Shutdown() v1 CurrentRequestCount=0
20200428 23420639 ! - 00.008.336
20200428 23420639 ! info mORMot.TSQLRestServerFullMemory(05a300d0) TSQLRest.Destroy v1
20200428 23420639 ! EXCOS EExternalException (c0000005) [] at $000000010000B308
20200428 23420659 ! EXC EInOutError ("Disk Full") [] at $00000001000222D7
20200428 23420711 ! EXC EInOutError ("Disk Full") [] at $00000001000222D7
... Dozens of other lines with same error
Stpes to reproduce:
Compile Install and Strart the Daemon generated by "37 - FishShop Service" sample.
Lazarus + FPC3.2 / Lazarus + FPC 3.31
Win64
]]>The Start method of TSynDaemon are not called, but show the success info in console.
The Stop method are always Executed.
When debugging throws an Exception, which I was unable to trace the source
But start on Linux CentOs.
]]>Seems to be a windows problem.
Tested on windows with target: Win32/i386, no errors.
]]>Lazarus 2.1.0 + FPC 3.3.1
And Lazarus 2.0.7 + FPC 3.2
Target: Win64
Mormot: Last in git
From what I could see he stopped at the TServiceMethodExecute.RawExecute method in mORMot.pas
More specifically on the line 60356 (CallMethod(call);)
]]>What is the exact target you use?
Win32 or Win64?
Target: Win64
Mormot: 1.18 (github master)
With http://localhost:8092/blog/articleView?id=3550
I got:
Error Page
Low-level #404 Error occurred with the following message:
HTTP Error 404 - Not Found
Error context:
{
"Msg": "HTTP Error 404 - Not Found",
"Scope": null,
"main": {
"pageName": "Error",
"blog": {
"Title": "Synopse Blog",
"Language": "en",
What is the exact target you use?
Win32 or Win64?
Steps to reproduce:
- Start sample and open "http://localhost:8092/blog/default"
- go to the article "http://localhost:8092/blog/articleView?id=10000"
- replace article id to get 404 error ex. "http://localhost:8092/blog/articleView?id=10001"
Error comes after "raise EMVCApplication.CreateGotoError(HTTP_NOTFOUND)", same with "raise EMVCApplication.CreateGotoView..."
No issues with Delphi.
OS: Win10x64
FPC: 3.2.0rc1
Laz: 2.1.0
Regards,
AT