Create/Upgrade Database was failed.(platform Server upgrade from 10 to 11 )
Platform Version
11.11.3 (Build 29602)

Hi all.

 I performed an upgrade installation of Platform Server from Ver.10 to Ver.11 for evaluation purposes.
After the installation, I clicked the [Create/Upgrade Database] button on the Platform tab in the Configuration Tool settings, but the following error message is displayed and I cannot update the database.

Upgrade Schema
Error: Unable to obtain the connection string(Platform,Services,Runtime),Please run configuration Tool.
at
OutSystems.Server.Infrastructure.PlatformDatabaseAccess,CreatePlatformDatabaseAccessProvider(Source source,User user,DataSpace dataspace,|SettingsProvider)
at
OutSystems.Server.Infrastructure.PlatformDatabaseAccess..ctor(Booleancc)
at
OutSystems.Server.Infrastructure.PlatformDatabaseAccess.get_sc#lpcajmvv()
at
OutSystems.Server.Infrastructure.PlatformSettings.sc#nrhunjrc(String m,String n,Boolean o,Boolean p)
at
OutSystems.HubEdition.configurationTool.SpecificUpgrades.UpgradeRenantlds.cfg#qxivydhx(Transaction asy)
at
OutSystems.HubEdition.configurationTool.Schema.cfg#rvpjwett.cfg#nhyfpdfh(IRepeatableSpecificUpgrade aao)
at
...

What does this error mean?
Please let me know how to solve this problem.

What I have done
I set the admin password in the Credentials tab of the Configuration Tool.
Installed RabbitMQ on the Cache tab of the Configuration Tool.
I installed the SSL certificate.
Installed the SAP connector library.
Notes.
All test connections in the Configuration Tool show as successful.
My environment :
Server. Microsoft Azure(Standalone)
Database AzureSQL(elastic pool)

Thanks in advance!

Best regards,

Ohara

error.png

I had this same issue and wanted to post a reply in case anyone else runs across this. It is a known issue upgrading to version 11.12.0 from version 10. The 11.13.0 release is supposed to fix this issue but there are 2 workarounds.

1. Upgrade to version 11.9.0 first then upgrade to version 11.12.0

OR

1. Go to file: %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\CONFIG\machine.config

1a. Add the following lines at the end of the file with the other outsystems keys at the bottom:

    <add key="OutSystems.DB.Platform.Services.Runtime.ProviderKey (DEFAULT)" value="SqlServer" />

    <add key="OutSystems.DB.Platform.Services.Runtime.ConnectionString (DEFAULT)" value="" />

    <add key="OutSystems.DB.Platform.Services.Runtime.DatabaseUnicodeSupport (DEFAULT)" value="true" />

    <add key="OutSystems.DB.Platform.Services.Runtime.TransactionIsolationLevel (DEFAULT)" value="ReadUncommitted" />

2. The empty value for OutSystems.DB.Platform.Services.Runtime.ConnectionString should be copied from OutSystems.DB.Services.Admin.ConnectionString and be an exact match

3. Start the config tool and proceed as normal

Hi Koichi,


Can you please provide more details like. What is current the major & minor version of os platform?

Verify whether database server is reachable from platform Server.

Provide Sysadmin Privileged user credential when you clicked Create/Upgrade Database.




Thanks,

Sandesh Arjune

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.