| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 86,097
» Latest member: Ad88black
» Forum threads: 2,413
» Forum posts: 11,329
Full Statistics
|
| Online Users |
There are currently 404 online users. » 1 Member(s) | 399 Guest(s) Applebot, Bing, Google, Yandex, Ad88black
|
| Latest Threads |
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
07-14-2026, 06:27 AM
» Replies: 6
» Views: 766
|
Need Help Integrating Mic...
Forum: IntraWeb General Discussion
Last Post: capheny
07-07-2026, 06:43 AM
» Replies: 0
» Views: 129
|
OpenSSL and concurrent re...
Forum: Indy
Last Post: kbriggs
07-05-2026, 02:41 PM
» Replies: 5
» Views: 437
|
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: vonirpereira
07-03-2026, 06:51 PM
» Replies: 0
» Views: 177
|
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
07-03-2026, 06:35 PM
» Replies: 0
» Views: 110
|
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-01-2026, 12:19 AM
» Replies: 4
» Views: 4,372
|
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 152
|
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 919
|
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 170
|
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 71,314
|
|
|
| ..Picture.Data error. Why ? bug in IW ? |
|
Posted by: SorenJensen - 02-04-2020, 08:41 PM - Forum: IntraWeb General Discussion
- Replies (7)
|
 |
Hi All,
I have a form with an IwImage onto which I have loaded a BMP image.
In the DFm file the def is:
object BTN_SoegVejning2: TIWImage
Left = 192
Top = 14
Width = 20
Height = 20
Hint = 'Click to open a search window'
ShowHint = False
RenderSize = False
StyleRenderOptions.RenderSize = False
BorderOptions.Width = 0
TabOrder = -1
UseSize = False
OnClick = BTN_SoegVejning2Click
Picture.Data = {
07544269746D6170E6040000424DE60400000000000036000000280000001400
0000140000000100180000000000B0040000120B0000120B0000000000000000
0000D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3
D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3E2DCD9C4BFBDE4DEDBFDF6F3D3D3
D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3
D3D3D3D3D3D3D3D3D3D3D3B0ACAA8C8A8A66666694918FF2ECE9D3D3D3D3D3D3
D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3
D3D3D3D3B8B4B27272717B7B7B5B5B5B605E5ED5CFCDD3D3D3D3D3D3D3D3D3D3
D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3B3AEAC
7271718484846060604F4F4F898685E3DDDBD3D3D3D3D3D3D3D3D3D3D3D3D3D3
D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3B9B5B37372728B8B8B5A
5A5A494949878483D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3E0D8D5CDC4BE63594F
8A7E729C8F838F84796C645CD2CBC6E3DCD8C8C2BF9593915D5D5D4F4F4F9593
91D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3B4ACA695887D918172B6A79AC6B9AECE
C0B5CFBFB3C8B8ABAB9D92A89C92A79A8F958D86585755969392D3D3D3D3D3D3
D3D3D3D3D3D3D3D3D3B6AEA8887B6EA49587C6BDB3E8E3E0F1ECE9F4EDE8F2E6
DF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B9BE9F8B96816F887C73DDD5D1D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3
D3C9C1BCB3A99FD1C3B5DECDC0EAD6CAEED8CCEED7CBE9D2C4DDC6B8BAA3919B
86747E7166ACA5A0D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3
CAC2BDC2B8AFC2B6ABD2C2B5D4C2B4D1BDAFC9B6A6BAA89897887995897EB1AA
A4D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3
D3D389837E857C74B3A79BB4A89CA094886E655CCFC7C1E1DAD5D3D3D3D3D3D3
D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3D3}
FriendlyName = 'BTN_SoegBruger'
TransparentColor = clNone
JpegOptions.CompressionQuality = 90
JpegOptions.Performance = jpBestSpeed
JpegOptions.ProgressiveEncoding = False
JpegOptions.Smoothing = True
end
Thus the image is loaded into the form as a series of HEX values, and not an image on a hard drive location anymore.
So when I create the form, and get this error message, aborting the creation of the form:
Error reading BTN_SoegVejning2.Picture.Data: System Error. Code: 87. The Parameter is incorrect.
The error is shown as a pop-up box with a n OK button, and when clicking it, the program is returned to where the formcreation was called.
I would like to know what I can do to avoid that error.
As it is not a file on a drive, it is not a question about access rights, or false directory specifications, but only a question of reading the HEX values from the form, which is compiled into the exe file. So what is it ? and is there anything different I can do to avoid this problem ?
The program runs as a SA HTTP.SYS service on a Wondows 2016 Server.
Regards
Soren
|
|
|
| ERROR: AV's and IWButton.picture.data: the parameter is incorrect |
|
Posted by: SorenJensen - 02-04-2020, 12:21 PM - Forum: IntraWeb General Discussion
- Replies (38)
|
 |
Hi Guys,
After much developing, today it was finally time to have multi users testing the multiform application. A number of errors came up, mostly "Access Violation" but also many of them relating to IWButton1.picture.data:
Error reading IWButton1.Picture.Data: System Error. Code: 87. The parameter is incorrect .
In the errorllog the last executed line is: System.Classes.HandleException (Line 11150, "System.Classes.pas" + 5) + $47
Access Violation errors shown was (last executed line from the errorlog):
AV: System.Classes.TList.Get (Line 4927, "System.Classes.pas" + 3) + $3
AV: Vcl.Graphics.DeselectBitmap$qqrp9HBITMAP__ (Line 7155, "Vcl.Graphics.pas" + 6) + $A
AV: IWContainer.TIWContainerImplementation.get_IWComponentsCount (Line 713, "IWContainer.pas" + 0) + $0
AV: System.@FillChar$qqrpvic (Line 12064, "System.pas" + 3) + $0
I have ServerController properties set as follows:
Cominitialization = ciMultiThreaded
Cookieoptions.UseCookies = true
Cookieoptions.SessionCookies = true
Sessionoptions.UniqueUrl = true
Showstartparams = true
Can anybody tell me what is wrong, and if possible explaining why it happens and what to do to try to resolve the problems, please.
Regards
Soren
Added after post: I forgot to mention that during development time, even with multiple session in tabs in the browser, I have not had ANY of the above errors. It is as if they are multiuser related in some way, but as I do not know, I am just guessing. And I have tested both on my development machine (using Cassini) and after uploading to server, running it as a SA HTTP.SYS service. Both locally and server based at the same time, and using both Edge ans IE11 at the same time.
Could it be access to the location on the server ? If it is looking for the wwwroot dir in the location of the exe-file, should the users have rights to access that directory ?
|
|
|
| Scalabilty intraweb app |
|
Posted by: Anto90 - 02-04-2020, 10:05 AM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
Hi,
I ask for advice on scalability as our project is growing very quickly. I would need to scale my application (it is compiled as isapi.dll) giving more servers for our website and then dividing the database and directing requests to the different servers. I read about the Octagate product to sort requests to various servers. What are the guidelines for doing this? Can anyone give me some explanation on this?
Thank you
Andrea
|
|
|
| Help me! LoadError |
|
Posted by: joaomariok - 02-03-2020, 06:43 PM - Forum: COSMOS
- Replies (1)
|
 |
Hello, I'm trying to create and use a demo of cosmos. I managed to create the demo via powershell, but when I execute .\Laucher, this error pops up:
---------------------------
Error Starting COSMOS Tool
---------------------------
LoadError:cannot load such file -- 2.6/qtruby4
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/qtbindings-4.8.6.5-x64-mingw32/lib/Qt4.rb:25:in `require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/qtbindings-4.8.6.5-x64-mingw32/lib/Qt4.rb:25:in `<top (required)>'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/qtbindings-4.8.6.5-x64-mingw32/lib/Qt.rb:1:in `require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/qtbindings-4.8.6.5-x64-mingw32/lib/Qt.rb:1:in `<top (required)>'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cosmos-4.4.1/lib/cosmos/gui/qt.rb:80:in `require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cosmos-4.4.1/lib/cosmos/gui/qt.rb:80:in `<top (required)>'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cosmos-4.4.1/lib/cosmos/gui/qt_tool.rb:12:in `require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cosmos-4.4.1/lib/cosmos/gui/qt_tool.rb:12:in `<top (required)>'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cosmos-4.4.1/lib/cosmos/tools/launcher/launcher.rb:13:in `require'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cosmos-4.4.1/lib/cosmos/tools/launcher/launcher.rb:13:in `block in <top (required)>'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cosmos-4.4.1/lib/cosmos/top_level.rb:556:in `catch_fatal_exception'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/cosmos-4.4.1/lib/cosmos/tools/launcher/launcher.rb:12:in `<top (required)>'
C:/cosmos_demo/tools/Launcher:14:in `require'
C:/cosmos_demo/tools/Launcher:14:in `block in <main>'
C:/cosmos_demo/tools/tool_launch.rb:16:in `tool_launch'
C:/cosmos_demo/tools/Launcher:13:in `<main>'
Note: Ctrl-C will copy this information to the clipboard.
---------------------------
OK
---------------------------
What can I do to use it?
Thannks in advance,
João Mário
|
|
|
| Help with THTTPServer |
|
Posted by: andym2 - 02-03-2020, 10:19 AM - Forum: Indy
- Replies (6)
|
 |
I need some help using THTTPServer under Delphi,
I am attempting to write a server that will handle some client based data forms.
I can receive the POST transaction through CommandGet, and can read the data fields passed in the RequestInfo.Params.Values data elements with no problem.
But I am totally at a loss on how to send back the new data field values to the client.
Any help would be appreciated.
|
|
|
| Error in 15.1.9 cannot read property set of null |
|
Posted by: PDSBILL - 01-31-2020, 08:12 PM - Forum: IntraWeb General Discussion
- Replies (6)
|
 |
I have app the runs great both as a exe and dll under 15.0.17. App uses TMS components.
when run as exe under 15.1.9 i get the folllowing errors.
Any idea where to start looking?
Uncaught TypeError: Cannot read property 'set' of null
at findCssRuleFromSelector (IWCommon__ED5C788A0.js:3281)
at findCssRule (IWCommon__ED5C788A0.js:3313)
at internalGetElementCssRule (IWCommon__ED5C788A0.js:3355)
at getElementCssRule2 (IWCommon__ED5C788A0.js:3397)
at HTMLSpanElement.IWCL_SetRect [as SetRect] (IWCL__ED5C788A0.js:492)
at DoUpdateRects (IWCL__ED5C788A0.js:1218)
at DoAlign (IWCL__ED5C788A0.js:1272)
at HTMLDivElement.IWCL_UpdateRects [as UpdateRects] (IWCL__ED5C788A0.js:1302)
at DoUpdateRects (IWCL__ED5C788A0.js:1221)
at DoAlign (IWCL__ED5C788A0.js:1272)
Actual code from chrome debugger (bold line is what is identifed as error line)
function findCssRuleFromSelector(sheet, selectorName, sheetIdx) {
var rules = IW.CSS.getCSSRules(sheet);
if (rules && rules.length) {
for (var j = rules.length - 1; j >= 0; j--) {
if (rules[j].selectorText && (rules[j].selectorText === selectorName)) {
// save it in CSS rule cache
cssRuleCache.set(selectorName, { sheet: sheetIdx, rule: j });
return rules[j];
}
}
}
return null;
}
|
|
|
| Unable to uinstall Intraweb XIV |
|
Posted by: Craig Burke - 01-31-2020, 06:35 PM - Forum: IntraWeb General Discussion
- Replies (7)
|
 |
I am currently running XE7 with the bundled version. I just purchased Ultimate for SSL functionality.
From the Programs and Features there is IntraWeb XIV though when I try to uninstall it I get the error
Runtime Error (at 90:259):
Could not call proc.
When I run the current IWBundledRemovalTool it states:
Process finished.
IntraWeb bundled files were not found. Probably they have been already removed.
The actual location of the two bpl files is C:\Program Files (x86)\IntraWeb XIV\Bin
How do I uninstall XIV and install the XIV Ultimate version?
TIA,
Craig
|
|
|
| Getting "Invalid page context" exceptions after upgrade to 15.1.12 |
|
Posted by: magosk - 01-31-2020, 02:30 PM - Forum: IntraWeb General Discussion
- Replies (17)
|
 |
Hi! We have just upgraded three of our web applications (let's call them A, B, and C) from IW 15.0.15 to 15.1.12, where we make use of some of the new security features. After this, we have started to get EIWSecurityException exceptions with message 'Invalid page context' in our maintenance logs. Most of them are related to two distinct and reproducible cases in application B, but we have so far also seen two cases in application A which as of yet are more difficult to analyze.
Case 1 (in application B) do you get when you click on a button on a mobile friendly page, built with CGDevTools JQuery Mobile controls. The server side (async) button click event handler looks like this:
Code: procedure TEmIndClientAppAlertActivationWebForm.ActivateButtonJQMButtonOptionsEventsVClick(
Sender: TObject; AParams: TStringList);
begin
WebApplication.GoToURL(ActivateURL);
end;
The link still seems to work functionally for the user (in this case it opens up a specific app on the smartphone). The exception log comes a few hundred milliseconds after the button click has been logged (you do not see the logging code above, it is made in a base form just before this method is called). If you look at the call stack, there is nothing from our own code there, just internal IntraWeb stuff.
Case 2 comes from a login page in B which uses only standard IntraWeb controls. When the user clicks the Login button, we generate a redirect response (302) in order to prevent the browser from storing the login credentials in its cache. This is a solution (for a finding in a penetration test) that we developed together with Alexandre a few years ago. What we do in this case is basically the following:
Code: procedure TBaseIndClientLoginWebDialog.LoginButtonClick(Sender: TObject);
begin
LoginProgressRegion.Visible := True;
LoginTimer.Enabled := True;
TransferLoginCredentialsFromEditsToServerVariables();
ReportInformation('Protecting sensitive POST by using a redirect');
WebApplication.Response.Code := 302;
WebApplication.Response.AddHeader('Location', WebApplication.Request.Referer);
end;
Again, it still seems to work functionally for the user, but the exception is logged a few hundred milliseconds after the click event. Sometimes it is also followed by a EInvalidAppID exception with message 'Session context is not valid'. What is interesting is that web application A also has a login page with almost identical code, but there you get no error. There is one security related setting that differs between applications A and B. In A we use the following:
CheckFormId=True
CheckSameIP=False
CheckSameUA=False
CheckWindowId=True
ForceAjaxPost=False
PreventDoubleSubmission=True
RandomTempFileNames=True
ShowSecurityErrorDetails=True
SurrogateSessionId=True
together with
AllowMultipleSessionsPerUser=True (which should translate to SessionOptions.UniqueURL=True, right?)
What differs in B (where we get the exceptions) is that we for now are forced to run with SurrogateSessionId=False due to an as of yet unsolved problem with a CGDevTools control.
A note: I tried setting CheckWindowId=False (as this property was added since 15.0.15) for application B but it made no difference.
Thankful for feedback on this. Is there something that needs to be corrected in IW code, or can we change our code somehow to avoid the problems?
Best regards
Magnus Oskarsson
|
|
|
|