Using Selfservicing against an SqlExpress2008 database (containing very little data), .Net 3.5 VS2008.
While trying to solve another issue (Linq related), I downloaded the latest build of the application (Build - April 15th, release May 12th 2009) from your website and installed it over the existing installation, also installed the runtime libraries (2.6.09.0512), and also the dll you attached to my earlier post with the Linq fix.
I made a minor change to my database and tried to run LLBLGen against it (which I have done thousands of times before). I received this message:
Message: An item with the same key has already been added.
Stack Trace: -----[Core exception]--------------------
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at SD.LLBLGen.Pro.ApplicationCore.Entities.EntityRelationCollection.Add(EntityRelation relationToAdd)
at SD.LLBLGen.Pro.ApplicationCore.Entities.EntityContainer.ConstructRelations(EntityDefinition entityToUpdate, Int32 recursionDepth)
at SD.LLBLGen.Pro.ApplicationCore.Entities.EntityContainer.Add(EntityDefinition definitionToAdd)
at SD.LLBLGen.Pro.ApplicationCore.Project.AddRawEntitiesToProject(ArrayList rawEntitiesToAdd)
at SD.LLBLGen.Pro.Gui.Forms.ProjectExplorer.RetrieveEntitiesFromCatalogs(EntityMapTargetElementType typeOfTarget)
at SD.LLBLGen.Pro.Gui.Forms.ProjectExplorer._menuItemEntitiesGetEntitiesOnTablesFromCatalog_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: mscorlib
I then removed all the entities from the project and tried a 'Refresh this catalog..', which succeeded, but when I tried to add all the entities back (selected them and pressed ok), I got the error.
I created a new project from scratch and tried again, but same problem. Screenshot attached.
I suspect that possibly some library is out of sync? Can you suggest a process whereby I could fix this problem?
Attachments
Filename |
File size |
Added on |
Approval |
error.JPG
|
27,531 |
15-May-2009 03:36.27 |
Approved |