6/29/2025 6:32:20 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.
|
|
|
|
Can't view Account Detail - Index was outside the bounds of the array
Posted: 23 Jul 10 9:34 AM
|
When navigating to the Account Detail page, I get the below error. Has anyone seen this before? Thank you.
2010-07-23 09:25:45,745 ERROR Global - Unhandled exception. System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at Sage.SalesLogix.Security.FieldLevelSecurityService.GetAccessForProperty(IPersistentEntity entity, String propertyName) at Sage.Platform.EntityBinding.SecuredPropertyDescriptor.GetAccess(Object component) at Sage.Platform.EntityBinding.SecuredPropertyDescriptor.Sage.Platform.EntityBinding.ISecuredPropertyDescriptor.GetAccess(Object component) at Sage.Platform.ComponentModel.ComponentViewPropertyDescriptor.GetAccess(Object component) at Sage.Platform.ComponentModel.ComponentViewPropertyDescriptor.Sage.Platform.EntityBinding.ISecuredPropertyDescriptor.GetAccess(Object component) at Sage.Platform.EntityBinding.PropertyBinding.HydrateComponent() at Sage.Platform.EntityBinding.PropertyBinding.OnBind() at Sage.Platform.WebPortal.Binding.WebEntityBinding.OnBind() at Sage.Platform.EntityBinding.EntityBinding.Bind(Object entity, Boolean metadataChanged) at Sage.Platform.EntityBinding.EntityBinding.Sage.Platform.EntityBinding.IEntityBinding.Bind(Object entity, Boolean metadataChanged) at Sage.Platform.EntityBinding.EntityBindingSource.Bind(Boolean metadataChanged) at Sage.Platform.EntityBinding.EntityBindingSource.Bind() at Sage.Platform.WebPortal.SmartParts.EntityBoundSmartPart.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.account_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
C. Burriss |
|
|
|
Re: Can't view Account Detail - Index was outside the bounds of the array
Posted: 23 Jul 10 6:11 PM
|
Chris,
This usually means you have invalid id values for a field Like a Pick List that stores a Picklist ID instead of its value.
If you run SLXProfiler before you open the record and check it right after you get the error you should see the table that cant find the reference.
Best, Brian
|
|
|
| |
|
Re: Can't view Account Detail - Index was outside the bounds of the array
Posted: 26 Jul 10 4:55 PM
|
Looks like your field security profiles are corrupt. This is a common occurrence in 7.5.1. What version are you running? If it's 7.5.2 or later, you can re-build these by making a change to the profile in Administrator, and then closing the field security profile dialog. Re-open, then go in and undo your change.
If you're on 7.5.1, you may need to fix the sectabledefs table first. This involves eliminating any duplicate values in the fieldoffset column (more than one row with a zero is OK), and then possibly moving the highest value to somewhere where a gap exists. I believe there is a HF for this issue in 7.5.1.
Note - be sure to backup the DB or at least the sectabledefs table before changing any values! |
|
|
|
Re: Can't view Account Detail - Index was outside the bounds of the array
Posted: 26 Jul 10 5:42 PM
|
Mike,
We stumbled onto that conclusion just as you posted. One of the fields had set itself to no access and this was causing the web form to blow up. I've seen BS like this happen with field-level security on a few occasions. Thank you very much for your assistance.
C. Burriss |
|
|
|
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!
|
|
|
|
|
|
|
|