Page 1 of 1

Dataset and Dataset Wizard errors

Posted: Fri 15 Feb 2008 21:04
by blang
I'm using Delphi 2005 Architect and MySQLDirect .NET 4.30 with MySQL 5.0

When I attempt to add a table with the Dataset Wizard everything works fine until I try to generate the Dataset. It gives me an error message that says "Method not found: System.String Borland.Studio.ToolsAPI.IOTAProject.GetModuleFileName(Int32)."

When I try to add a MySQLDataSet component directly from the palette I get a different error message "File or assembly name CoreLab.Data.Design, or one of its dependencies, was not found."

Previously I had Delphi 2007 but MySQLDirect .NET doesn't support it. So I had to uninstall Delphi 2007 and ASP.NET 2.0 and before installing Delphi 2005 and the ASP.NET 1.1. I've tried uninstalling and reinstalling a few times to no avail.

If there is anything that I left out or I should add to help diagnose the problem please let me know.

If someone could help me or point me in the right direction it would most appreciated. Until I solve this problem this software is useless to me.

Please I need help!
Thank you.

Posted: Mon 18 Feb 2008 12:46
by Alexey.mdr
We didn't encounter such problems with Delphi 2005 version 9.0.1791.24408 Update 1.
Try installing an update pack on the Delphi IDE.

Error with MySQLDataSet

Posted: Mon 25 Feb 2008 22:47
by blang
Thanks installing the Delphi updates solved the issue with the Dataset Wizard. I can create a Dataset now. But it creates a dataset.xsd file that doesn't seem to be accessible from the webform.

I'm still getting the same error when I try to add a MySQLDataset component directly to the form: "File or assembly name CoreLab.Data.Design, or one of its dependencies, was not found."

Here are the details:

[021CE373]{dotnetaspide90.bpl} ASPEditorFrm.TAspEditorDropTarget.Drop (Line 1658, "ASPEditorFrm.pas" + 38) + $29
[40009475]{rtl90.bpl } System.@CheckAutoResult (Line 17428, "system.pas" + 6) + $0
[775F8EC3]{ole32.dll } StgGetIFillLockBytesOnFile + $86CB
[775F9105]{ole32.dll } StgGetIFillLockBytesOnFile + $890D
[775CFCE3]{ole32.dll } CreateDataCache + $3CD8
[775CFB6D]{ole32.dll } CreateDataCache + $3B62
[007100D7]{coreide90.bpl} ToolFrm.TToolForm.BeginOleDrag (Line 1904, "ToolFrm.pas" + 30) + $2B
[0071025D]{coreide90.bpl} ToolFrm.TToolForm.PaletteBeginDrag (Line 1939, "ToolFrm.pas" + 2) + $0
[00539E4E]{vcl90.bpl } Controls.TControl.WMMouseMove (Line 5067, "Controls.pas" + 8) + $1A
[0053CF02]{vcl90.bpl } Controls.TWinControl.WndProc (Line 6673, "Controls.pas" + 51) + $4
[4003EEC0]{rtl90.bpl } Classes.StdWndProc (Line 11456, "classes.pas" + 8) + $0
[7E418731]{user32.dll } GetDC + $6A
[7E418811]{user32.dll } GetDC + $14A
[7E41C63A]{user32.dll } IsWindowUnicode + $9C
[7E41F658]{user32.dll } CallWindowProcA + $16
[0070DF19]{coreide90.bpl} ToolFrm.TToolForm.PaletteHook (Line 994, "ToolFrm.pas" + 19) + $1E
[4003EEC0]{rtl90.bpl } Classes.StdWndProc (Line 11456, "classes.pas" + 8) + $0
[7E418731]{user32.dll } GetDC + $6A
[7E418811]{user32.dll } GetDC + $14A
[7E4189C8]{user32.dll } GetWindowLongW + $122
[7E4196C2]{user32.dll } DispatchMessageA + $A

Do I need to start from scratch and reinstall windows? Any other suggestions? Thanks for your help.

Posted: Tue 26 Feb 2008 14:15
by Alexey.mdr
Try adding the path to CoreLab.Data.Design in Installed Components

Posted: Thu 28 Feb 2008 21:08
by blang
OK that seemed to work. Thanks again.

Posted: Fri 29 Feb 2008 13:11
by Alexey.mdr
We are glad that the problem is solved now.
Feel free to contact us.