Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 98,122
» Latest member: xosominhngoc66pro
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 1137 online users.
» 5 Member(s) | 1129 Guest(s)
Applebot, Bing, Google, ashapurachinacl, go88uco, goldenvistaholidays101, ns88info, xosominhngoc66pro

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 190
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 155
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 172
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 476
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 242
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 642
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 225
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,243
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 359
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 985

 
  Dúvida arquivo de log
Posted by: ronaldobim - 04-10-2019, 01:13 PM - Forum: IntraWeb Dúvidas Gerais - Replies (2)

Recentemente ativei a geração de logs na aplicação intraweb, queria saber que tipo de erro é este que estou vendo nos meus arquivos de log.

------------------------------------------------------------------------------------------------------------------------
Exception message  : Unknown browser type. User Agent string: 
Exception class    : EUnknownBrowserException
Exception address  : 00000000029F4A5A
Exception Time     : 2019-04-10 07:43:23.940
------------------------------------------------------------------------------------------------------------------------
(000000000047F25E){sigow.dll   } [00000000029F025E] Unknown function at TMethodImplementationIntercept + $3D57CE
(000000000052CE81){sigow.dll   } [0000000002A9DE81] Unknown function at TMethodImplementationIntercept + $4833F1
(000000000052BEBD){sigow.dll   } [0000000002A9CEBD] Unknown function at TMethodImplementationIntercept + $48242D
(00000000005131E4){sigow.dll   } [0000000002A841E4] Unknown function at TMethodImplementationIntercept + $469754
(00000000005137E1){sigow.dll   } [0000000002A847E1] Unknown function at TMethodImplementationIntercept + $469D51
(0000000000527817){sigow.dll   } [0000000002A98817] Unknown function at TMethodImplementationIntercept + $47DD87
(0000000000530062){sigow.dll   } [0000000002AA1062] Unknown function at TMethodImplementationIntercept + $4865D2
(000000000052FDE1){sigow.dll   } [0000000002AA0DE1] Unknown function at TMethodImplementationIntercept + $486351
(000000000053409A){sigow.dll   } [0000000002AA509A] HttpExtensionProc + $3A
(000000000000B540){isapi.dll   } [000007FEF328C540] Unknown function at RegisterModule + $1858
(0000000000013007){isapi.dll   } [000007FEF3294007] Unknown function at RegisterModule + $931F
(000000000000A421){isapi.dll   } [000007FEF328B421] Unknown function at RegisterModule + $739
(000000000000A964){isapi.dll   } [000007FEF328B964] Unknown function at RegisterModule + $C7C
(0000000000001DE7){iiscore.dll } [000007FEF5A82DE7]
(00000000000036A4){iiscore.dll } [000007FEF5A846A4]
(0000000000009775){iiscore.dll } [000007FEF5A8A775]
(0000000000004A03){iiscore.dll } [000007FEF5A85A03]
(000000000003162D){iiscore.dll } [000007FEF5AB262D] Unknown function at GetProtocolManager + $1A31D
(0000000000031A4F){iiscore.dll } [000007FEF5AB2A4F] Unknown function at GetProtocolManager + $1A73F
(0000000000002E3A){defdoc.dll  } [000007FEF5D33E3A] Unknown function at RegisterModule + $F62
(00000000000021D7){defdoc.dll  } [000007FEF5D331D7] Unknown function at RegisterModule + $2FF
(000000000000228C){defdoc.dll  } [000007FEF5D3328C] Unknown function at RegisterModule + $3B4
(0000000000001DE7){iiscore.dll } [000007FEF5A82DE7]
(00000000000036A4){iiscore.dll } [000007FEF5A846A4]
(0000000000009775){iiscore.dll } [000007FEF5A8A775]
(0000000000004A03){iiscore.dll } [000007FEF5A85A03]
(0000000000009B37){iiscore.dll } [000007FEF5A8AB37]
(00000000000000D2){w3dt.dll    } [000007FEF78A10D2] Unknown function at UlAtqGetContextProperty + $C2
(000000000000009C){w3dt.dll    } [000007FEF78A109C] Unknown function at UlAtqGetContextProperty + $8C
(0000000000000FBA){W3TP.dll    } [000007FEF97C1FBA]
(0000000000001024){W3TP.dll    } [000007FEF97C2024]
(00000000000010A1){W3TP.dll    } [000007FEF97C20A1]
(000000000001471D){kernel32.dll} [00000000779E571D] BaseThreadInitThunk + $D
(000000000005285D){ntdll.dll   } [0000000077C4385D] RtlUserThreadStart + $1D

------------------------------------------------------------------------------------------------------------------------

Print this item

  FastReports HTML Export
Posted by: cpstevenc - 04-09-2019, 05:54 PM - Forum: IntraWeb General Discussion - Replies (2)

Using latest IW14 and Tokyo 10.2.3

I can run a simple FastReport via IntraWeb to export to HTML.

Here is an idea of what gets created in the code during the FR3 to HTML export.

The HTML side of things show up.  But the IMG links in the HTML source code are broken.

Code:
C:.
└───user
    └───Leo9A5ucHukqH2SDZ7a9iq
        └───Leo9A5ucHukqH2SDZ7a9iquntitled.files



Code:
 Directory of C:\Users\CPStevenC\AppData\Local\Temp\01c15az1at

04/09/19  01:17 PM    <DIR>          .
04/09/19  01:17 PM    <DIR>          ..
04/09/19  01:17 PM             7,018 ATZ0J0DExMhIustYzUTqbsDtW.tmp
04/09/19  01:17 PM    <DIR>          user



Code:
 Directory of C:\Users\CPStevenC\AppData\Local\Temp\01c15az1at\user\Leo9A5ucHukqH2SDZ7a9iq

04/09/19  01:17 PM    <DIR>          .
04/09/19  01:17 PM    <DIR>          ..
04/09/19  01:17 PM             6,953 Leo9A5ucHukqH2SDZ7a9iquntitled
04/09/19  01:17 PM    <DIR>          Leo9A5ucHukqH2SDZ7a9iquntitled.files


Code:
 Directory of C:\Users\CPStevenC\AppData\Local\Temp\01c15az1at\user\Leo9A5ucHukqH2SDZ7a9iq\Leo9A5ucHukqH2SDZ7a9iquntitled.files

04/09/19  01:17 PM    <DIR>          .
04/09/19  01:17 PM    <DIR>          ..
04/09/19  01:17 PM               466 img0.png
04/09/19  01:17 PM               568 img1.png
04/09/19  01:17 PM             1,060 img2.png
04/09/19  01:17 PM               885 img3.png
04/09/19  01:17 PM             3,833 img4.png

The report to HTML looks like this.

It "Looks" like the path in the IMG Src for each image looks ok?

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <meta name=Generator content="FastReport 5.0 http://www.fast-report.com">
     <title>untitled</title>
     <style type="text/css">
        <!--
           .page_break {page-break-before: always;}
           .s0 {
            font-family: Arial;
            font-size: 13px;
            color: #000000; font-style: normal;
            background-color: transparent;
            text-align: Left; vertical-align: Top;
           }
           .s1 {
            font-family: Arial;
            font-size: 13px;
            color: #000000; font-style: normal;
            background-color: #C0C0C0;
            text-align: Left; vertical-align: Top;
           }
           .s2 {
            font-family: Arial;
            font-size: 1px;
            color: #000000; font-style: normal;
            background-color: #C0C0C0;
            border-left-color:#000000; border-left-style: solid; border-left-width: 1px;
            border-right-color:#000000; border-right-style: solid; border-right-width: 1px;
            border-top-color:#000000; border-top-style: solid; border-top-width: 1px;
            border-bottom-color:#000000; border-bottom-style: solid; border-bottom-width: 1px;
            text-align: Left; vertical-align: Top;
            padding-top: 1px;
            padding-left: 2px;
           }
           .s3 {
            font-family: Arial;
            font-size: 12px;
            color: #000000; font-style: normal;
            background-color: transparent;
            text-align: Left; vertical-align: Top;
           }
           .s4 {
            font-family: Arial;
            font-size: 13px;
            color: #000000; font-style: normal;
            background-color: transparent;
            border-left-color:#000000; border-left-style: solid; border-left-width: 1px;
            border-right-color:#000000; border-right-style: solid; border-right-width: 1px;
            border-top-color:#000000; border-top-style: solid; border-top-width: 1px;
            border-bottom-color:#000000; border-bottom-style: solid; border-bottom-width: 1px;
            text-align: Left; vertical-align: Top;
            padding-top: 1px;
            padding-left: 2px;
           }
           .s5 {
            font-family: Arial;
            font-size: 13px;
            color: #000000; font-style: normal;
            background-color: transparent;
            border-left-width: 0px;
            border-right-color:#000000; border-right-style: solid; border-right-width: 1px;
            border-top-color:#000000; border-top-style: solid; border-top-width: 1px;
            border-bottom-color:#000000; border-bottom-style: solid; border-bottom-width: 1px;
            text-align: Left; vertical-align: Top;
            padding-top: 1px;
            padding-left: 2px;
           }
           .s6 {
            font-family: Arial;
            font-size: 13px;
            color: #000000; font-style: normal;
            background-color: transparent;
            border-left-color:#000000; border-left-style: solid; border-left-width: 1px;
            border-right-color:#000000; border-right-style: solid; border-right-width: 1px;
            border-top-width: 0px;
            border-bottom-color:#000000; border-bottom-style: solid; border-bottom-width: 1px;
            text-align: Left; vertical-align: Top;
            padding-top: 1px;
            padding-left: 2px;
           }
           .s7 {
            font-family: Arial;
            font-size: 13px;
            color: #000000; font-style: normal;
            background-color: transparent;
            border-left-width: 0px;
            border-right-color:#000000; border-right-style: solid; border-right-width: 1px;
            border-top-width: 0px;
            border-bottom-color:#000000; border-bottom-style: solid; border-bottom-width: 1px;
            text-align: Left; vertical-align: Top;
            padding-top: 1px;
            padding-left: 2px;
           }
           P {margin: 0;}
           -->
     </style>
  </head>
  <body
     bgcolor="#FFFFFF" text="#000000">
     <a name="PageN1"></a>
     <table width="695" border="0" cellspacing="0" cellpadding="0">
        <tr style="height: 1px">
           <td width="11"/>
           <td width="53"/>
           <td width="178"/>
           <td width="30"/>
           <td width="42"/>
           <td width="4"/>
           <td width="76"/>
           <td width="23"/>
           <td width="53"/>
           <td width="76"/>
           <td width="75"/>
           <td width="38"/>
           <td width="8"/>
           <td width="30"/>
        </tr>
        <tr style="height:55px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td colspan="2" rowspan="2" class="s3" style="font-size:1px"><img src="Leo9A5ucHukqH2SDZ7a9iquntitled.files/img0.png" width="130" height="92" alt=""></td>
           <td/>
           <td/>
           <td/>
           <td/>
        </tr>
        <tr style="height:33px">
           <td colspan="4" rowspan="2" class="s0" style="font-size:1px"><img src="Leo9A5ucHukqH2SDZ7a9iquntitled.files/img1.png" width="273" height="46" alt=""></td>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
        </tr>
        <tr style="height:11px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
        </tr>
        <tr style="height:40px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
        </tr>
        <tr style="height:33px">
           <td/>
           <td/>
           <td colspan="2" rowspan="2" class="s0" style="font-size:1px"><img src="Leo9A5ucHukqH2SDZ7a9iquntitled.files/img2.png" width="209" height="126" alt=""></td>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
        </tr>
        <tr style="height:88px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td colspan="6" rowspan="3" class="s0" style="font-size:1px"><img src="Leo9A5ucHukqH2SDZ7a9iquntitled.files/img3.png" width="341" height="235" alt=""></td>
           <td/>
           <td/>
        </tr>
        <tr style="height:15px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
        </tr>
        <tr style="height:125px">
           <td/>
           <td colspan="2" rowspan="9" class="s2" style="font-size:1px">&nbsp;</td>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
        </tr>
        <tr style="height:40px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
        </tr>
        <tr style="height:18px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td class="s4">1</td>
           <td colspan="2" class="s5" style="font-size:1px">&nbsp;</td>
           <td class="s5" style="font-size:1px">&nbsp;</td>
           <td class="s5" style="font-size:1px">&nbsp;</td>
           <td colspan="3" class="s5" style="font-size:1px">&nbsp;</td>
        </tr>
        <tr style="height:18px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td class="s6" style="font-size:1px">&nbsp;</td>
           <td colspan="2" class="s7">2</td>
           <td class="s7" style="font-size:1px">&nbsp;</td>
           <td class="s7" style="font-size:1px">&nbsp;</td>
           <td colspan="3" class="s7" style="font-size:1px">&nbsp;</td>
        </tr>
        <tr style="height:18px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td class="s6" style="font-size:1px">&nbsp;</td>
           <td colspan="2" class="s7" style="font-size:1px">&nbsp;</td>
           <td class="s7">3</td>
           <td class="s7" style="font-size:1px">&nbsp;</td>
           <td colspan="3" class="s7" style="font-size:1px">&nbsp;</td>
        </tr>
        <tr style="height:18px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td class="s6" style="font-size:1px">&nbsp;</td>
           <td colspan="2" class="s7" style="font-size:1px">&nbsp;</td>
           <td class="s7" style="font-size:1px">&nbsp;</td>
           <td class="s7">4</td>
           <td colspan="3" class="s7" style="font-size:1px">&nbsp;</td>
        </tr>
        <tr style="height:18px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td class="s6" style="font-size:1px">&nbsp;</td>
           <td colspan="2" class="s7" style="font-size:1px">&nbsp;</td>
           <td class="s7" style="font-size:1px">&nbsp;</td>
           <td class="s7" style="font-size:1px">&nbsp;</td>
           <td colspan="3" class="s7">5</td>
        </tr>
        <tr style="height:33px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
        </tr>
        <tr style="height:283px">
           <td/>
           <td/>
           <td/>
           <td colspan="8" rowspan="2" class="s0" style="font-size:1px"><img src="Leo9A5ucHukqH2SDZ7a9iquntitled.files/img4.png" width="352" height="315" alt=""></td>
           <td/>
        </tr>
        <tr style="height:22px">
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
           <td/>
        </tr>
     </table>
  </body>
</html>

I assume while the files are there, Intraweb won't let them be accessed... so the code here ( stripped down ) takes care of HTML file that was generated side of things.. 
but the images don't tag along in this kind of action. Did some searching for docs on this.. but didnt seem to find exactly what I am looking for.
 

Code:
   fstream := TMemoryStream.Create;
   fstream.LoadFromFile(fname); // fname = filename of the HTML file
   furl := TIWAppCache.StreamToCacheFile(Self, fstream, 'html', ctSession);
   WebApplication.NewWindow(furl); // take the above fURL that gets generated and spit the user to that address in a new tab

I have submitted a ticket with FastReports about an option to base64 encode images into the HTML source, so be only 1 single file.. but could be years to never on that 
ever getting addressed by them.

Print this item

  Label and Tables
Posted by: Eziooh - 04-08-2019, 09:11 AM - Forum: IntraWeb General Discussion - Replies (14)

Hi!

How can I make a new line in a Label? It should sound stupid but I can't do it and I need to...

One more thing, how can I even do a table? That if click you can change/enter a value?

Print this item

  AWS Route 53 Health Check
Posted by: ioan - 04-05-2019, 06:54 PM - Forum: IntraWeb General Discussion - Replies (4)

What's the best way to check the health of an Intraweb application?

Basically, on AWS' Route 53 I created a health check that connects to my server, requests http://myserver/health-check and if gets back OK, my server is up (the health check is looking for "OK" string to decide if the server is up or not).
My server went down and the health check didn't alarm me. This only happened once, but it made me realize that my solution is not the best.
My original way of checking the sever was like this: In IWServerControllerBaseNewSession I have this piece of code:


Code:
[...] else if ContainsText(WebApplication.Request.PathInfo, 'health-check') or ContainsText(WebApplication.Request.Query, 'health-check') then
  begin
    // respond with OK and don't create a session
    WebApplication.Response.WriteString('OK');
    WebApplication.Terminate;
  end

The problem: One of the servers run out of available connections in the firedac connection pool and the server failed to create new sessions (not sure yet why). The IWError.html page was shown to all users that tried to connect to the server, but the http://myserver/health-check was still returning OK, so it didn't trigger the failed health check. 

I could configure the health check to look for a string in the login page, but the login page returned by intraweb creates a session and considering that the route 53 makes a request every 10 seconds or faster, I don't think it would be a good idea. 

My question is, do any of you have health checks running on a intraweb application? How did you set it up?

TIA

Print this item

  Connection not responding
Posted by: OronzoConte - 04-05-2019, 10:13 AM - Forum: IntraWeb General Discussion - Replies (3)

More times during the day, users are not able connecting to my IW appication that runs as service. The causes seem to be disconnection from the browser without leaving the application. It is necessary to restart the service. I had set a timeout period, but this did not solve the problem. Any suggestion? Is there a way to stop and restart automatically the sewrvice itself? Could this be a solution?

Print this item

  CustomContentHandler for ReEntry
Posted by: pete@pdmagic.com - 04-03-2019, 10:15 PM - Forum: IntraWeb General Discussion - Replies (9)

I'm trying to replace code that used to run under ReEntryURL with a Custom Content Handler.

I've created the handler and registered it.  When I call it, all the code executes properly.  If I use aReply.WriteString(), that works and is returned properly.

What I'm trying to do is display an updated form.  The session is already active and the form already created. The form is also the currently active form.  When the call is made, I manipulate the form using Delphi calls. I then simply return control back to the handler.  However, no content is written to the Reply/Response.  It's empty and generates a 'Uninitialized reply.' exception.  (although it displays as a blank page - I've reported the reason for that to Alex already)


Do I need to make an additional call to tell IW that my form needs to be re-sent, updated? 
Is what I'm trying to do even possible?

Thanks!
Pete

This is an app that gets called from a desktop (or another web)  app.  Basically REST is used to modify database content and then the desktop app opens a browser and displays the content.  I had it working fine in earlier versions of IW before ReEntry went away.

Print this item

  Alignment problem after upgrade to .20 today
Posted by: pete@pdmagic.com - 04-03-2019, 08:33 PM - Forum: IntraWeb General Discussion - Replies (4)

I just updated my IW to .20 today.  I didn't update to .19 first, just straight to .20.

My main login form includes a TIWImageFile that is aligned to center on its region.  It displays properly initially.  However, when I issue an unrelated ASYNC call, the image moves to it's pre-aligned (wrong) position. When I refresh the browser, it centers properly again. 

I can create a demo if necessary if you don't see this in another app.   But I'm frying bigger fish right now and would prefer not to Rolleyes .

Thanks,
Pete

Occurs in Chrome and FF
Windows 10
IW 15.0.20 (prior working version was from Dec 14)
Tokyo 10.2

Print this item

  HTTP hook not found error
Posted by: msgopala - 04-03-2019, 01:14 PM - Forum: IntraWeb General Discussion - Replies (7)

Embarcadero® Delphi 10 Seattle Version 23.0.20618.2753
Intraweb 15.0.14
TMS pack Pro
FastReport 5

Application has been deployed on the server and has been running fine. Today there was a HTTP hook not found error when it was accessed. I restarted the server and deleted the .err file and the app is running again. 

What could be the reason for this error? I found one post here where the user was loading an xml document and that error occured for them. I do not have any inclination as to what could have caused this error.

Thanks in advance for your help

Print this item

  IWError.html not rendered from raised exception in servercontroller
Posted by: Craig Burke - 04-02-2019, 04:41 PM - Forum: IntraWeb General Discussion - Replies (10)

XE7 - IW 14.2.10 bundled.

Because using the UserSessionUnit (is a DM) and that exceptions are handled during the creation method I use a UserSession.Initialize method to process all data connections. If there are any exceptions they are raised back into the caller. In this case the ServerController. In IW 12 it used to display the IWError.html from the templates folder.
This does not work anymore from the  Servercontroller. It does work if the exception is in a form though.
The exception does properly reach the SeverController.OnException.

The ExceptionLogger is creating the file as expected however, the user only sees a blank page. Not very helpfull. Sad

So, how do we render our custom IWError.html with the merged information when the exception is in the ServerController?

Thank you,
-Craig

Print this item

  Getting into Delphi and IntraWeb
Posted by: Eziooh - 04-02-2019, 03:54 PM - Forum: IntraWeb General Discussion - Replies (7)

Hello, I need help... I don't understand a single thing about delphi and I am developing a IntraWeb.

I know so far that I will need various TWGrid's but I don't know how to make them appear or anything.

If you can help me, please reply.

Thank you in advance!

Print this item