Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, July 6, 2025 
 
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!
 Web Forums - SalesLogix Web Platform & Application Architect
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Unable to make a relationship to Address table?
Brian Mooy
Posts: 25
 
Unable to make a relationship to Address table?Your last visit to this thread was on 1/1/1970 12:00:00 AM
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)

[Reply][Quote]
Brian Mooy
Posts: 25
 
Re: Unable to make a relationship to Address table?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 May 09 10:39 AM
Since I can't remove this, I'd like to tell the OP that 'reading is fundamental' and that he should look about five posts down before getting all excited and hitting the 'new thread' button.

http://www.slxdeveloper.com/forum.aspx?forumid=4002&postid=21319

Thanks! Feel free to remove this thread!
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/6/2025 1:55:00 PM