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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 83,443
» Latest member: jiliis
» Forum threads: 2,409
» Forum posts: 11,318

Full Statistics

Online Users
There are currently 454 online users.
» 5 Member(s) | 446 Guest(s)
Applebot, Bing, Google, 7v7vcyou, dentalzorg685, jiliis, livexoilacfulltv, uy88band

Latest Threads
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 12:19 AM
» Replies: 4
» Views: 4,178
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 12:04 AM
» Replies: 4
» Views: 562
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 34
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 739
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 116
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,629
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 560
Bootstrap5
Forum: IntraWeb General Discussion
Last Post: geraldtatum
06-02-2026, 06:24 AM
» Replies: 1
» Views: 451
weakpackageunit contains ...
Forum: IntraWeb General Discussion
Last Post: rlebeau
05-26-2026, 04:56 PM
» Replies: 4
» Views: 620
Custom 404 handler
Forum: IntraWeb General Discussion
Last Post: CfawesDwale
05-21-2026, 08:02 AM
» Replies: 0
» Views: 287

 
  2.0.28 with wrong net.mscorlib.dcu
Posted by: akac99 - 01-25-2019, 04:35 PM - Forum: CrossTalk General Discussion - No Replies

Hi,

I tried to install the latest version but now I got an error, that my 
net.mscorlib.pas has the wrong version (2.0.27).

This results come with Rio and Tokyo.

What can I do?
Alex

Print this item

  Crosstalk 2.0.28 with wrong net.mscorlib.dcu?
Posted by: akac99 - 01-25-2019, 04:30 PM - Forum: CrossTalk General Discussion - No Replies

Hi,

I installed the latest Update an now I got this error:

"'Unit net.mscorlib.pas is out of date

In the debugger I can see that the version 2.0.27.

What can I do?
Alex

Print this item

  UserSession and Datasets
Posted by: lfeliz - 01-25-2019, 02:59 PM - Forum: IntraWeb General Discussion - Replies (3)

Hello,

I recall some time in the past a post recommending that when utilizing data sets on user connection that is advised to reconnect the dataset to the db connection used in the usersession.  I no longer put datasets on forms.  I have never had any issue with apps I have developed, though I am always setting the db connection parameters when each session is being created, but leave all of the design time connections in place.  Anyway, I am currently working on app that may have hundreds of users I was just thinking if this was the recommended practice or am I good to keep doing the same as I always have done.

Thanks for listening.

Cheers!

Print this item

  IntraWeb and FastReports
Posted by: TonyNZ - 01-25-2019, 03:41 AM - Forum: IntraWeb General Discussion - Replies (12)

Delphi XEII
Intraweb 15.0.17
FastReport 14.14

Has anyone had any experience with FastReports and HttpSys (although IIS might exhibit the same issues)?

I've been running Intraweb 14.x as Indy SA servers. The UserSession contains the appropriate datasets and a TfrxReport component. Different reports are loaded at runtime. PDFs produced are saved to the UserCache and displayed. In the past that worked fine. I've upgraded to 15.x and also converted to using HttpSys and now get lots of errors such as blank PDFs (i.e. no data) or PDFs displaying data from a different UserSession. On that last one ... I checked that the pdf was in the appropriate user's cache (it was) and the session's query (dataset) contains the correct data. 

I've done much googling / checking both this and FastReport's forums. There is plenty of advice, such as "DO NOT leave ANY TfrxReport components on any form, frame or data module" (create / destroy them at runtime); EnableThreadSafe := true (didn't solve the problem); UseGlobalDataSetList := False (blank report); use threads.

Before I start writing a ton of code I just wondering if anyone else as struck similar issues and how they solved them.

Print this item

  AWS and Containers
Posted by: lfeliz - 01-24-2019, 10:48 PM - Forum: IntraWeb General Discussion - Replies (3)

Hello,

I am currently deploying an app on AWS, using 2 EC2 instances (VM's) and a Load balancer.  On each vm, I have 2 instances of my app running as a service.  Its overkill for my very small user base, but I expect it should easily handle 250+ users.  

I am next working on integrating some other AWS services(cloudfront and s3 ) before I look at containers and autoscaling on AWS.    Curious to know if anyone here has worked with containers running Windows in general and/or on AWS?

Cheers!

Print this item

  Stop the IdHTTP.Post stream upload without closing the connection
Posted by: vladimir - 01-24-2019, 07:16 PM - Forum: Indy - Replies (8)

Hi

Let's see if I can phrase my question well enough.
I use TIdHttp.Post (and Patch) requests to upload a source stream, like

Code:
fHTTP.Patch(URL, InputStream);

Is there some way to interrupt the uploading of the stream, as if the data has ended, but without raising exceptions and closing the connections?

I am migrating some Java code that deals with a tus server. And one of the methods seems to do exactly the above. It make a patch request, uploads a stream, but it also has the option to stop the upload. When it is stopped, the client stops uploading the stream, but afterwards still reads the response from the server over the same connection. That response contains information about the data uploaded.

Looking at the code I could not find a clever solution. The uploading of the stream is called by TIdCustomHTTP.ConnectToHost and handled inside TIdIOHandler.Write and WriteDirect. But I didn't see how it can be interrupted midway without raising an exception, which then closes the connection.

Using Delphi 10.1 with Indy that comes with it.

Thanks.

Print this item

  TIdCmdTCPServer customised Reply
Posted by: jollytall - 01-24-2019, 01:07 PM - Forum: Indy - Replies (2)

I try to implement a very simple set-up. An IdCmdTCPServer and an IdTCPClient. From the Client I send a Cmd and in the Reply I want to get a value from the server.
On the client side I have (properly built it Try..Except, etc, what I do not include here):

Code:
Log(IntToStr(IdTCPClient1.SendCmd('AAA 1',[200])));
Log(IdTCPClient1.LastCmdResult.DisplayName);

where Log is a procedure to display a string.

On the server side I have (again properly built around):

Code:
procedure TMyIdCmdTCPServer.OnCommandAAA(ASender: TIdCommand);
begin
  Log('Raw Line ' + ASender.RawLine);
  ASender.Reply.Text.Text := 'DT= ' + DateTimeToStr(Now);
end;

After connecting I send the comand from the client. What I get is "200 Welcome", what is obviously the default welcome message. If I send the Cmd again, from the same connect-disconnect session, then I get the proper DT= reply, with the Time of the PREVIOUS call. I can repeat it many times. So it is clear that the Reply.Text is set, but only after the Reply is sent to the client. At the second Cmd it sends the Reply set at the first Cmd, etc.

If I disconnect and connect again, then it forgets the set Reply and goes back to the Welcome message (this part I feel normal).

Similarly if I send an unknown command multiple times, the first Reply is still 200 Welcome and only the second gives the unknown command error.

What do I do wrong? How can I customise the Reply AFTER the Cmd is received (so i know what the question is) but BEFORE it is sent back to the client?

Print this item

  XSLT 2.0
Posted by: Mikael Nilsson - 01-22-2019, 01:38 PM - Forum: IntraWeb General Discussion - Replies (4)

Can I use XSLT 2.0 in Intraweb 14.x
if so how?

Print this item

  Httpsys application issues loading SSL
Posted by: bob9999 - 01-19-2019, 11:37 PM - Forum: IntraWeb General Discussion - Replies (7)

Hi there.  It became time to acquire a SSL certificate and then get my standalone httpsys application secured.  I looked into the demo that is provided on-line but that bombs with cannot find library or similar message.  I think this is from the 32 bit dll's being missing (libeay32 and ssleay32).

My application is 64 bit so I have the 64 bit versions of the above dll's in the same folder as my exe.  I also have the 3 certificate files in PEM format (key, cert and root) in the same folder.  My certificate is issued from https://www.digicert.com and is a RapidSSL certificate.

For my server controller, I mimicked the demo but have a blank password since apparently my files are not password protected.  SSLVersion is TLSv12 but I also tried SSLv3.  Port is 443 and non SSL is set to redirect so always in SSL.  SSL versions are all set to false like the demo.

My form is set to connection mode secure and I have the code "WebApplication.SwitchToSecure;" in the create form event for the main form of the application.

The app installs as a server just fine and starts.  When I try to load the site in SSL in firefox it reports an error:

Secure Connection Failed

The connection to the server was reset while the page was loading.

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.

From what I have read the system is rather automatic and just looks for the 3 certificate files and then uses the DLL's to load SSL.  I must be missing something simple here.  The only thing I can think of is my certificates have no header in them namely the bag information that I see in the demo equivalent files.

Any assistance would be welcome.  
Cheers.

Print this item

  ISAPI not included in your license with evaluation mode
Posted by: manderson9960 - 01-18-2019, 01:23 PM - Forum: IntraWeb General Discussion - Replies (16)

Greetings

I'm new to Intraweb, so I'm using the evaluation mode to do some testing.  I run delphi tokyo 10.2 on a windows 10 machine.  I create a simple isapi dll file and copy it to my IIS server (IIS 10 under windows server 12).  Every time I run it, I get the "ISAPI not included in your license" message.

I had performed the bundled uninstall on delphi.  I was under the assumption that evaluation mode would let me deploy to my server.  I am running under 127.0.0.1.

Could I still have some old intraweb files left over from the bundled version, or am I hitting another security nightmare from IIS?

Regards and thanks,

Mark

Print this item