If the connection is lost ( bad Internet ), the timer does not recover when the connection reappears. How to resume the timer when the connection is active again ?
The timer is triggered 1 time per second. I use the method OnAsyncTimer.
I represent RH3 Software and our license is active for Intraweb in version 14.0.31. We have developed a web portal with this technology, a legacy product of our company.
Recently some of our customers have complained about a problem that is taking our sleep: at some point, not specific, the use of the portal, the browser simply displays a blank page and it is as if the service had been deleted and just restarted the IIS. the portal returns to normal.
We have already activated the "ExceptionLogger" log of the ServerController and set the output to a file, in the same directory as the DLL. The place is allowed to read and write. But absolutely nothing is recorded. Not even the file is actually created.
This same portal runs on our internal structure and nothing goes wrong. But in these clients, "failure" persists.
Does anyone with a similar problem or with any one say so we can debug or find fault?
Forgive me for opening another thread but it is essential here that I get this going - I have staked my reputation on IntraWeb against almost irresistable opposition from the VS dot crap camp - so to recap ...
I have a clean install of XE7 on a 64-bit W7 PC with the latest IntraWeb release freshly downloaded and installed according to the instructions including removing the bundled edition. On 32-bit platform an app builds and runs perfectly just like I am used to.
I start a new project in a new and completely different directory, adding 64-bit platform and removing 32-bit platform, I put a button on the IW form and build...
So, I try renaming _tWinMain to just WinMain and rebuild - success !
Then I run the app, which immediately crashes out with "The application was unable to start correctly (0x0000007b)."
So there was obviously a reason why WinMain was renamed. Now I am stumpped and need to make progress...
Help Alexandre my hero !!!
PS I should have said - I'm using C++ Builder not Delphi.
PPS...
Since the whole rational behind this new project is to add a Web form to the 64-vit VCL app....
I tried adding IW to a VCL application using the technique I developed last year (and which was so successful I published it in the then C++ Builder Journal) thinking this would navigate around the Linker error - which it did. But unfortunately the program still crashed out on start-up with the same Unable to start correctly ... error as above.
I am quite willing to pay for support and a solution !
Hello I try to send an email using IdSMTP and IdMessage. I define all the settings: When I try to send to my email and define: Msg.Recipients.EMailAddresses := 'myemail@zahav.net.il' its work ok When I try to send to my Gmail email and define: Msg.Recipients.EMailAddresses := 'myemail@gmail.com' Its raise an error "Relaying not allowed"
Why?
Hi, I am updating some old projects to 64-bit versions. To that end I have re-ibstalled my trusty C++ Builder XE7 Enterprise in a nice new Windows 7 64-bit PC (it has to be W7), and downloaded the latest IW 15.0.17, installed it (meticulously following the guide and tool for removing pre-existing stuff), and registered it with my licence.
All is well in 32-bit mode, I started regaining familiarity by the simplest possible project, that has just a button that changes caption when clicked. Compiles and runs fine under 32-bit platform.
So I add 64-bit platform to the project, select same and completely re-build, which all went well until:
Referring to something I found on-line, I ensured that Link with Dynamic RTL is UNCHECKED as is Link with Runtime Packages but still the same error. Not sure what I have done wrong ?
I have a third party javascript component that attaches itself to a an Input control (say TIWBSInput for example). The component will update the text value of attached input control if the user changes anything.
As soon as the Text field of the TIWBSInput field is updated, I need to update a few other variables. The SetText method is virtual and I have modified it to no avail.
None of the AsyncChange, etc get called of the TIWBSInput.
So here is my question: since the Text of the TIWBSInput is obviously getting updated, how can I get notified when it does?
try
RisultatoPost := lHTTP.Post(Comando, lParamList);
except
on E: EIdHTTPProtocolException do
begin
Memo1.Lines.Add(E.ErrorMessage);
end;
end;
finally
lHTTP.Free;
end;
finally
lParamList.Free;
end;
end;
I have this error:
{"timestamp":"2019-03-01T21:45:29.634+0000","status":400,"error":"Bad Request","message":"JSON parse error: Unexpected character ('%' (code 37)): expected a valid value (number, String, array, object, 'true', 'false' or 'null'); nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character ('%' (code 37)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: (PushbackInputStream); line: 1, column: 2]","path":"/core-trasmissione-rest-fattura/services/invoice/upload"}
Questo metodo deve essere utilizzato dall’OE per effettuare l’invio di una fattura già nel formato XML secondo norme AGID, ma non ancora firmata digitalmente. HTTP request
Code:
POST /services/invoice/upload HTTP/1.1
Accept: application/json
Authorization: Bearer NLOGDVXLVaF3tzmnVPkTwpkuh7dG0i09uSCcog3u+rE=
Content-Type: application/json;charset=UTF-8
I parametri [i]"domain" e "credential" rappresentano rispettivamente il dominio e le credenziali di firma automatica se possedute dall’utente, in caso contrario lasciare tali campi vuoti.[/i] Request headers Name Description
Code:
Authorization
Provisioner access token Request fields Path Type Description