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.
emendezsolisAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
BlackTigerXConnect With a Mentor Commented:
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
 
joncmoraConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.