Error during upgrade to NAV 2013 R2

TimoBo
Member Posts: 31
During the upgrade from NAV 2013 to NAV 2013 R2 an error occurs when trying to open the Windows Client to perform Upgrade Step 2.
The database is installed locally on a SQL 2008 R2 instance. The NAV Service runs on the Network Service user which is sysadmin. My Windows user is also sysadmin. I have restarted the service. The license has been upgraded to a 2013 R2 development license. I have followed all upgrade steps as described on MSDN.
I noticed that an other user also mentioned this problem in this topic: viewtopic.php?f=32&t=59261&start=30 but nobody responded.
Any advice would be appreciated.
--------------------------- Microsoft Dynamics NAV Development Environment --------------------------- The following SQL error was unexpected. Cannot drop the index 'dbo.CRONUS Ltd_$Vendor Ledger Entry.$15', because it does not exist or you do not have permission. Caution: Changing any part of an object name could break scripts and stored procedures. Caution: Changing any part of an object name could break scripts and stored procedures. Caution: Changing any part of an object name could break scripts and stored procedures.
The database is installed locally on a SQL 2008 R2 instance. The NAV Service runs on the Network Service user which is sysadmin. My Windows user is also sysadmin. I have restarted the service. The license has been upgraded to a 2013 R2 development license. I have followed all upgrade steps as described on MSDN.
I noticed that an other user also mentioned this problem in this topic: viewtopic.php?f=32&t=59261&start=30 but nobody responded.
Any advice would be appreciated.
0
Comments
-
try and see if there are any disabled keys and remove them from the table.0
-
Try requesting the latest NAV 2013 R2 Platform HF build - this issue must be fixed there.0
-
dmc-dk wrote:Try requesting the latest NAV 2013 R2 Platform HF build - this issue must be fixed there.
What does HF means? How to request the latest? via Partner source?0 -
mdPartnerNL wrote:dmc-dk wrote:Try requesting the latest NAV 2013 R2 Platform HF build - this issue must be fixed there.
What does HF means? How to request the latest? via Partner source?
HF - Hot Fix0 -
Yes, while typing I understood
therefore the other questions: How to request the latest? via Partner source?
0 -
mdPartnerNL wrote:Yes, while typing I understood
therefore the other questions: How to request the latest? via Partner source?
I didn't find it on partner source.0 -
mdPartnerNL wrote:Yes, while typing I understood
therefore the other questions: How to request the latest? via Partner source?
If you have a PartnerSource account you can check the latest here.* Daniele Rebussi * | * Rebu NAV Diary *0 -
geordie wrote:mdPartnerNL wrote:Yes, while typing I understood
therefore the other questions: How to request the latest? via Partner source?
If you have a PartnerSource account you can check the latest here.
On this link only update for NAV 2013 not for 2013 R20 -
The first update for NAV 2013 R2 has not been released so no need to look for it.________________________________
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com0 -
The hotfix pages for both 2013 and 2013 R2 can be found here:
http://blogs.msdn.com/b/nav/archive/2013/11/22/upgrade-toolkit-for-upgrading-data-from-microsoft-dynamics-nav-2009-r2-and-microsoft-dynamics-nav-2009-sp1-to-microsoft-dynamics-nav-2013-r2.aspx
Kind regards,
DMC0 -
I got the same error when upgrading from 2013 to 2013R2.
My observation is that Navision is naming the indexes different in 2013 and 2013R2. In 2013 the indexes are named 0,1,2,3,.. based on the active keys. In 2013R2 the numbers comes the key index both active and non-active.
When you have 2 inactive indexes on Vendor Ledger Entry , the 15th index is named COMPANYNAME$Vendor LedgerEntry.$13 in 20013 and COMPANYNAME$Vendor LedgerEntry.$15 in 20013R2.
I fixed it by creating a index COMPANYNAME$Vendor LedgerEntry.$15 on Vendor Ledger Entry from SQL, before importing the 2013R2 objects0 -
Looks to be the solution, thx for the help and lets wait for the topicstarters reaction.0
-
Thanks for the input. We have applied a workaround by simply enabling all the keys in the table in NAV before upgrading and resetting the keys after upgrading. By enabling all the keys the necessary SQL indexes are created beforehand and the error is avoided. This is basically the same solution as Juha suggested.0
-
Hi,
I am facing the same issue, but couldn't able to resolve it.
Steps i followed.
1. Normal Converting of db.
2. Merging the difference and then i imported the .txt files into the Nav 2013R2 demo (new db)->got the fobs->imported in converted db..before the data upgrade.
And i got the same error.
Note- i know the fob must not be uploaded now, its used while data upgrade, but i was having the same issue with Nav 2013R2 db in which i imported the merged objects.
After compiling i face the same issue.
](*,) ](*,) ](*,) ](*,) ](*,)0 -
Did you download the NAV 2013 R2 Update Rollup 1 and replaced the platform files?
Can be downloaded here: https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;en-us;2901573
Announced here: http://blogs.msdn.com/b/nav/archive/2013/11/30/announcement-of-update-rollups-for-microsoft-dynamics-nav-2013-r2.aspx
Kind regards,
DMC0 -
Thanks Dmk-Dk0
-
Does anyone have a solution to fix this system wide as a one-shot deal? We've got an ISV solution with hundreds of tables and over the course of the last 2 years we've disabled many keys throughout the system in order to increase performance. Now after upgrading our product to 2013 R2, we have countless tables that cause index errors and require manually updating the indexes in SQL Mgmt Studio. This is crazy!! ](*,)0
-
daborg download the update. it fixes your issuesdmc-dk wrote:Did you download the NAV 2013 R2 Update Rollup 1 and replaced the platform files?
Can be downloaded here: https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;en-us;2901573
Announced here: http://blogs.msdn.com/b/nav/archive/2013/11/30/announcement-of-update-rollups-for-microsoft-dynamics-nav-2013-r2.aspx
Kind regards,
DMC0 -
ara3n wrote:daborg download the update. it fixes your issuesdmc-dk wrote:Did you download the NAV 2013 R2 Update Rollup 1 and replaced the platform files?
Can be downloaded here: https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;en-us;2901573
Announced here: http://blogs.msdn.com/b/nav/archive/2013/11/30/announcement-of-update-rollups-for-microsoft-dynamics-nav-2013-r2.aspx
Kind regards,
DMC
Are anybody test thit KB: When you add a new field or change or delete an existing field in an existing table, you receive the following error message: "The table definition is invalid and cannot be validated"0 -
Set the tools->Option "Prevent data loss from table changes" to No0
-
ara3n wrote:daborg download the update. it fixes your issues
I'm not convinced this actually does fix the issue. I have a few machines where the user has done this and the issue still exists and anytime they import modifications to tables that are affected by the indexing issue, they get errors and have to manually fix the indexes in SQL.
The full scope of what has happened is that the 2013 database was initially opened by the original released 2013 R2 client, not the hot fixed one. Even after applying the hot fix and recompiling everything (with the prevent data loss setting off) the issue still exists and the indexes are still numbered like they are in 2013, not like they are in 2013 R2. #-o0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions