Hello there,
I have successfully upgraded from CRM 2011 to CRM 2013. Later I installed CRM 2015 and imported it with Deployment Manager without any errors.
But when I upgrade to 2016, I get the following error.
21:35:55|Verbose| DatabaseAction execution time; Bin\Microsoft.Crm.Setup.DiffBuilder.dll:CreateDefaultFullTextCatalog; 00:00:00
21:35:55| Info| Adds Missing AttributeLookupValue for Custom Activities' sendermailboxid attribute.
21:35:55|Verbose| Adding missing attribute lookup value for the sendermailboxid attribute
21:35:55|Verbose| Error occurred: System.IndexOutOfRangeException: attributeid
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at System.Data.SqlClient.SqlDataReader.get_Item(String name)
at Microsoft.Crm.SE.DllMethodActions.AddMissingSenderMailboxIdAttributeLookupValue.Execute()
21:35:55| Info| CrmAction execution time; UpgradeDatabaseAction; 00:00:05.3126870
21:35:55| Error| Installer Complete: OrganizationUpgrader - Error encountered
21:35:55| Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationUpgrader: Error.ActionFailed Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction
InnerException:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: attributeid
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at System.Data.SqlClient.SqlDataReader.get_Item(String name)
at Microsoft.Crm.SE.DllMethodActions.AddMissingSenderMailboxIdAttributeLookupValue.Execute()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId, Nullable`1 operationType)
at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
InnerException:
System.IndexOutOfRangeException: attributeid
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at System.Data.SqlClient.SqlDataReader.get_Item(String name)
at Microsoft.Crm.SE.DllMethodActions.AddMissingSenderMailboxIdAttributeLookupValue.Execute()
*This post is locked for comments
We ended up working around the issue by searching for all the custom activity entities that use sendermailboxid lookup field. Luckily we had only one of them and it was just a test entity and we were able to delete it. After the deletion and restoring the database and restarting the import wizard it resolved.
System.IndexOutOfRangeException: attributeid
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at System.Data.SqlClient.SqlDataReader.get_Item(String name)
at Microsoft.Crm.SE.DllMethodActions.AddMissingSenderMailboxIdAttributeLookupValue.Execute()
Same issue. Any info on solution?
If we need to execute an update on table field properties, which table is it?
I've run into a similar issue; I have been unable to import one of my custom Solutions CRM 2016; it fails on the field sendermailboxid in a custom activity entity.
Import error message: "Invalid name for field 'sendermailboxid'. Custom field names must start with a valid customization prefix. The prefix for a solution component should match the prefix that is specified for the publisher of the solution."
This is what I've found:
Customized activities were introduced in CRM 2011.
The Mailbox entity was introduced in CRM2013.
The sendermailboxid field was added in the 2013 upgrade.
Has anyone been able to import a Solution into CRM 2016 with a custom activity entity that is email-enabled?
Hi,
Is there any news for this case?
Hi Serkan,
Is there any news about it? How did you solve it?
Best Regards
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156