Base solution for your next web application
Open Closed

ABP Bacground Job process does not start most of the time, sometimes is does. #11038


User avatar
0
slavanaway created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? ANZ 7.2 .NET 3.x
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

Our app uses import from excel for users. It is started using the abpbackgroundjobs.

It will create a record in the abpbackgroundjobs table. It mostly does not start the background jobs.

The record in the abp table look like this Id 536 CreationTime 00:45.6 CreatorUserId (null) IsAbandoned FALSE JobArgs {"TenantId":20,"BinaryObjectId":"b129df69-bebe-83a3-cd2a-3a034aa51477","User":
{"TenantId":20,"UserId":1},"JobType":0,"Filter":null,"Sorting":null,"Role":null,"OnlyLockedUsers":false,"Permissions":null,"MultiTenancySide":0,"JobId":30} JobType EPSquared.Authorization.Users.Importing.ImportUsersToExcelJob, EPSquared.Application, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null LastTryTime (null) NextTryTime 00:45.6 Priority 15 TryCount 0

The job never starts and never retries.

Can you point me in a direction of what is causing the background jobs to not start.

Sam


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @slavanaway

    Could you open one of your csproj files and share an ABP NuGet package version ? If it is 6.x and lower than v6.3.1, could you upgrade to v6.3.1 and try again ?

    Thanks,

  • User Avatar
    0
    slavanaway created

    Here is the detail from EPSquared.Core.Shared.csproj. I did not see a NuGet package version.

    <Project Sdk="Microsoft.NET.Sdk"> <Import Project="....\common.props"></Import> <PropertyGroup> <TargetFrameworks>netstandard2.0</TargetFrameworks> <RootNamespace>EPSquared</RootNamespace> <LangVersion>7.2</LangVersion> </PropertyGroup> <ItemGroup> <PackageReference Include="Abp" Version="4.9.0" /> <PackageReference Include="Abp.Zero.Common" Version="4.9.0" /> <PackageReference Include="Abp.ZeroCore" Version="4.9.0" /> </ItemGroup> <ItemGroup> <PackageReference Update="NETStandard.Library" Version="2.0.3" /> </ItemGroup> </Project>

    Sam

  • User Avatar
    0
    slavanaway created

    The app is on ABP 4.9.

    I need to determine if there are changes which will need code changes. Do you have a list or know how I can get a comprehensive list?

    thanks, Sam

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can upgrade to latest 4.x verison which will shouldn't cause a build error on your app.

    Thanks,