Thursday, November 20, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Bugs  Saving Roles...
 Saving Roles
 
mbloch
11 posts
Joined
2/7/2007

Saving Roles
Posted: 28 Dec 07 5:13 PM

When I try to save a role, I get the following error.

 Cannot insert the value NULL into column 'ACTION_ID', table 'SplendidCRM-Cvt41.dbo.ACL_ROLES_ACTIONS'; column does not allow nulls. INSERT fails. The statement has been terminated.

1) SQL profiler displays everything correctly.

Just wondering if anybody has seen this and knows of a fix.

 

 

support
2094 posts
1st
Joined
1/3/2006

Re: Saving Roles
Posted: 29 Dec 07 2:35 AM

It sounds like there is a missing record in the ACL_ACTIONS table.  When a module is created using the stored procedures, records are added to the ACL_ACTIONS table to define the types of actions that can be assigned.  Is it possible that you are missing the ACL_ACTIONS records for the specific module that you are trying to define a role for?

 

mbloch
11 posts
Joined
2/7/2007

Re: Saving Roles
Posted: 31 Dec 07 2:49 PM

Thanks,

That fixed the problem.  We improperly added a new module, those records were missing from the ACL_Actions table.

fabio.d
3 posts
Joined
1/18/2008

Re: Saving Roles
Posted: 18 Jan 08 10:27 AM Modified By fabio.d  on 1/18/2008 10:38:59 AM)
I have the same problem. Can you tell me what I have to do to solve this problem?
What are the correct values in the table ACL_ROLES for work properly.Thanks.
support
2094 posts
1st
Joined
1/3/2006

Re: Saving Roles
Posted: 18 Jan 08 12:07 PM

You need to run the spACL_ACTIONS_Initialize stored procedure.  You can do this directly using some SQL tool or you can just run the SplendidCRM Configuration Wizard.  If you use the wizard, just remember that it will overwrite any stored procedures or views that you have customized.  If you have not customized any, then the Wizard is your best bet.

 

  Mainstream Forums  Bugs  Saving Roles...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.
SplendidCRM and SplendidCRM Software are trademarks of SplendidCRM Software, Inc. SugarCRM is a trademark of SugarCRM Inc. in the United States, the European Union and other countries. All other trademarks used in this web site are the property of their respective owners.