Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Suggested answer

Errors during upgrade to 2011 SP1

Posted on by Microsoft Employee

Hello,

We are attempting an upgrade scenario from SL 2011 -> SP1 -> FP1 -> SP2 -> SP3. I was able to upgrade the application to SP1, but I am receiving several errors while upgrading the database using the Database Maintenance wizard. I am able to successfully connect to the database server using my own domain account, which has administrative privileges on the server. I select the only available system database and its corresponding application database, then begin the upgrade process. I also attempt to change the SYSADMIN account from one domain account to new domain account we will use as a service account. The upgrade process fails when nearly complete. DBBuild.log shows issues of violating primary key constraints, "allocation method 2 cannot be used if allocation method 1 is blank", and an inability to find certain stored procedures. I have run Database Maintenance normally and also with elevated privileges (Run As Administrator), both with the same errors.

Has anyone encountered these issues during upgrade?

Thank you.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Errors during upgrade to 2011 SP1

    Thank you for the suggestion. I will give that a shot :-)

  • Suggested answer
    Ajit Kannan Profile Picture
    Ajit Kannan 1,240 on at
    RE: Errors during upgrade to 2011 SP1

    Hi Jmaldonado,

    During the DB upgrade the procedures might not updated properly in DB maintenance screen. I believe the reason should be the SQL Server has crossed the time frame. Follow the steps to set the time limit to zero.

    Open the SQL server and connect the server

    Right the server -> properties -> connection -> Remote server connection frame  -> change "Remote query timeout second as 0"

    Thanks,

    Ajit Kannan S R

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,552 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans