Page 1 of 1
MyDAC 5.0.1.6 trial BDS2006, Vista- install problem
Posted: Mon 14 May 2007 18:33
by farhad
I installed MyDAC trial version on BDS 2006 and Vista.
I can use th components, however I've following problems:
- get error when I close BDS
- when compile and run project occasionally I get error "Unable to insert item" in the project. Then there is no way to open any unit. Need to close BDS and reopen.
Any ideas
Thanks
Posted: Tue 15 May 2007 07:41
by Graf
We need some additional information to find out the reason of such behaviour.
1) Please provide the exact error message (including call stack, if possible) that is raised on closing your BDS.
2) If it is possible, provide the call stack of the Unable to Insert Item error.
Posted: Tue 15 May 2007 13:44
by farhad
1) Error closing BDS
There is no message from BDS when I close it. It just gets closed, BDS window disappears, the I get this new popup message from Windows Vista : (I translate since I have Vista in French)
Borland Developer Studio for Windows has stopped running.
A problem made the program stop running correctly. Windows will close the program and tells you if a solution is available.
And only when I click on the bds.exe thread is killed.
I uninstalled MyDAC trial, the problem was gone. I then reinstalled MyDAC trial, and the problem is back again.
I don’t know if there is any way to make a call stack, since BDS is already closed.
My Vista professional version is French.
2) Error: Unable to insert an item
I noticed so far this error occurs under following conditions.
My project has over 100 forms using BDE that I’m trying to convert to MyDAC. I’ve already converted about 50 forms to MyDAC, using one TMySQLConnection for the whole project and almost one TMyQuery per each form.
When I open the project, I can open any form, change code or insert item. I then compile and run the project, everything is OK during the run time. When I stop the runtime and back to the project in IDE and try to open some forms containing a BDE or MyDAC component, I get one or several messages:
Error reading Form. Unable to insert an item. Ignore the error and continue? NOTE : Ignoring this error may cause components to be deleted or property values to be lost.
Giving choices : Ignore, Cancel, Ignore all
After Cancelling I get Error Message : Error creating form, Unable to insert an item. The form is not opened, or when opened there is nothing in the design window.
Call Stack (ctrl+alt+s) indicates process is not accessible.
I close the project, reopen it and again I can open forms until I compile and run.
This is the first time I'm using MyDAC. I wonder if this is because I have BDE and MyDAC in same project or this is just in MyDQC trial and will not appear in full version.
Thanks for any help or idea.
Posted: Tue 15 May 2007 14:23
by Graf
Do you use original (English) BDS or a localized one?
Please try to uninstall DataSet Manager (call the Packages dialog from Component | Install Packages menu of your IDE, find the "CoreLab DataSet Manager" package, and remove it). Does the problem disappeared?
Posted: Tue 15 May 2007 15:21
by farhad
I use original BDS in English, on Vista in French.
YES, I uninstalled CoreLab DataSet Manger from my Packages and the error "Unable to insert an item" disappeared (error 2).
I still get the Windows Error on closing BDS (error 1), this comes even if I just open and close BDS without loading any project. Do you also have a nice idea for this error.
Thanks Graf.
Posted: Wed 16 May 2007 12:07
by Jackson
Thank you for information.
We have reproduced the problem with AV failure on Delphi 2006 exit and fixed it.
This fix will be included in the next build of MyDAC 5.
Posted: Wed 16 May 2007 14:05
by farhad
Nice to know you found and will fix the issue.
I continue converting my projects from BDE to MyDAC.
Thank you Jackson