0
jaye@theservicemanager.com created
3 Answer(s)
-
0
hi
Please share the full error stack.
What's your abp version?
I guess you are using the Identity Server. right?
-
0
hi
Please share the full error stack.
What's your abp version?
I guess you are using the Identity Server. right?
We're using ABP 7, we just upgraded from ABP 6.
Here is the full error stack:
Application '/LM/W3SVC/2120657624/ROOT' with physical root 'C:\home\site\wwwroot\' has exited from Program.Main with exit code = '1'. First 30KB characters of captured stdout and stderr logs: [06:35:04 INF] Starting FireBird.AuthServer. [06:35:16 FTL] FireBird.AuthServer terminated unexpectedly! Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.IdentityServer.AbpIdentityServerDomainModule, Volo.Abp.IdentityServer.Domain, Version=7.0.3.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> System.IO.FileNotFoundException: Could not find file 'C:\home\site\wwwroot\tempkey.jwk'. File name: 'C:\home\site\wwwroot\tempkey.jwk' at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) at System.IO.File.WriteToFile(String path, FileMode mode, String contents, Encoding encoding) at System.IO.File.WriteAllText(String path, String contents) at Microsoft.Extensions.DependencyInjection.IdentityServerBuilderExtensionsCrypto.AddDeveloperSigningCredential(IIdentityServerBuilder builder, Boolean persistKey, String filename, RsaSigningAlgorithm signingAlgorithm) at Volo.Abp.IdentityServer.AbpIdentityServerDomainModule.AddIdentityServer(IServiceCollection services) at Volo.Abp.IdentityServer.AbpIdentityServerDomainModule.ConfigureServices(ServiceConfigurationContext context) at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context) at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() --- End of inner exception stack trace --- at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction) at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction) at FireBird.Program.Main(String[] args) in D:\a\1\s\src\FireBird.AuthServer\Program.cs:line 39 Process Id: 8080. File Version: 17.0.22341.2. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 7c810658463f35c39c54d5fb8a8dbbfd463bf747
-
0
hi
You're using the
IdentityServer
andAddDeveloperSigningCredential
It requires permissions to create new files.
https://stackoverflow.com/questions/54009101/cryptographicexception-when-deploying-identityserver4-solution-with-adddeveloper