2/21/2025 10:58:49 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 .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
|
|
|
|
The constraint cannot be loaded.
Posted: 27 Dec 07 1:31 PM
|
SalesLogix version 7.01 - SQL Server 2005 Got a couple of .NET extensions in my database here, and today I updated the code for one of them. After building the application again, I log into architect, and go to Manage - .NET Extensions. I get an unhandled exception error message right away: The constraint cannot be enabled as not all values have corresponding parent values.
If I continue, the manager comes up, but without any extensions in it. If I try to do anything, I get another exception - Object reference not set to an instance of an object.
Sounds to me like a SQL Server thing, so I log into SQL Management Studio and see that there are no constraints on any of the NetForms tables. Could this be an index issue? Anyone have any ideas for me?
|
|
|
|
Re: The constraint cannot be loaded.
Posted: 24 Mar 08 12:54 PM
|
After 3 months, SLX tech support came up with a solution for this one (well, I refined it a little bit). I'm posting it here just in case someone else runs into this. SalesLogix was able to reproduce this error. Here's what to do:
1.) Restore the database to a test environment. 2.) "Select Distinct(EntryPointId) From Netforms_Plugin" 3.) one at a time... "Delete From Netforms_Plugin Where EntryPointId = 'IDFrom2'" 4.) Try to open .Net Extensions Manager 5.) When I found the offending extension, I reloaded the test environment, and just deleted that one EntryPointId 6.) Delete that row from the production database 7.) open .Net Extensions Manager, and re-add the extension that you deleted.
All should be well now.
|
|
|
|
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!
|
|
|
|
|
|
|
|