| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 05:33 PM
» Replies: 1
» Views: 308
|
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 05:31 PM
» Replies: 2
» Views: 370
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 276
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 623
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 350
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 797
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 318
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,469
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 466
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,172
|
|
|
| Fast Report export when Intraweb app running as a service |
|
Posted by: v.lasquibar@telefonica.net - 01-04-2020, 04:55 PM - Forum: IntraWeb General Discussion
- Replies (6)
|
 |
Hi,
I'm using Delphi 10.2 (Tokio) and Intraweb 15.1.10. I have an application running in a Windows server as a Service, created with default parameters. Recently I've added a new report created with Fast Report 6.5 (last version). When I run the application on my development computer, or I run the app in SA mode, the report shows a preview, and when I export report to PDF, the file is created correctly and the PDF is shown in a new window in browser. But when I run the App as a Windows Service, the file is created empty, and an empty page is shown in browser.
I've changed the directory in which the file is created to C:\Temp, without success. I've changed also the user used to start the service, without success. Here is the source used to create the PDF file:
RPTOF is the Fast Report Object
frxPDFExport1 is the Fast Report Export to PDF Filter object.
RutaInformeOrden := 'C:\Temp\';
NombreFicheroPDF := ChangeFileExt(System.IOUtils.TPath.GetRandomFileName, '.pdf');
NombreFicheroPDF := RutaInformeOrden + NombreFicheroPDF;
frxPDFExport1.FileName := NombreFicheroPDF;
frxPDFExport1.DefaultPath := RutaInformeOrden;
frxPDFExport1.OpenAfterExport := False;
frxPDFExport1.ShowDialog := False;
RptOF.Export(frxPDFExport1); <-- Here the file is created, empty when service, full as a SA
// Open PDF in a new window
URLFicheroPDF := TIWAppCache.AddFileToCache(Self, NombreFicheroPDF, TIWMimeTypes.GetAsString(mtPDF), ctOneTime);
WebApplication.NewWindow(URLFicheroPDF);
Could you please help me with this problem?
KR,
Venancio Lasquíbar
|
|
|
| News server statistics and search |
|
Posted by: AndrzejB - 01-04-2020, 03:13 PM - Forum: Indy
- Replies (1)
|
 |
Is possible get information about groups count and posts count without downloading grouplist, espacially without logging?
Is possible search for text on server posts?
|
|
|
| Incorrect path to IL2CPU.exe in release |
|
Posted by: vinfdsc - 01-03-2020, 08:35 PM - Forum: COSMOS
- Replies (2)
|
 |
Hello
When I try to build a project, I got error:
Code: Ошибка MSB6004 Указанное расположение исполняемого файла задачи "C:\Users\vinny\AppData\Roaming\Cosmos User Kit\Build\IL2CPU\IL2CPU.exe" является недопустимым. CosmosKernel2 C:\Users\vinny\.nuget\packages\cosmos.build\0.1.0-localbuild20190628100707\build\Cosmos.Build.targets 169
Not exactly translate:
The specified location of the task executable file "C:\Users\vinny\AppData\Roaming\Cosmos User Kit\Build\IL2CPU\IL2CPU.exe" incorrect.
It looks like it's trying to find the path where the Cosmos package is installed by default. However, I installed Cosmos in a non-standard way.
As a result, it can't find the IL2CPU compiler
|
|
|
| Freezing nntp connect at port 563 for some addresses |
|
Posted by: AndrzejB - 01-03-2020, 06:30 PM - Forum: Indy
- Replies (2)
|
 |
IdNNTP1.Port:=563;
IdNNTP1.ConnectTimeout:=1500;
Freezing:
de.newsgroupdirect.com
nl.newsgroupdirect.com
us.newsgroupdirect.com
news.alt.net
news.panix.com
news.usenetexpress.com
newszilla.xs4all.nl
secure-eu.news.easynews.com
secure-us.news.easynews.com
secure.news.easynews.com
secure6.news.easynews.com
secure6.news.eu.easynews.com
secure6.news.us.easynews.com
Delayed:
news.usenet.farm
news.vipernews.com
|
|
|
| Webapplication.FormWidth inaccurate |
|
Posted by: bob9999 - 01-02-2020, 04:55 PM - Forum: IntraWeb General Discussion
- Replies (8)
|
 |
Hi there. I have been batting my head against a wall and I cannot seem to find a reliable way to get the form width at the client. Every browser is different and is really frustrating. I am trying to place a button to the right of the screen floating and cannot get a correct number to use for the left property. I tried to anchor right with no left and the button will just flip to the left of the screen whenever there is an ajax event so I have to set the left. I am using IW Version: 15.1.7.
I have a region with align top that I even tried to get its width in the onRender form event (see code below). THis has to be in the OnRender Event from what I have been seeing or the numbers are different and worse.
if (Webapplication.FormWidth < Self.Width) then
iWidth := Webapplication.FormWidth
else
iWidth := Self.Width;
if (iWidth > RegionHeaderTop.Width) then
iWidth := RegionHeaderTop.Width;
I am using 3 widths here to try to get the smallest to then use for my screen calculation but nothing is 100% reliable. From what I am seeing, there seems to be reliance of what the width is in design mode to what the last form was that the user loaded. At least with this code in the OnRender Event the button is somewhat stable.
Is there anyway to RELIABLY get the form width when the CURRENT form is loading in the browser?
Cheers.
|
|
|
| ISAPI DLL C++ Builder Question |
|
Posted by: ShaneStump - 12-28-2019, 02:19 AM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
Howdy All!
First, I hope everyone and their families have had a WONDERFUL and SAFE holidays!
I have a problem with my statically linked IW ISAPI DLL.
When the ISAPI dll is unloaded, after all else is released, I get an EAccessError on the final unload of the DLL in the exit code (Delphi).
I know what is causing the issue as I have had the same issue in my statically linked EXEs over the years: NexusDB memory manager.
NexusDB has stated that the NexusDB memory manager is only meant to be linked with 'Use Packages' in C++ Builder which is a BAD idea for my customers (and thus my sanity). I can't not use the NexusDB memory manager because it is used by NexusDB.
In my EXEs, I just call ExitProcess() in my main form's deconstructor after I know I have closed all connections and released all other resources I use.
Does anyone know how to do an equivalent when the DLL gets a DLL_PROCESS_DETACH message?
Thanks in advance and Happy New Year!
Shane
P.S. Update it turns out that ExitProcess(1) works out well in the DLL_PROCESS_DETACH also!
|
|
|
|