NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva on May 15, 2012, 05:54:05 AM
-
Hi Bruce,
The same application that i create FRB to generate PDF and sending it to cliente is working from desktop. but if i access from mobile i´m getting exception error on server.
is there some difference?
Thanks
-
not that I'm aware of.
cheers
Bruce
-
All right Bruce
but, i´ve put a STOP('here') before p_web._sendfile. certified myself that .pdf exists.
it's seems my galaxy is showing 'page not found' before exception message error pop up on NTWB window of.
My NetWebPage setting if for PDF, but i´m override if on processed code embed with this code:
if not p_web.replyCompleted
If Loc:NoRecords
Loc:html = '<p>Nenhum registro encontrado.</p>'
p_web.ParseHTML(loc:html)
ElsIf not exists(loc:PDFName)
Loc:html = '<p>O procedimento de impressão falhou em criar o relatório ['&clip(loc:PdfName)&']</p>'
p_web.ParseHTML(loc:html)
Else
p_web.ForceNoCache = 1
p_web.ReplyContentType = p_web._GetContentType('.pdf')
p_web._Sendfile(loc:PDFName)
End
End
-
do you have GPF Reporter?
If so, plug it in and then post the report here.
If not I guess you'll need to post an example, but ideally one without FRB as I don't have that installed here.
cheers
Bruce
-
Hi Bruce,
Yes i have GPF Report. I added it into my application but the message still the same, GPFReport don´t start with the file. anyway the exception log is here:
This heppen only if i access from my GALAXY. On desktop it is OK
Thanks
Report is already open
Process PID=1664 Image: D:\SOFTVALE\SVPORT~1\SVPORT~1.EXE
Thread 4 Handle=00000D64 TID=1780
Stack frame: 0476F930
Call Stack:
00512CD3
0044079A
004416FC
00441878
00900BCE
00908E1A
004426E0
010BD43A
010BD160
Clarion modules:
01000000 D:\SOFTVALE\SVPORT~1\ClaRUN.dll
02350000 D:\SOFTVALE\SVPORT~1\claDF.dll
007C0000 D:\SOFTVALE\SVPORT~1\ClaDOS.dll
00790000 D:\SOFTVALE\SVPORT~1\ClaTPS.dll
001C0000 D:\SOFTVALE\SVPORT~1\ClaFRB.dll
13000000 D:\SOFTVALE\SVPORT~1\CLAnet.dll
13200000 D:\SOFTVALE\SVPORT~1\CLAWE.dll
00290000 D:\SOFTVALE\SVPORT~1\ClaASC.dll
12200000 D:\SOFTVALE\SVPORT~1\CLAFM3.dll
02330000 D:\SOFTVALE\SVPORT~1\ClaMEM.dll
12000000 D:\SOFTVALE\SVPORT~1\SLATPS.dll
007D0000 D:\SOFTVALE\SVPORT~1\GLOBAL.dll
00400000 D:\SOFTVALE\SVPORT~1\SVPORT~1.EXE
03820000 D:\SOFTVALE\SVPORT~1\Claodb.dll
Thread stack:
0476F930: 28 FC 76 04 D3 2C 51 00 C4 FF 76 04 84 FE 76 04
0476F940: 28 FC 76 04 58 F9 76 04 FC 00 00 00 0B 00 00 00
0476F950: E4 F6 51 00 08 00 7C 04 00 00 2A FA 76 04 62 F9
0476F960: 76 04 72 65 70 6F 72 74 73 5C 24 24 24 30 32 39
0476F970: 31 33 34 2E 50 44 46 20 20 20 20 20 20 20 20 20
0476F980: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476F990: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476F9A0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476F9B0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476F9C0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476F9D0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476F9E0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476F9F0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FA00: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FA10: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FA20: 20 20 20 20 20 20 20 20 20 20 44 3A 5C 53 4F 46
0476FA30: 54 56 41 4C 45 5C 53 56 50 6F 72 74 61 6C 52 48
0476FA40: 5C 77 65 62 5C 72 65 70 6F 72 74 73 5C 24 24 24
0476FA50: 30 32 39 31 33 34 2E 50 44 46 20 20 20 20 20 20
0476FA60: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FA70: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FA80: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FA90: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FAA0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FAB0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FAC0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FAD0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FAE0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FAF0: 20 20 0D 0A 26 23 31 36 30 3B 20 20 20 20 20 20
0476FB00: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FB10: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FB20: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FB30: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FB40: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FB50: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FB60: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FB70: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FB80: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FB90: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FBA0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FBB0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FBC0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FBD0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FBE0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FBF0: 20 20 20 20 20 20 E3 B4 9C 02 03 00 00 00 01 01
0476FC00: 00 00 00 FD 00 00 00 00 00 00 00 A0 D9 50 04 00
0476FC10: 00 00 00 00 98 D5 50 04 14 00 00 00 08 00 7C 04
0476FC20: 88 BC 4D 04 28 FC 76 04 4C FC 76 04 9A 07 44 00
0476FC30: 53 32 7E 04 7C FD 76 04 80 FC 76 04 00 00 00 00
0476FC40: 00 00 00 00 4C FC 76 04 84 FE 76 04 60 FC 76 04
0476FC50: FC 16 44 00 FC 00 00 00 60 FC 76 04 84 FE 76 04
0476FC60: 84 FE 76 04 78 18 44 00 0A 00 00 00 00 37 52 00
0476FC70: 01 00 00 00 C8 B8 4F 04 26 00 00 00 01 00 00 00
0476FC80: 72 74 72 65 63 69 62 6F 77 65 62 20 20 20 20 20
0476FC90: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FCA0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FCB0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FCC0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FCD0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FCE0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FCF0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FD00: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FD10: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FD20: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FD30: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FD40: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FD50: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FD60: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FD70: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FD80: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FD90: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FDA0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FDB0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FDC0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FDD0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FDE0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FDF0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FE00: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FE10: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FE20: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FE30: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FE40: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FE50: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FE60: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0476FE70: 20 20 20 20 20 20 20 20 00 00 00 00 08 00 7C 04
0476FE80: 84 FE 76 04 9C FE 76 04 CE 0B 90 00 00 00 00 00
0476FE90: 10 F9 94 00 00 37 52 00 08 00 7C 04 D0 FE 76 04
0476FEA0: 1A 8E 90 00 C4 FF 76 04 60 D1 0B 01 D0 FE 76 04
0476FEB0: C4 FE 76 04 00 37 52 00 B4 09 FF 01 00 00 00 00
0476FEC0: 08 00 7C 04 50 B4 4F 04 61 00 00 00 08 00 7C 04
0476FED0: EC FE 76 04 E0 26 44 00 50 FF 76 04 CC 17 13 01
0476FEE0: 98 6C 4B 02 61 00 00 00 08 00 7C 04 04 FF 76 04
0476FEF0: 3A D4 0B 01 F6 44 11 01 50 FF 76 04 E0 7F 30 00
0476FF00: 76 BE 0B 01 94 FF 76 04 60 D1 0B 01 C4 FF 76 04
0476FF10: C4 FF 76 04 11 45 11 01 50 FF 76 04 50 FF 76 04
0476FF20: 50 FF 76 04 04 00 00 00 60 D1 0B 01 50 FF 76 04
0476FF30: 00 00 00 00 70 FF 76 04 94 FF 76 04 50 FF 76 04
0476FF40: B4 09 FF 01 94 70 97 77 58 FF 76 04 B4 09 FF 01
0476FF50: CC 17 13 01 00 00 00 00 04 00 00 00 34 18 13 01
0476FF60: B4 09 FF 01 00 D2 0B 01 00 00 00 00 B4 09 FF 01
0476FF70: 00 00 00 00 14 B0 00 00 00 00 00 00 00 00 00 00
0476FF80: 27 E7 22 00 28 03 00 00 52 00 00 00 6C ED C9 76
0476FF90: B4 09 FF 01 D4 FF 76 04 7B 37 99 77 B4 09 FF 01
0476FFA0: 99 08 F4 73 00 00 00 00 00 00 00 00 B4 09 FF 01
0476FFB0: 00 00 00 00 00 00 00 00 00 00 00 00 A0 FF 76 04
0476FFC0: 00 00 00 00 FF FF FF FF 15 E1 94 77 45 E5 1A 00
0476FFD0: 00 00 00 00 EC FF 76 04 4E 37 99 77 70 D1 0B 01
0476FFE0: B4 09 FF 01 00 00 00 00 00 00 00 00 00 00 00 00
0476FFF0: 00 00 00 00 70 D1 0B 01 B4 09 FF 01 00 00 00 00
-
That's not the GPF Report from GPF REporter, so lacks pretty much any useful information.
If this was made using a recent test build of C8, then there is a debug CLARUN.DLL in one of the
clarion8\bin folders which, if copied over the CLARUN in your app folder gives slightly more information. But still not as much as GPF Reporter. If you don't have GPF Reporter perhaps it's time for an example?
cheers
Bruce
PS - do you live in South America? Are you coming to ConDev this year?
-
Hi Bruce,
Yes, I have GPF Report and it´s added into application.
I´m using c8 and I´ll try CLARUN.DLL as you told me.
Durint test, the message on android (comunicação com o servidor falhou) tente mais tarde is showed before report be create on server. but it only happen if access is from android.
PS - and Yes, i´m from Brasil, but unfortunatly i´m unable to going to DevCon. the price is very cheap, but there is private problem. you´ll love Florianopolis/SC it a beach city and with a huge surfing scene.
-
Hi Bruce,
I couldn´t found a CLARUN.DLL different from that i´m already using, for debug.
-
If you have GPF Reporter then you don't need the debug CLArun dll.
I presume you are getting the GPF on the _server_ not the phone?
If so, post the GPF report here.
Cheers
Bruce
-
Hi Bruce,
Yes, I have GPF Reporter and i´ve already added it to my application but i can´t see it working? the only things happen is that i´ve sent you before from a RunTime error window.
and yes this GPF in on my server.
thanks
Walter
-
I'm gonna need an example Walter.