That worked. Thanks.
Hi,
Below is the package reference to LeptonX. Not possible to share the code as the project is too large. As stated no coding changes have happened. It simply worked one day and now doesn't run.
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.1.*-*" />
I get the below error when trying to run my solution's Auth and Web projects. No coding change have been code since the last time it worked. We are a commercial user and have full source code.
Ssystem.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.Core, Version=7.1.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Volo.Abp.Core, Version=7.1.1.0, Culture=neutral, PublicKeyToken=null'
at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder
1 derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
at System.Attribute.GetCustomAttributes(MemberInfo element, Boolean inherit)
at Volo.Abp.Modularity.AbpModuleHelper.FindDependedModuleTypes(Type moduleType) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\AbpModuleHelper.cs:line 25
at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List1 moduleTypes, Type moduleType, ILogger logger, Int32 depth) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\AbpModuleHelper.cs:line 56 at Volo.Abp.Modularity.AbpModuleHelper.FindAllModuleTypes(Type startupModuleType, ILogger logger) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\AbpModuleHelper.cs:line 15 at Volo.Abp.Modularity.ModuleLoader.FillModules(List
1 modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\ModuleLoader.cs:line 49
at Volo.Abp.Modularity.ModuleLoader.GetDescriptors(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\ModuleLoader.cs:line 34
at Volo.Abp.Modularity.ModuleLoader.LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\ModuleLoader.cs:line 20
at Volo.Abp.AbpApplicationBase.LoadModules(IServiceCollection services, AbpApplicationCreationOptions options) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationBase.cs:line 144
at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationBase.cs:line 63 at Volo.Abp.AbpApplicationWithExternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action
1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationWithExternalServiceProvider.cs:line 14
at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, IServiceCollection services, Action1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationFactory.cs:line 92 at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action
1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationFactory.cs:line 42
at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Microsoft\Extensions\DependencyInjection\ServiceCollectionApplicationExtensions.cs:line 32 at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action
1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.AspNetCore\Microsoft\Extensions\DependencyInjection\WebApplicationBuilderExtensions.cs:line 17
at CFData.StructureWeb.Program.Main(String[] args) in C:\src710\StructureCloud.NET\aspnet-core\src\StructureWeb.AuthServer\Program.cs:line 43
Hi,
That appears to have resolved the issue.
Thank you.
Any suggestions?
Disregard. I found the routine in a sample project generated with ABP Suite. Let me try a deployment to see if it fixes my issue.
I do not have this code in my solution but get when I add your code I get an error on the GetSigningCertificate method as it says it does not exist in the current context. What library is that contained within?
Hi,
No it is not the same issue as the other support ticket I created. Once I did apply the fix for that one it still did not fix my issue with this one. Here's an update error message that I'm getting.
[06:13:33 INF] Started database migrations...
[06:13:33 INF] Migrating schema for host database...
[06:13:35 ERR] An error occurred using the connection to database 'TestWebHost' on server ''.
[06:13:36 ERR] 3D000: database "TestWebHost" does not exist
Npgsql.PostgresException (0x80004005): 3D000: database "TestWebHost" does not exist
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|222_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|204_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.PoolingDataSource.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider1.CreateDbContextWithTransactionAsync(IUnitOfWork unitOfWork) in C:\Src702\ABP\framework\src\Volo.Abp.EntityFrameworkCore\Volo\Abp\Uow\EntityFrameworkCore\UnitOfWorkDbContextProvider.cs:line 272 at Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider
1.CreateDbContextAsync(IUnitOfWork unitOfWork) in C:\Src702\ABP\framework\src\Volo.Abp.EntityFrameworkCore\Volo\Abp\Uow\EntityFrameworkCore\UnitOfWorkDbContextProvider.cs:line 160
at Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider1.CreateDbContextAsync(IUnitOfWork unitOfWork, String connectionStringName, String connectionString) in C:\Src702\ABP\framework\src\Volo.Abp.EntityFrameworkCore\Volo\Abp\Uow\EntityFrameworkCore\UnitOfWorkDbContextProvider.cs:line 135 at Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider
1.GetDbContextAsync()
at Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository2.GetDbSetAsync() in C:\Src702\ABP\framework\src\Volo.Abp.EntityFrameworkCore\Volo\Abp\Domain\Repositories\EntityFrameworkCore\EfCoreRepository.cs:line 74 at Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository
2.GetListAsync(Boolean includeDetails, CancellationToken cancellationToken) in C:\Src702\ABP\framework\src\Volo.Abp.EntityFrameworkCore\Volo\Abp\Domain\Repositories\EntityFrameworkCore\EfCoreRepository.cs:line 226
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() in C:\Src702\ABP\framework\src\Volo.Abp.Castle.Core\Volo\Abp\Castle\DynamicProxy\CastleAbpMethodInvocationAdapterWithReturnValue.cs:line 24 at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) in C:\Src702\ABP\framework\src\Volo.Abp.Uow\Volo\Abp\Uow\UnitOfWorkInterceptor.cs:line 49 at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) in C:\Src702\ABP\framework\src\Volo.Abp.Castle.Core\Volo\Abp\Castle\DynamicProxy\CastleAsyncAbpInterceptorAdapter.cs:line 29 at Volo.Abp.PermissionManagement.StaticPermissionSaver.UpdateChangedPermissionGroupsAsync(IEnumerable
1 permissionGroupRecords) in C:\Src702\ABP\modules\permission-management\src\Volo.Abp.PermissionManagement.Domain\Volo\Abp\PermissionManagement\StaticPermissionSaver.cs:line 134
at Volo.Abp.PermissionManagement.StaticPermissionSaver.SaveAsync() in C:\Src702\ABP\modules\permission-management\src\Volo.Abp.PermissionManagement.Domain\Volo\Abp\PermissionManagement\StaticPermissionSaver.cs:line 102
at Volo.Abp.PermissionManagement.StaticPermissionSaver.SaveAsync() in C:\Src702\ABP\modules\permission-management\src\Volo.Abp.PermissionManagement.Domain\Volo\Abp\PermissionManagement\StaticPermissionSaver.cs:line 116
at Volo.Abp.PermissionManagement.StaticPermissionSaver.SaveAsync() in C:\Src702\ABP\modules\permission-management\src\Volo.Abp.PermissionManagement.Domain\Volo\Abp\PermissionManagement\StaticPermissionSaver.cs:line 118
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync() in C:\Src702\ABP\framework\src\Volo.Abp.Castle.Core\Volo\Abp\Castle\DynamicProxy\CastleAbpMethodInvocationAdapter.cs:line 23
at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) in C:\Src702\ABP\framework\src\Volo.Abp.Uow\Volo\Abp\Uow\UnitOfWorkInterceptor.cs:line 49
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed) in C:\Src702\ABP\framework\src\Volo.Abp.Castle.Core\Volo\Abp\Castle\DynamicProxy\CastleAsyncAbpInterceptorAdapter.cs:line 20
at Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule.<>c__DisplayClass6_0.<<SaveStaticPermissionsToDatabaseAsync>b__1>d.MoveNext() in C:\Src702\ABP\modules\permission-management\src\Volo.Abp.PermissionManagement.Domain\Volo\Abp\PermissionManagement\AbpPermissionManagementDomainModule.cs:line 122
--- End of stack trace from previous location ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates
1 shouldRetryResultPredicates, Func5 onRetryAsync, Int32 permittedRetryCount, IEnumerable
1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
Exception data:
Severity: FATAL
SqlState: 3D000
MessageText: database "TestWebHost" does not exist
File: postinit.c
Line: 887
Routine: InitPostgres
[06:13:36 ERR] ---------- Exception Data ----------
Severity = FATAL
InvariantSeverity = FATAL
SqlState = 3D000
MessageText = database "TestWebHost" does not exist
File = postinit.c
Line = 887
Routine = InitPostgres
[06:13:39 ERR] An error occurred using the connection to database 'TestWebHost' on server ''. [06:13:39 ERR] An error occurred using the connection to database 'TestWebHost' on server ''. [06:13:44 ERR] 3D000: database "TestWebHost" does not exist Npgsql.PostgresException (0x80004005): 3D000: database "TestWebHost" does not exist at Npgsql.Internal.NpgsqlConnector.
Thank you. That seemed to work although I had to specify the LocalizationTextRecordConsts.MaxValueLength not LanguageTextConsts.MaxValueLength since my error was specific to the LocalizationTextRecord.
I can't do a zoom call with you at the moment. Just need you to tell me what I specifically need to do to override the default max length value.