Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

SQL Error when doing Ax 2012 CU3 TO Ax 2012 R2 In-Place Upgrade

$
0
0

Hi,

I still have problems getting the CU3 to R2 data upgrade. Below are the steps which we followed

We already have code upgrade done from CU3 to R2. We only have to do data upgrade from CU3 to R2.

Below are the steps we followed

AX2012 CU3 database

1. Deleted all Foundation upgrade objects and then synchronized the database. No syc errors.

2. No modifications to the core system classes (Application, Global, Info, Session)

3. None of batch jobs are in Waiting status

4. Took the DB backup

AX2012 R2 machine

1. Have restored the above CU3 database and provided full access to the current user to the DB

2. Client, debugger and AOS are already installed

3. Uninstalled the existing R2 AOS

4. Machine have enough space and 8 GB RAM

5. Have Exported the model store from R2 model database for already upgraded code from CU3 to R2 (this backup is taken from a different machine)

6. Run the AX2012 R2 setup and choose Database as the only option on the setup window. Choose to Configure an existing database and picked the

existing server and database(CU3 DB), and then choose to import the upgraded R2 model store(exported above).

7. After the database setup finishes, we saw model DB created successfully without any errors

8. Opend a command prompt where your AXUTIL.EXE is, and type in the command

axutil set /installmode /s:[ServerName] /db:[DB_Model]

9. Then installed the AX2012 R2 AOS only connecting to the above DB(data and model) and waited for the AOS to restart.

10. After AOS restarted, when trying to connect to AX getting lot of errors with sync issues as below

SQL error description: [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid column name 'PARTITION'.

SQL statement: SELECT

There is also an error which says

User 'Syeds' is not authorized to delete a record in table 'SYSCONFIG'. Request denied.

Cannot edit a record in Configuration keys (SysConfig).
Access Denied: You do not have sufficient authorization to modify data in database.

Current user is a sys admin on the machine and also have full access to both the above DB's.

Please let me know if i am missing something.

Regards,

Syed


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>