rappen / AutoNumManager

XrmToolBox plugin to manage Auto Number attributes in Microsoft Dynamics 365
http://anm.xrmtoolbox.com
GNU General Public License v3.0
9 stars 7 forks source link

Error when trying to remove Auto Numbering from a field #6

Closed kevinmatos closed 6 years ago

kevinmatos commented 6 years ago

Hello, I set a field as an auto-numbering field and then tried to undo the customization by removing the sequence and updating the field. I received an "Unhandled Exception" error and now every view that the field was referencing has become in-editable and I cannot even remove the field from the system views to remove the dependencies and delete the field. Is there a better way to undo the auto-numbering on a field without error, or fix my views so I can delete the dependencies and the field and try again with a new one? Thank you, Kevin

rappen commented 6 years ago

Hi, that sounds really unpleasant... :-/ It sounds like something failed and left the attribute in some limbo state. During tests I have removed numbering both by clearing the number format and updating the attribute, and by deleting the attribute entirely. This worked. (to clear the number you must however check the "Don't require SEQNUM" checkbox, otherwise an exception is shown, this is a bug)

Was the attribute in question a new attribute that you created using ANM, or was it an existing attribute?

kevinmatos commented 6 years ago

Hello Jonas,

Thank you for the prompt response.

I tried clearing the number format and updating the attribute, but that is where I got the exception error. I also just tried it again with the “Don’t require SEQNUM” checkbox selected and it seemed to work with no errors. But when the ANM reloads the field in question still appears as an auto numbering attribute, and I continue to have the same issues as stated in my email.

The attribute was an existing one created in CRM and not with the ANM. I wasn’t able to delete it either through the ANM or CRM, as it has 18 dependencies. The remaining dependencies are system views that I cannot re-create, which I now cannot edit or remove the field in question as the views show with no fields in them (see screenshot below).

Please let me know if there is a step I am missing in this process of removing the field as an auto number attribute or another way I can troubleshoot this issue.

Thank you,

Kevin Matos Senior Consultant: Customer Engagement Karabina ™

rappen commented 6 years ago

You did it the right way, what CRM did we can only guess... You could try deleting the attribute using XrmToolBox plugin Attribute Manager.

kevinmatos commented 6 years ago

Hello Jonas,

Thank you for the recommendation. Between the Attribute Manager and View Designer plugins on XrmToolBox, I was able to remove all the view dependencies and delete the attribute. Now all the views designer in CRM shows the fields as it did originally, so problem solved!

Thank you again for your prompt assistance.

Just a suggestion: I hope that in the future you can consider incorporating a way to populate the auto numbering to an attribute on trigger of a workflow or based on a condition, rather than just on create of the record.

Regards,

Kevin Matos Senior Consultant: Customer Engagement Karabina ™

rappen commented 6 years ago

Glad to hear it got solved!

That is a good suggestion, which is probably possible in many third party solutions for auto numbering. ANM however is merely a UI to the built in CRM functionality for auto numbers, and for this it is not possible to do so. You can read more about the functionality here: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/create-auto-number-attributes I also suggest that you submit an idea at http://crmideas.dynamics.com for the features you would like to see from Microsoft!

rasotoipc commented 6 years ago

I am attempting to use the AutoNumber feature. I used the system "name" field which is the primary field for the entity since it is a text field. This has caused all types of trouble were the name field has now disappeared from the entity to add to views and other form related issues. How do I remove the AutoNumber feature on a system field?

rappen commented 6 years ago

Can you verify the version of your CRM instance? I have recently discovered a bug in CRM for auto number attributes, which has been reported to and confirmed by Microsoft.

kevinmatos commented 6 years ago

Hello Jonas, our CRM is online v9. I also noticed that any entities to which I apply the auto-numbering to disappear from the solution, including the default solution. Thank you, Kevin

Get Outlook for iOShttps://aka.ms/o0ukef


From: Jonas Rapp notifications@github.com Sent: Friday, February 23, 2018 10:30:54 PM To: rappen/AutoNumManager Cc: Kevin Matos; Author Subject: Re: [rappen/AutoNumManager] Error when trying to remove Auto Numbering from a field (#6)

Can you verify the version of your CRM instance? I have recently discovered a bug in CRM for auto number attributes, which has been reported to and confirmed by Microsoft.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/rappen/AutoNumManager/issues/6#issuecomment-368130202, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ai9hm9XHd6-8iVi5gAIzT6anv-VQH6hLks5tXx_7gaJpZM4SLnSi.

rappen commented 6 years ago

Sounds like it is related to the problem I have seen in version 9.0.1.x. Another symptom has been that views containing auto number attributes cannot be customized anymore. Let's just cross our fingers that MS provides a fix soon.

rasotoipc commented 6 years ago

Hey Kevin, I am encountering the same problem. The entity has disappeared in the solution and default solution but if you create a new solution, you can see it and add it to the new solution. Unfortunately, the solution component disappears again within the solution.

I did a comparison with the custo9mization.xml and found the "DisplayMask" tag is updated and I believe this is why the entity disappears. I too have a pending ticket with Microsoft on this.

image002

rappen commented 6 years ago

Sorry to hear that @rasotoipc, and thanks for your investigation. Is your ticket with MS public so we can all track any progress there?

AdamGra commented 6 years ago

Hi Jonas, I too am seeing some of the issues stated above. Once I configure a field for auto number I noticed it's set to 'not searchable', and this cannot be changed. Also the field cannot be added to any forms or views as it just doesn't appear in the list of available fields. I created a new attribute and added it the Active Contacts view before configuring the field for auto number. When I return to the view editor the autonumber column does not appear and neither do any columns to the right of it, but I can see them in the published view. Back to the editor, clicking add columns does nothing and as I cannot see the autonumber column I cannot remove it, but the dependency is there looking at the field. I tried removing the autonumber configuration using Auto Number Manager but I got an error that it was expecting a {SEQNUM;n} value, as a last resort I deleted the attribute using Attribute Manager. I've experienced all these issues in 9.0.1 also.

rappen commented 6 years ago

@AdamGray77 I can only say that I feel your pain. This is a Microsoft issue that we are all hoping to be resolved as soon as possible. I am trying to track with MS to get info about the progress.

rappen commented 6 years ago

@kevinmatos @rasotoipc @AdamGray77

I just got confirmed that the problem is identified and the fix is planned for release in end of April 2018. The date is not fixed, if we are lucky it could be released earlier than that :)

kevinmatos commented 6 years ago

Hello Jonas,

Thank you very much for the feedback and updates. Glad to hear that a fix will be applied with the next release.

Regards,

Kevin Matos Senior Consultant: Customer Engagement Karabina ™

dejmjin commented 6 years ago

Hi @rappen ,

Do you have a reference id for the issue that has been confirmed by Microsoft? I also have a ticket open with their support for the same issue.

Thanks, Damian

tdutch1 commented 6 years ago

I ran into the same problem many of you described. I'm working in a v9 sandbox and added an auto-number definition to the default name field on a custom entity. After doing that, the entity no longer appears in any solution (even the default solution), thus it's not possible to make further changes to the entity without navigating to the entity info/edit page directly. Even with that, the name field is locked down and it's not possible to edit any views.

After our demo on Monday, we're hoping that we can delete the custom entity and start over with a new one without any problems. Of course, we won't be using the built-in auto-numbering again until Microsoft can confirm that they've fixed (and tested) everything.

rappen commented 6 years ago

@dejmjin Unfortunately I have not been able to get any reference for the MS internal issue.

dejmjin commented 6 years ago

Thanks @rappen - I'm in contact with both Microsoft Support and FastTrack to try and get a fix for this issue.

syntax922 commented 6 years ago

I can confirm that there's a release fix for this (9.0.1.621 should have it). However, while that release fix allows for views to be modified, it does not allow for modifying the field (i.e. turn on/off auditing). There is a separate ticket for that (I don't have a public # for it).

rappen commented 6 years ago

Thanks for the update!

rappen commented 6 years ago

Closing this issue now as it appears MS have released a bug fix for it. Feel free to reopen or create a new issue if more problems occur!

rappen commented 6 years ago

Update notes: https://support.microsoft.com/en-us/help/4099130

ramakanta090 commented 6 years ago

Thanks....

ramakanta090 commented 6 years ago

Hi, I have tried to remove the auto number from the primary attribute but i am getting the same error again.Can you please help See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.FormatException: Format string must contain a {SEQNUM:n} placeholder. at Rappen.XTB.AutoNumManager.AutoNumMgr.ParseFormatSEQNUM(String format, String seed) at Rappen.XTB.AutoNumManager.AutoNumMgr.WriteAttribute(Boolean update) at Rappen.XTB.AutoNumManager.AutoNumMgr.btnCreateUpdate_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.7.2115.0 built by: NET47REL1LAST CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

XrmToolBox Assembly Version: 1.2017.10.19 Win32 Version: 1.2017.10.19 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/XrmToolBox.exe

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.7.2117.0 built by: NET47REL1LAST CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.7.2110.0 built by: NET47REL1LAST CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

XrmToolBox.Extensibility Assembly Version: 1.2017.7.10 Win32 Version: 1.2017.7.10 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/XrmToolBox.Extensibility.DLL

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.2110.0 built by: NET47REL1LAST CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Microsoft.IdentityModel Assembly Version: 3.5.0.0 Win32 Version: 10.0.15063.0 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.IdentityModel/3.5.0.0__31bf3856ad364e35/Microsoft.IdentityModel.dll

System.IO.Compression.FileSystem Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression.FileSystem/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll

XrmToolBox.PluginsStore Assembly Version: 1.2017.10.7 Win32 Version: 1.2017.10.7 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/XrmToolBox.PluginsStore.DLL

NuGet.Core Assembly Version: 2.12.0.817 Win32 Version: 2.12.0.817 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/NuGet.Core.DLL

McTools.Xrm.Connection Assembly Version: 1.2017.10.15 Win32 Version: 1.2017.10.15 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/McTools.Xrm.Connection.DLL

McTools.Xrm.Connection.WinForms Assembly Version: 1.2017.10.15 Win32 Version: 1.2017.10.15 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/McTools.Xrm.Connection.WinForms.DLL

Microsoft.Xrm.Sdk Assembly Version: 9.0.0.0 Win32 Version: 9.0.9002.0 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/Microsoft.Xrm.Sdk.DLL

Microsoft.Xrm.Sdk.Workflow Assembly Version: 9.0.0.0 Win32 Version: 9.0.9002.0 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/Microsoft.Xrm.Sdk.Workflow.DLL

Microsoft.Crm.Sdk.Proxy Assembly Version: 9.0.0.0 Win32 Version: 9.0.0.2090 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/Microsoft.Crm.Sdk.Proxy.DLL

Microsoft.Xrm.Tooling.Connector Assembly Version: 3.0.0.0 Win32 Version: 3.0.0.877 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/Microsoft.Xrm.Tooling.Connector.DLL

Microsoft.IdentityModel.Clients.ActiveDirectory Assembly Version: 2.29.0.1078 Win32 Version: 2.29.40822.1520 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/Microsoft.IdentityModel.Clients.ActiveDirectory.DLL

Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms Assembly Version: 2.29.0.1078 Win32 Version: 2.29.40822.1520 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.DLL

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

McTools.StopAdvertisement Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/McTools.StopAdvertisement.DLL

System.Xml.Linq Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.ComponentModel.Composition Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll

Carfup.XTBPlugins.DeltaAssemblyCRM Assembly Version: 1.2017.6.4 Win32 Version: 1.2017.6.4 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/CARFUP.XTBPLUGINS.DELTAASSEMBLYCRM.DLL

DamSim.SolutionTransferTool Assembly Version: 1.2016.10.3 Win32 Version: 1.2016.10.3 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/DAMSIM.SOLUTIONTRANSFERTOOL.DLL

DamSim.ViewTransferTool Assembly Version: 1.2017.1.2 Win32 Version: 1.2017.1.2 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/DAMSIM.VIEWTRANSFERTOOL.DLL

Develop1.XrmTBPlugin.RibbonWorkbench2016 Assembly Version: 3.1.177.1 Win32 Version: 3.1.177.1 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/DEVELOP1.XRMTBPLUGIN.RIBBONWORKBENCH2016.DLL

DLaB.EarlyBoundGenerator Assembly Version: 1.2017.11.14 Win32 Version: 1.2017.11.14 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/DLAB.EARLYBOUNDGENERATOR.DLL

Javista.XrmToolBox.ImportNN Assembly Version: 1.2017.11.7 Win32 Version: 1.2017.11.7 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/JAVISTA.XRMTOOLBOX.IMPORTNN.DLL

MsCrmTools.AccessChecker Assembly Version: 1.2016.5.1 Win32 Version: 1.2016.5.1 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.ACCESSCHECKER.DLL

MsCrmTools.AssemblyRecoveryTool Assembly Version: 1.2016.5.1 Win32 Version: 1.2016.5.1 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.ASSEMBLYRECOVERYTOOL.DLL

MsCrmTools.AttributeBulkUpdater Assembly Version: 1.2016.11.1 Win32 Version: 1.2016.11.1 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.ATTRIBUTEBULKUPDATER.DLL

MscrmTools.AttributeUsageInspector Assembly Version: 1.2017.11.6 Win32 Version: 1.2017.11.6 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.ATTRIBUTEUSAGEINSPECTOR.DLL

MsCrmTools.AuditCenter Assembly Version: 1.2016.9.1 Win32 Version: 1.2016.9.1 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.AUDITCENTER.DLL

MsCrmTools.DocumentTemplatesMover Assembly Version: 1.2016.8.2 Win32 Version: 1.2016.8.2 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.DOCUMENTTEMPLATESMOVER.DLL

MsCrmTools.FetchXmlTester Assembly Version: 1.2016.8.23 Win32 Version: 1.2016.8.23 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.FETCHXMLTESTER.DLL

MsCrmTools.FlsBulkUpdater Assembly Version: 1.2016.12.1 Win32 Version: 1.2016.12.1 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.FLSBULKUPDATER.DLL

MsCrmTools.FormRelated Assembly Version: 1.2017.12.3 Win32 Version: 1.2017.12.3 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.FORMRELATED.DLL

MsCrmTools.Iconator Assembly Version: 1.2017.10.6 Win32 Version: 1.2017.10.6 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.ICONATOR.DLL

MscrmTools.ManagedSolutionDeletionTool Assembly Version: 1.2016.11.1 Win32 Version: 1.2016.11.1 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.MANAGEDSOLUTIONDELETIONTOOL.DLL

MsCrmTools.MetadataBrowser Assembly Version: 1.2017.12.4 Win32 Version: 1.2017.12.4 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.METADATABROWSER.DLL

MsCrmTools.MetadataDocumentGenerator Assembly Version: 1.2016.8.23 Win32 Version: 1.2016.8.23 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.METADATADOCUMENTGENERATOR.DLL

MscrmTools.PortalCodeEditor Assembly Version: 1.2017.8.5 Win32 Version: 1.2017.8.5 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.PORTALCODEEDITOR.DLL

MscrmTools.PortalRecordsMover Assembly Version: 1.2017.7.3 Win32 Version: 1.2017.7.3 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.PORTALRECORDSMOVER.DLL

MsCrmTools.SampleTool Assembly Version: 1.2016.8.23 Win32 Version: 1.2016.8.23 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.SAMPLETOOL.DLL

MsCrmTools.ScriptsFinder Assembly Version: 1.2017.12.6 Win32 Version: 1.2017.12.6 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.SCRIPTSFINDER.DLL

MsCrmTools.SecurityRelated Assembly Version: 1.2016.11.1 Win32 Version: 1.2016.11.1 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.SECURITYRELATED.DLL

MsCrmTools.SiteMapEditor Assembly Version: 1.2017.4.10 Win32 Version: 1.2017.4.10 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.SITEMAPEDITOR.DLL

MsCrmTools.SolutionComponentsMover Assembly Version: 1.2016.6.3 Win32 Version: 1.2016.6.3 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.SOLUTIONCOMPONENTSMOVER.DLL

MsCrmTools.SolutionImport Assembly Version: 1.2016.8.23 Win32 Version: 1.2016.8.23 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.SOLUTIONIMPORT.DLL

MscrmTools.SyncFilterManager Assembly Version: 1.2017.3.1 Win32 Version: 1.2017.3.1 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.SYNCFILTERMANAGER.DLL

MsCrmTools.SynchronousEventOrderEditor Assembly Version: 1.2016.8.23 Win32 Version: 1.2016.8.23 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.SYNCHRONOUSEVENTORDEREDITOR.DLL

MsCrmTools.Translator Assembly Version: 1.2017.4.5 Win32 Version: 1.2017.4.5 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.TRANSLATOR.DLL

MsCrmTools.UserSettingsUtility Assembly Version: 1.2017.8.6 Win32 Version: 1.2017.8.6 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.USERSETTINGSUTILITY.DLL

MsCrmTools.ViewLayoutReplicator Assembly Version: 1.2017.4.4 Win32 Version: 1.2017.4.4 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.VIEWLAYOUTREPLICATOR.DLL

MsCrmTools.WebResourcesManager Assembly Version: 1.2017.10.13 Win32 Version: 1.2017.10.13 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/MSCRMTOOLS.WEBRESOURCESMANAGER.DLL

Rappen.XTB.AutoNumManager Assembly Version: 1.2017.10.8 Win32 Version: 1.2017.10.008 CodeBase: file:///C:/USERS/RKB/APPDATA/ROAMING/MSCRMTOOLS/XRMTOOLBOX/PLUGINS/RAPPEN.XTB.AUTONUMMANAGER.DLL

System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.7.2110.0 built by: NET47REL1LAST CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

System.Design Assembly Version: 4.0.0.0 Win32 Version: 4.7.2094.0 built by: NET47REL1LAST CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll

System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

MetadataViewProxies_0b660f70-4c42-4b48-80d6-283fc687e964 Assembly Version: 0.0.0.0 Win32 Version: 4.7.2046.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll

System.Web.Extensions Assembly Version: 4.0.0.0 Win32 Version: 4.7.2110.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll

Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll

PresentationFramework Assembly Version: 4.0.0.0 Win32 Version: 4.7.2117.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll

WindowsBase Assembly Version: 4.0.0.0 Win32 Version: 4.7.2117.0 built by: NET47REL1LAST CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

PresentationCore Assembly Version: 4.0.0.0 Win32 Version: 4.7.2117.0 built by: NET47REL1LAST CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

Newtonsoft.Json Assembly Version: 9.0.0.0 Win32 Version: 9.0.1.19813 CodeBase: file:///D:/Ramakanta/Tools/XrmToolbox/Newtonsoft.Json.DLL

Microsoft.CSharp Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Dynamic Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 4.7.2115.0 built by: NET47REL1LAST CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Data.Services.Client Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Services.Client/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Services.Client.dll

System.ComponentModel.DataAnnotations Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll

System.ServiceModel Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll

System.Web.Services Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 14.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

System.Deployment Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll

SMDiagnostics Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

System.ServiceModel.Internals Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll

Microsoft.VisualStudio.Diagnostics.ServiceModelSink Assembly Version: 4.0.0.0 Win32 Version: 16.0.71.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Diagnostics.ServiceModelSink/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll

System.ServiceModel.Channels Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Channels/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Channels.dll

System.IdentityModel Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll

Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.IdentityModel.Selectors Assembly Version: 4.0.0.0 Win32 Version: 4.7.2046.0 built by: NET47REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel.Selectors/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.Selectors.dll

System.Xaml Assembly Version: 4.0.0.0 Win32 Version: 4.7.2117.0 built by: NET47REL1LAST CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

rappen commented 6 years ago

Hi @ramakanta090 The actuall error message is somewhere at the top: Format string must contain a {SEQNUM:n} placeholder. This is a bug in ANM at the moment, if you check the Don't require SEQNUM checkbox before clicking Delete attribute, you should be good to go.

image

ramakanta090 commented 6 years ago

Thanks a lot...It saves my Day..you are CRM Champion....

kevinmatos commented 6 years ago

Good Day,

I created separate entities to hold my auto-numbering records, and set the auto-numbering attribute as the ‘name’ field for the entity. Shortly after creating the entities, they disappear from my Solution Explorer in both the original solution in which I added the entity, as well as the Default Solution. So I no longer have any way to access this entity from any solution if I want to make changes to the entity.

Please advise.

Thank you,

rappen commented 6 years ago

Hi, I think I have heard that there can be a problem in the platform when you assign auto number format to the primary attribute. My advise would be to raise a ticket with Microsoft, as this is outside the control of ANM.

mmartyna commented 6 years ago

hi there, are there still issues with the platform and the autonumbering feature or has MS resolved all of them? Do entities still disappear?

tdutch1 commented 6 years ago

@mmartyna I recently added an auto-number to the primary field of a custom entity and everything appears to be working fine. The version of the instance I applied the auto-number to is 9.1.0.643.

mmartyna commented 6 years ago

is there a way to remove auto-numbering feature from an attribute without deleting the attribute from the system?

rappen commented 6 years ago

Hi @mmartyna Yes you can remove the numbering format without deleting the attribute, see my first comment at the top of this thread: https://github.com/rappen/AutoNumManager/issues/6#issuecomment-367085003