• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4187
  • Last Modified:

Variant or safe array is locked error en Delphi 7

When I drop a clientDataSet component in a DataModule and set its property FileName to a XML file and activate it (active = true) I get the error "Variant or safe array is locked" why is this and how can I solve it.
0
emendezsolis
Asked:
emendezsolis
  • 2
2 Solutions
 
BlackTigerXCommented:
just make sure that you have all the updates (service packs) to Delphi

specifically that might have something to do with the version of MIDAS.DLL you have

what version of Delphi are you using?

have you been able to use those components before?
0
 
emendezsolisAuthor Commented:
I am using Delphi 7 and yes it used to work before!
0
 
joncmoraCommented:
is your xml formatted properly?
0
 
emendezsolisAuthor Commented:
I reinstalled Delphi and that fixed the error. I do not know what happened, it just start working fine after the reinstallation. I wil split points between you guys since you were the only ones that tried to help me. Thanks. Ernesto
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now