Dan
01/22/2024, 5:54 PMumbraco/logs
but I notice that there has been no umbraco
folder created in the root of the published files.
So my initial question is firstly where should the log files be on a v13 site? Should the umbraco/*
folder structure have been created by the publish task? I tried manually creating umbraco/Logs
and umbraco.Data
on the server but that doesn't seem to make any difference.
Thanks for any help.Ambert
01/22/2024, 6:57 PMAmbert
01/22/2024, 6:58 PMDan
01/23/2024, 9:17 AMPatrik Lithner
01/23/2024, 10:53 AMDan
01/23/2024, 11:05 AMApplication: w3wp.exe
CoreCLR Version: 8.0.123.58001
.NET Version: 8.0.1
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.DirectoryNotFoundException: C:\Users\me\Documents\Websites\myproject\MyProject\MyProject.Web\wwwroot\
at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.<>c.<UseStaticWebAssetsCore>b__1_0(String contentRoot)
at Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider..ctor(StaticWebAssetManifest manifest, Func`2 fileProviderFactory)
at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest)
at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssets(IWebHostEnvironment environment, IConfiguration configuration)
at Microsoft.Extensions.Hosting.HostBuilder.InitializeAppConfiguration()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at Umbraco.Cms.Web.Common.Hosting.UmbracoHostBuilderDecorator.Build()
at MyProject.Web.Program.Main(String[] args) in C:\Users\me\Documents\Websites\myproject\MyProject\MyProject.Web\Program.cs:line 6
I've no idea what is trying to access the local dev filesystem or why that's happening now. Any ideas?Dan
01/23/2024, 11:08 AMPatrik Lithner
01/23/2024, 11:14 AMkdx-perbol
01/23/2024, 1:20 PMwwwroot
folder. Are you sure you're ftping up a dotnet published
version of the app? And that the IIS is pointing to the correct folder?Dan
01/23/2024, 4:56 PMHTTP Error 500.31 - Failed to load ASP.NET Core runtime
The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.
…with the following error in the event logs:
Unable to locate application dependencies. Ensure that the versions of Microsoft.NetCore.App and Microsoft.AspNetCore.App targeted by the application are installed.
The host assures me .NET 8 and the .NET 8 Hosting Bundle have been installed.Dan
01/24/2024, 10:10 AMUnable to locate application dependencies. Ensure that the versions of Microsoft.NetCore.App and Microsoft.AspNetCore.App targeted by the application are installed.
2:
Could not find 'aspnetcorev2_inprocess.dll'. Exception message:
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\Inetpub\vhosts\myproject.com\httpdocs\'.
Failed to run as a self-contained app.
- The application was run as a self-contained app because 'C:\Inetpub\vhosts\myproject.com\httpdocs\MyProject.Web.runtimeconfig.json' did not specify a framework.
- If this should be a framework-dependent app, specify the appropriate framework in 'C:\Inetpub\vhosts\myproject.com\httpdocs\MyProject.Web.runtimeconfig.json'.
3:
Failed to start application '/LM/W3SVC/44/ROOT', ErrorCode '0x8000ffff'.
The publication settings are set to Target Framework: net8.0 and Target Runtime: Portable and Deployment Mode: Framework-dependent. These are the same settings as used previously to create the v12/.NET7 publish bundle, which worked fine. I have tried changing the Deployment Mode to Self-contained and the Target Runtime to Win-86 but that results in other errors, the solutions for which I've seen have been to use the Portable runtime.Dan
01/24/2024, 10:10 AM{
"runtimeOptions": {
"tfm": "net8.0",
"includedFrameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "8.0.0"
}
],
"configProperties": {
"System.Globalization.AppLocalIcu": "72.1.0.3",
"System.GC.Server": true,
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Reflection.NullabilityInfoContext.IsSupported": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
Does anyone have any ideas?Dan
01/24/2024, 10:54 AMugurcelenk
01/24/2024, 4:28 PMA hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by