web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX2012FP to AX2012R2 code upgrade problems

(0) ShareShare
ReportReport
Posted on by 170

Hi

I have problems to upgrade AX2012FP to AX2012R2, I follow Micosoft Upgrade Guide, deleted CUS model and USR models and started code upgrade (takes long time :( )

After Code upgrade i got this error messages

Cannot select a record in Worker (HcmWorker). Name: 0.

The SQL database has issued an error.

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

SQL statement: SELECT TOP 1 T1.PERSON,T1.PERSONNELNUMBER,T1.MODIFIEDDATETIME,T1.MODIFIEDBY,T1.CREATEDDATETIME,T1.CREATEDBY,T1.RECVERSION,T1.PARTITION,T1.RECID FROM HCMWORKER T1 WHERE ((PARTITION=?) AND (PERSON=?))

Query extended range failure: Error occurred when executing the passed in function.

Cannot select a record in Current user's roles (MyRoles). Role identifier: 0.

The SQL database has issued an error.

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

SQL statement: SELECT TOP 1 T1.RECID FROM tempdb."DBO".t100145_E7CB69AB966F4EFE88DC00FEB801E701 T1 WHERE (T1.PARTITION=?) AND EXISTS (SELECT TOP 1 'x' FROM DIRPARTYLOCATIONPRIVATEROLES T2 WHERE ((T2.PARTITION=?) AND (T1.ROLENAME=T2.SECURITYROLENAME)))

Query extended range failure: Error occurred when executing the passed in function.

Cannot select a record in Current user's roles (MyRoles). Role identifier: 0.

The SQL database has issued an error.

 

 

 

Is this common problem and is it ok to go forward to complete the checklist ?

*This post is locked for comments

I have the same question (0)
  • Tommy Skaue Profile Picture
    Moderator on at

    Hi

    Are you in the step where you have just split the RTM database and applied the new R2 sys layer? Before code- and data upgrade?

  • Dalibor Sinik Profile Picture
    170 on at

    Yes, I have restart code compilation into the CUS layer because it´s the only layer with customization, next step is USR layer. I return with more info after compilation is ready.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans