TTIWAdvWebGrid error

Thank you for informing.

Do you have any idea about recent updates or changes to the server regarding IntraWeb or IIS?

I am also getting both these errors as of late.


Error reading Grid.Indicators.Browse.Data: The parameter is incorrect.
Error reading Grid.Indicators.Edit.Data: System Error Code: 87.The parameter is incorrect




grid.Nodes.NodeOpen.Data: Could not load image. Invalid format


This one also

Hi,

The error you reported indicates that the images assigned to these properties are not accessible.
This is most likely a configuration issue on the server you are running the application on. 
Have there been recent software updates done on the server?

Can you please try to remove the images that are assigned to these properties by default?

Example:
  TIWAdvWebGrid1.Indicators.Browse := nil;


Please go through my entire post. There are properties you will have to physically clear even aftre setting them to nil by code. 


For myself, yes has been a number of changes.... but also a upgrades to TMS.

Our program is about 10 years old and the program ran very well. It went about two years

with no changes as it did everything it needed to.

So, when it came to finally do updates to the IW program, IW updates and TMS updates where done.

14.2.8 and 15.1.1 have been used with same results.

I will see about setting the NIL status to all the bitmap properties... ( they are all defaults )
I have this currently... and "seems" to be working now.
I can do a few thousand lookups and no more errors that
I was getting before.


    for x := 0 to ComponentCount - 1 do
    begin
      if (Components[x] is TTIWAdvWebGrid) then
      begin
        (Components[x] as TTIWAdvWebGrid).Nodes.NodeOpen := nil;
        (Components[x] as TTIWAdvWebGrid).Nodes.NodeClosed := nil;
        (Components[x] as TTIWAdvWebGrid).Indicators.Browse := nil;
        (Components[x] as TTIWAdvWebGrid).Indicators.Insert := nil;
        (Components[x] as TTIWAdvWebGrid).Indicators.Edit := nil;
        (Components[x] as TTIWAdvWebGrid).Glyphs.EditButton := nil;
        (Components[x] as TTIWAdvWebGrid).Glyphs.PostButton := nil;
        (Components[x] as TTIWAdvWebGrid).Glyphs.CancelButton := nil;
        (Components[x] as TTIWAdvWebGrid).Glyphs.DropDownImage := nil;
        (Components[x] as TTIWAdvWebGrid).Glyphs.SpinEditButtonDownImage := nil;
        (Components[x] as TTIWAdvWebGrid).Glyphs.SpinEditButtonUpImage := nil;
      end;
    end;