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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Failed to apply update 10.0.31 on a local dev box 10.0.27

(0) ShareShare
ReportReport
Posted on by 6

Hi Guys,

I am applying update 10.0.31 on a local dev-box which was created by 10.0.24 VHD and updated to 10.0.27.

It failed on step 23:

GlobalUpdate script for service model: AOSService on machine: MININT-Dev161
Sync AX database
02/18/2023 16:04:37: Caught unexpected exception: System.AggregateException: Unable to connect to SQL server. ---> System.Data.SqlClient.SqlException: Windows logins are not supported in this version of SQL Server. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool p

I can open database using SSMS with windows login.

tried restarting sql server service, starting sql server reporting services.  still not work.

Any ideas?

thanks

Alan

I have the same question (0)
  • Suggested answer
    Komi Siabi Profile Picture
    13,107 Most Valuable Professional on at

    Hi Alan,

    Was the name of your VM renamed at any point in time?

    You could try to restart the VM and reapply the package.

    Another option you have, being a local VM, if to download a fresh VHD and migrate your objects.

  • Community member Profile Picture
    2 on at
    Hello Alan, 
    I am receiving same error when I trying to update my DevBox to MS10.0.38.

    Do you remember the solution ? 
    It would help me a lot and I will be grateful! 
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,430 Super User 2025 Season 2 on at
    Hi,
    There are 2 possibilities in this case.
    1. Looks like in your development box the database was restored from a higher (Tier 3) to a Tier 1 development environment and some one failed to change the name of the database to AxDB. Can you check that?
    2. Also, check if you have the axdbadmin account working too post restoration of the database.  
  • Suggested answer
    Guy Terry Profile Picture
    28,924 Moderator on at
    I can't help with the original query, but for the Community member asking about updating their DevBox to 10.0.38.... did you install the pre-requisite that was introduced before 10.0.36?
     
  • Suggested answer
    Layan Jwei Profile Picture
    8,112 Super User 2025 Season 2 on at
    Hi Alan,
     
    Did you download VC++ as guy said? Please check out this blog I wrote about updating an environment 
     
     
    Thanks,
    Layan Jweihan 
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Suggested answer
    MuthukumaranAX Profile Picture
    2,903 on at
    Did you change the database information in "web.config" file? Can you try to perform sync database from VS and check if you receive any error?
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,430 Super User 2025 Season 2 on at
    Hi Alan,
     
    The issue could be due to either of the following:
    1. Either your database was restored from higher to the dev box and it has not been renamed as AxDB.
    2. Changes were made to the web.config file and your config settings (as per this link Debug a copy of the production database - Finance & Operations | Dynamics 365 | Microsoft Learn). Its pointing to the UAT or any Tier2/Tier 3 environment.
     
    Happy to answer questions, if any.

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 298 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 179 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 121 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans