Try our conversational search powered by Generative AI!

CMS/Commerce Upgrade deployment to Integration

Vote:
 

HI Folks,

I am deploying the upgraded CMS 12/Customized Commerce 14 website to DXP and running into the following issue. The deployment goes through but the website doesn't load and shows the following error. 

Any suggestions?

  Ok
2023-12-01T04:02:19.0932931
https://aka.ms/dotnet/app-launch-failed
  Ok
2023-12-01T04:02:19.0932967
  Ok
2023-12-01T04:02:19.0932999
To install missing framework, download:
  Ok
2023-12-01T04:02:19.0933035
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=6.0.0&arch=x64&rid=debian.11-x64
  Ok
2023-12-01T04:02:19.0935312
Failed to start application Project.Website.CMS.dll: 150
  Ok
2023-12-01T04:02:19.0935312
  Ok
2023-12-01T04:06:47.0929267
Starting ssh...
  Ok
2023-12-01T04:06:47.1225414
Starting OpenBSD Secure Shell server: sshd.
  Ok
2023-12-01T04:06:47.1227016
Starting application...
  Ok
2023-12-01T04:06:47.1252215
You must install or update .NET to run this application.
  Ok
2023-12-01T04:06:47.125234
  Ok
2023-12-01T04:06:47.1252368
App: /app/Project.Website.CMS.dll
  Ok
2023-12-01T04:06:47.125301
Architecture: x64
  Ok
2023-12-01T04:06:47.1254043
Framework: 'Microsoft.WindowsDesktop.App', version '6.0.0' (x64)
  Ok
2023-12-01T04:06:47.1254395
.NET location: /usr/share/dotnet/
  Ok
2023-12-01T04:06:47.1254818
  Ok
2023-12-01T04:06:47.1255478
No frameworks were found.
  Ok
2023-12-01T04:06:47.1256637
  Ok
2023-12-01T04:06:47.1256701
Learn about framework resolution:
  Ok
2023-12-01T04:06:47.1256726
https://aka.ms/dotnet/app-launch-failed
  Ok
2023-12-01T04:06:47.1256748
  Ok
2023-12-01T04:06:47.125677
To install missing framework, download:
  Ok
2023-12-01T04:06:47.1257112
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=6.0.0&arch=x64&rid=debian.11-x64
  Ok
2023-12-01T04:06:47.1260099
Failed to start application Project.Website.CMS.dll: 150
  Ok
2023-12-01T04:06:47.1260099
  Ok
2023-12-01T04:11:14.474174
Starting ssh...
  Ok
2023-12-01T04:11:14.50921
Starting OpenBSD Secure Shell server: sshd.
  Ok
2023-12-01T04:11:14.50923
Starting application...
  Ok
2023-12-01T04:11:14.5116887
You must install or update .NET to run this application.
  Ok
2023-12-01T04:11:14.511722
  Ok
2023-12-01T04:11:14.5117272
App: /app/Project.Website.CMS.dll
  Ok
2023-12-01T04:11:14.5117315
Architecture: x64
  Ok
2023-12-01T04:11:14.5117352
Framework: 'Microsoft.WindowsDesktop.App', version '6.0.0' (x64)
  Ok
2023-12-01T04:11:14.5117396
.NET location: /usr/share/dotnet/
  Ok
2023-12-01T04:11:14.5117429
  Ok
2023-12-01T04:11:14.5117461
No frameworks were found.
  Ok
2023-12-01T04:11:14.5117494
  Ok
2023-12-01T04:11:14.5117526
Learn about framework resolution:
  Ok
2023-12-01T04:11:14.5117561
https://aka.ms/dotnet/app-launch-failed
  Ok
2023-12-01T04:11:14.5117598
  Ok
2023-12-01T04:11:14.5117631
To install missing framework, download:
  Ok
2023-12-01T04:11:14.5117668
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=6.0.0&arch=x64&rid=debian.11-x64
  Ok
2023-12-01T04:11:14.5121778
Failed to start application Project.Website.CMS.dll: 150
  Ok
2023-12-01T04:11:14.5121778
  Ok
2023-12-01T04:15:48.1971555
Starting ssh...
  Ok
2023-12-01T04:15:48.2314466
Starting OpenBSD Secure Shell server: sshd.
  Ok
2023-12-01T04:15:48.2316784
Starting application...
  Ok
2023-12-01T04:15:48.2361654
You must install or update .NET to run this application.
  Ok
2023-12-01T04:15:48.2361802
  Ok
2023-12-01T04:15:48.2361844
App: /app/Project.Website.CMS.dll
  Ok
2023-12-01T04:15:48.2361947
Architecture: x64
  Ok
2023-12-01T04:15:48.236232
Framework: 'Microsoft.WindowsDesktop.App', version '6.0.0' (x64)
  Ok
2023-12-01T04:15:48.2362712
.NET location: /usr/share/dotnet/
  Ok
2023-12-01T04:15:48.2362885
  Ok
2023-12-01T04:15:48.2363823
No frameworks were found.
  Ok
2023-12-01T04:15:48.2365043
  Ok
2023-12-01T04:15:48.2365132
Learn about framework resolution:
  Ok
2023-12-01T04:15:48.2365172
https://aka.ms/dotnet/app-launch-failed
  Ok
2023-12-01T04:15:48.2365204
  Ok
2023-12-01T04:15:48.2365234
To install missing framework, download:
  Ok
2023-12-01T04:15:48.2365321
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=6.0.0&arch=x64&rid=debian.11-x64
  Ok
2023-12-01T04:15:48.2368506
Failed to start application Project.Website.CMS.dll: 150
  Ok
2023-12-01T04:15:48.2368506
  Ok
2023-12-01T04:20:19.066142
Starting ssh...
  Ok
2023-12-01T04:20:19.1236495
Starting OpenBSD Secure Shell server: sshd.
  Ok
2023-12-01T04:20:19.1236713
Starting application...
  Ok
2023-12-01T04:20:19.1259386
You must install or update .NET to run this application.
  Ok
2023-12-01T04:20:19.125955
  Ok
2023-12-01T04:20:19.1259601
App: /app/Project.Website.CMS.dll
  Ok
2023-12-01T04:20:19.1259638
Architecture: x64
  Ok
2023-12-01T04:20:19.1259763
Framework: 'Microsoft.WindowsDesktop.App', version '6.0.0' (x64)
  Ok
2023-12-01T04:20:19.1260234
.NET location: /usr/share/dotnet/
  Ok
2023-12-01T04:20:19.1260347
  Ok
2023-12-01T04:20:19.1260707
No frameworks were found.
  Ok
2023-12-01T04:20:19.1262827
  Ok
2023-12-01T04:20:19.126293
Learn about framework resolution:
  Ok
2023-12-01T04:20:19.1262967
https://aka.ms/dotnet/app-launch-failed
  Ok
2023-12-01T04:20:19.1263
  Ok
2023-12-01T04:20:19.1263039
To install missing framework, download:
  Ok
2023-12-01T04:20:19.1263074
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=6.0.0&arch=x64&rid=debian.11-x64
  Ok
2023-12-01T04:20:19.1264986
Failed to start application Project.Website.CMS.dll: 150
  Ok
2023-12-01T04:20:19.1264986
  Ok
2023-12-01T04:24:44.0865119
Starting ssh...
  Ok
2023-12-01T04:24:44.1188213
Starting OpenBSD Secure Shell server: sshd.
  Ok
2023-12-01T04:24:44.1189372
Starting application...
  Ok
2023-12-01T04:24:44.1216987
You must install or update .NET to run this application.
  Ok
2023-12-01T04:24:44.1217288
  Ok
2023-12-01T04:24:44.1217335
App: /app/Project.Website.CMS.dll
  Ok
2023-12-01T04:24:44.121737
Architecture: x64
  Ok
2023-12-01T04:24:44.1217405
Framework: 'Microsoft.WindowsDesktop.App', version '6.0.0' (x64)
  Ok
2023-12-01T04:24:44.1217449
.NET location: /usr/share/dotnet/
  Ok
2023-12-01T04:24:44.1217489
  Ok
2023-12-01T04:24:44.1217524
No frameworks were found.
  Ok
2023-12-01T04:24:44.1217562
  Ok
2023-12-01T04:24:44.1217595
Learn about framework resolution:
  Ok
2023-12-01T04:24:44.121763
https://aka.ms/dotnet/app-launch-failed
  Ok
2023-12-01T04:24:44.1217666
  Ok
2023-12-01T04:24:44.1217699
To install missing framework, download:
  Ok
2023-12-01T04:24:44.1217737
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=6.0.0&arch=x64&rid=debian.11-x64
  Ok
2023-12-01T04:24:44.122036
Failed to start application Project.Website.CMS.dll: 150

#313490
Dec 01, 2023 4:48
Vote:
 

You should be able to get the detailed log on the PaaS portal on why the application failed to start 

#313502
Dec 01, 2023 9:15
Vote:
 

Nothing from the logs. It keeps throwing the same error. I am guessing I haven't configured the pipeline correctly?

023-12-02T06:55:08.376383397Z Starting ssh...
2023-12-02T06:55:08.435721762Z Starting OpenBSD Secure Shell server: sshd.
2023-12-02T06:55:08.436108367Z Starting application...
2023-12-02T06:55:08.440788319Z You must install or update .NET to run this application.
2023-12-02T06:55:08.440801919Z 
2023-12-02T06:55:08.440806019Z App: /app/Project.Website.CMS.dll
2023-12-02T06:55:08.440878220Z Architecture: x64
2023-12-02T06:55:08.440994421Z Framework: 'Microsoft.WindowsDesktop.App', version '6.0.0' (x64)
2023-12-02T06:55:08.441048322Z .NET location: /usr/share/dotnet/
2023-12-02T06:55:08.441086322Z 
2023-12-02T06:55:08.441252824Z No frameworks were found.
2023-12-02T06:55:08.441282725Z 
2023-12-02T06:55:08.441287725Z Learn about framework resolution:
2023-12-02T06:55:08.441292125Z https://aka.ms/dotnet/app-launch-failed
2023-12-02T06:55:08.441295625Z 
2023-12-02T06:55:08.441299125Z To install missing framework, download:
2023-12-02T06:55:08.441306425Z https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=6.0.0&arch=x64&rid=debian.11-x64
2023-12-02T06:55:08.441706229Z Failed to start application RF.Website.CMS.dll: 150

#313563
Edited, Dec 02, 2023 7:01
Vote:
 

I'd suggest to contact developer support service, they should be able to help out with this 

#313564
Dec 02, 2023 9:44
Vote:
 

Hi Aniket

Did you target you projects on net6.0-windows? DXP for CMS 12 is hosted in Linux container, so you need to make sure you application is fully running on Linux first. If you have any dependencies that requires to be running on Windows, you'll need to find alternative.  

#313638
Dec 03, 2023 23:57
Vote:
 

Thakns Vincent.

To close the loop here it was infact related to the net6.0-windows issue. We had a nuget package that was referencing a Windows depended Winforms/WPF. We removed that package and changed the target framework to net6.0 (no -windows) in the csproj file. That resolved the issue.

#314031
Dec 11, 2023 2:07
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.