Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2021
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 2 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
i try synchronization database.
in Visual Studio --> Dynamics 365 --> Synchronize database.
i get error like this :
Error Table Sync Failed for Table: WHSDocumentRoutingLine Error: System.InvalidOperationException: Database execution failed: The index 'I_10058DOCUMENTROUTINGTABLEPRINTERNAMEIDX' is dependent on column 'PRINTERNAME'. 0
Error ALTER TABLE WHSDOCUMENTROUTINGLINE ALTER COLUMN PRINTERNAME NVARCHAR(250) NOT NULL ; 0
Error ---> System.Data.SqlClient.SqlException: The index 'I_10058DOCUMENTROUTINGTABLEPRINTERNAMEIDX' is dependent on column 'PRINTERNAME'. 0
i try restart services AOS in LCS --> Dev Environment --> Maintain --> Restart Service --> Batch. and then i try re-synchronize.
Actually, before synchronize, i change string size EDT 'Name', from 60 to 250.
and if i check in table WHSDocumentRoutingLine for field PrinterName use ExtendedDataType 'Name' and size automatic 250.
what can i do?
Please help me..
There's no solution for that.... I tried the same thing and got the same results. Maybe you can use other field ? Like description.
can you please explain in detail , how to solve this! i got the same error.(sync issue in D365)
You solve it by not changing the string size of Name.
If you already changed it, just change it back and do a db sync -> issue solved.
I tried the same solution as you suggested, somebody had an extension of name and changed to 250. i deleted the extension and done model build following the Full db sync.
But still DB sync failed and unable to open the user interface (link) in browser.
The next step is to analyze (read, share) the db sync error message. And gather more information about "unable to open the user interface".
With those details it might be possible to determine what is wrong.
Received same error while applying Service Update - 10.0.11 (Platform 35)
Resolved by deleting the index I_10058DOCUMENTROUTINGTABLEPRINTERNAMEIDX in DB through SQL Management Studio on table WHSDocumentRoutingLine
Hi Ali, I have the same problems, but I'm a bit skeptical of your solution. Before I do the same thing, can you please say if you had any further sync problems during deployment on UAT or Prod Environments afterwards? Or did your solution fix it all? Kind regards Katja Breuer
Did not face further issue after this, resumed the upgrade from LCS and it finished successfully.
Hi Katja, We did see this again in SandBox and resolved the same way there. We do not have production for this environment yet, this project is not live yet. What is your PU? I have seen a conversation about a related bug in older versions.
Hello Peter, we are running on PU34 and we also have no Prod-Env. yet. I think I will be able to fix it the same way on UAT and DEV-Sandboxes, on Build it works. But I don't know how we would fix it if it occurs on during Going-Live in a few month. I hope the next PU will solve it.
Business Applications communities