I'm not sure what I've done wrong, but I'm getting this error when trying to get the Portal Accelerator installed on my webserver. I'm trying to use ASP.NET membership, but I'm not sure I've configured everything correctly. I would appreciate
any direction, and can supply more details if needed.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Index was outside the bounds of the array.
Line 75: <roleManager enabled="true" defaultProvider="CrmRoleProvider">
Line 76: <providers>
Line 77: <add name="CrmRoleProvider" type="Microsoft.Xrm.Portal.Web.Security.CrmContactRoleProvider"/>
Line 78: </providers>
Line 79: </roleManager>
Source File: C:\Program Files\Customer-Portal-R2\Website\web.config
Make sure that you have the /orgID in the connection string for XRM in your web.config. That's what fixed it for me.
<add name="Xrm" connectionString="Authentication Type=Passport; Server=https://orgname.crm.dynamics.com/orgid; User ID=xxx; Password=xxx; Device ID=xxx; Device Password=xxx"/><
add name="Live" connectionString="Application Id=xxx; Secret=xxx"/></