Solved

Variant or safe array is locked error en Delphi 7

Posted on 2004-10-06
4
3,620 Views
Last Modified: 2008-02-26
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
Comment
Question by:emendezsolis
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
BlackTigerX earned 65 total points
ID: 12244292
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
 

Author Comment

by:emendezsolis
ID: 12248456
I am using Delphi 7 and yes it used to work before!
0
 

Assisted Solution

by:joncmora
joncmora earned 60 total points
ID: 12255681
is your xml formatted properly?
0
 

Author Comment

by:emendezsolis
ID: 12262072
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now