7/6/2025 1:29:58 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
Unable to make a relationship to Address table?
Posted: 14 May 09 10:12 AM
|
In app architect 7.5.1 when I try to set up a relationship in the Application Architect to the Address table (originally from a custom entity, but apparently it happens from any entity - for example, setting up a relationship from ADDRESS.entityID to ACCOUNT.AccountID) I get the following error:
"An application exception has occurred.
Additional Information: Value cannot be Null. Parameter name: key (mscorlib)
It seems like something is not configured correctly in the Address entity under 7.5.1. I can confirm that this used to work under 7.2 and 7.5 without SP1, but I do not know if it was broken within a service pack somewhere.
Looking into the details of the bug to find the program location, I find the following information under details (which unfortunately explains very little to me):
===================================
An application exception has occurred.
===================================
Value cannot be null. Parameter name: key (mscorlib)
------------------------------ Program Location:
at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Collections.Generic.Dictionary`2.FindEntry(TKey key) at System.Linq.Enumerable.d__1d`1.MoveNext() at System.Linq.Enumerable.d__a4`1.MoveNext() at System.Linq.Enumerable.d__1d`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Sage.Platform.Orm.Entities.EntityNameCreationService.GenerateUniquePropertyName(OrmEntity entity, String baseName) at Sage.Platform.Orm.Entities.EntityNameCreationService.CreateName(OrmEntity entity, Type objectType, String baseName) at Sage.Platform.Orm.Entities.OrmRelationship..ctor(OrmEntity parentEntity, OrmEntity childEntity, String cardinality, OrmEntityProperty parentProperty, OrmEntityProperty childProperty, CascadeOption cascadeOption) at Sage.Platform.Orm.Entities.OrmEntity.CreateChildRelationship(OrmEntity child, String cardinality, OrmEntityProperty parentProperty, OrmEntityProperty childProperty, CascadeOption cascadeOption) at Sage.Platform.AdminModule.EntityModel.EntityModelCommands.NewRelationshipCommand(Object sender, EventArgs args) at Sage.Platform.Application.UI.Command.OnExecuteAction(Object sender, EventArgs e) at Sage.Platform.Application.UI.CommandAdapter.FireCommand() at Sage.Platform.Application.UI.EventCommandAdapter`1.InvokerEventHandler(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)
|
|
|
| |
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|