I download 'VHD FinandOps10.0.24' from Shared asset Library. AOSService can't start with error
AX is shutting down due to an error.
Failed to set database connection string.
Exception details:
Microsoft.Dynamics.AX.InvalidConnectionStringException: Failed to set database connection string. ---> System.ArgumentException: The value's length for key 'password' exceeds it's limit of '128'.
at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous)
at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key)
at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value)
at Microsoft.Dynamics.AX.TestDatabaseConnectionString(String connectionString)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.AX.TestDatabaseConnectionString(String connectionString)
at Microsoft.Dynamics.AX.AOS.StartupInternal(String[] Arguments)
at Microsoft.Dynamics.AX.AOS.Startup()
at Microsoft.Dynamics.AX.AosConfig.AzureConfig.Init()
at Microsoft.Dynamics.AX.Batch.BatchService.OnStart(String[] args)
Checking the root cause by trying to decrypt web.config.
C:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Framework.ConfigEncryptor.exe -decrypt C:\AOSService\webroot\web.config
See error: No certificate found for id '7366E25DC94FA8A400FA0037FFF3BB300D9482D4'
Checking from web.config. It is used for Data Encryption but it disappears from local machine certificate list.
<!--Used to find the certificate used for encryption.-->
<add key="DataAccess.DataEncryptionCertificateThumbprint" value="7366E25DC94FA8A400FA0037FFF3BB300D9482D4" />
<!--Used to find the certificate used for signing encrypted data.-->
<add key="DataAccess.DataSigningCertificateThumbprint" value="7366E25DC94FA8A400FA0037FFF3BB300D9482D4" />
Is there anyone able to use this VHD version? Please share me solution how to fix it. My Shared asset library, only has this VHD. I would like to use for testing standard features without customization.
I also got the same error, can you give more instructions on how to fix it?
Hi,
I also got the same error, can you give more instructions on how to fix it?
I set VM name the same as VHD name
When open VS2019 or SSMS, will show "the application data folder for Visual Studio could not be created".
So, I realize that because I rename machine before running "Generate Self-Signed Certificates". Then, later that user folder "C:\Users\Administrator\AppData" permission goes wrong.
So, I refresh the VM and try again without renaming. Then, it woks fine.
I manage to make AOS start up now.
VM 10.0.24, must not rename machine name. Then, run "Generate Self-Signed Certificates" will work. Also renaming machine name may make user folders go wrong after run "Generate Self-Signed Certificates".
It's ok since I won't connect it to VSTS. I'll leave the machine name as it is.
Please give us more information about your problem, not just "I can't open". Did you get an error message, for example?
Ok no problem. After run "Generate Self-Signed Certificates" and restart machine. I can't open VS2019 & SQL Management Studio anymore. Seem like app data folder has changed.
Let me try to compile in command prompt without VS2019.
I would try compiling the application.
I'm still downloading the VHD therefore I can't yet share my own experience.
Hi Martin
Thank you for your reply. I tried all steps but AOS can't start yet. See from error below, seems like missing module. Have you ever seen this error?
The description for Event ID 110 from source Microsoft Dynamics 365 for Finance and Operations cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
AX is shutting down due to an error.
Unable to find the required application modules. Please verify that application is deployed correctly.
Module DataUpgrade is referencing the following missing modules: WMSAdvancedMigration
Module WarehouseExecutionWorkloadBackoffice is referencing the following missing modules: WarehousePlanning
Module WarehouseExecutionWorkload is referencing the following missing modules: WarehousePlanning
Module AppTroubleshooting is referencing the following missing modules: WarehousePlanning
Exception details:
Module 'DataUpgrade' is missing the following dependencies: 'WMSAdvancedMigration'. Module 'WarehouseExecutionWorkloadBackoffice' is missing the following dependencies: 'WarehousePlanning'. Module 'WarehouseExecutionWorkload' is missing the following dependencies: 'WarehousePlanning'. Module 'AppTroubleshooting' is missing the following dependencies: 'WarehousePlanning'.
There are a few extra steps needed. Check out Set up the downloadable VHD for first use.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,888 Super User 2024 Season 2
Martin Dráb 229,247 Most Valuable Professional
nmaenpaa 101,156