hi according to this artice https://abp.io/docs/8.2/framework/infrastructure/background-jobs/hangfire i followed the steps 1- Install-Package Volo.Abp.BackgroundJobs.HangFire 2- add package Hangfire.SqlServer --version 1.8.14 3- Configuration but i got this error so what are information from me to provided with to know the error ?
- ABP Framework version: v8.0.2
- UI Type:MVC
- Database System: EF Core (SQL Server)
13 Answer(s)
-
0
Hello ,
Please refer this link https://github.com/realLiangshiwei/Lsw.Abp.BackgroundWorkers.Hangfire
Thanks ,
-
0
hi anjali what should i do with githup?? and i used hangfir manager job not workers i just want to know the reason of this error and what should i do? i followed the steps as it is
-
0
Can you please share error logs.
-
0
-
0
Hello ,
Please share your package.json file.
Thanks,
-
0
-
0
Hello,
Yes this one only, I want to check the Leptonx version. It is also correct. Let me check again.
Thanks
-
0
ok i'm waiting thanks
-
0
Hi,
Could you please share a test project with me? i will check it , thanks.
shiwei.liang@volosoft.com
-
0
hi lian for company rights i can't share the project but i can explain what i did first of all i have multiproject modularity so i have web and web.public all my work within web layer *** WebModule file 1- i added this code typeof(AbpBackgroundJobsHangfireModule)
2- ConfigureHangfire
-
0
-
0
<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="....\common.props" />
<PropertyGroup Label="Globals"> <SccProjectName>SAK</SccProjectName> <SccProvider>SAK</SccProvider> <SccAuxPath>SAK</SccAuxPath> <SccLocalPath>SAK</SccLocalPath> </PropertyGroup>
<PropertyGroup> <TargetFramework>net8.0</TargetFramework> <Nullable>enable</Nullable> <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel> <RootNamespace>Horizon.HorizonERP.Web</RootNamespace> <AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType> <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish> <PreserveCompilationReferences>true</PreserveCompilationReferences> </PropertyGroup>
<ItemGroup Condition="Exists('./openiddict.pfx')"> <None Remove="openiddict.pfx" /> <EmbeddedResource Include="openiddict.pfx"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </EmbeddedResource> <ProjectReference Include="....\modules\Horizon.MainSetting\src\Horizon.MainSetting.Web\Horizon.MainSetting.Web.csproj" /><ProjectReference Include="....\modules\Horizon.HRMS1\src\Horizon.HRMS1.Web\Horizon.HRMS1.Web.csproj" /><ProjectReference Include="....\modules\Horizon.HRMS2\src\Horizon.HRMS2.Web\Horizon.HRMS2.Web.csproj" /><ProjectReference Include="....\modules\Horizon.MainAccounting\src\Horizon.MainAccounting.Web\Horizon.MainAccounting.Web.csproj" /><ProjectReference Include="....\modules\Horizon.CoreSetting\src\Horizon.CoreSetting.Web\Horizon.CoreSetting.Web.csproj" /><ProjectReference Include="....\modules\Horizon.Inventory\src\Horizon.Inventory.Web\Horizon.Inventory.Web.csproj" /><ProjectReference Include="....\modules\Horizon.EInvoice\src\Horizon.EInvoice.Web\Horizon.EInvoice.Web.csproj" /><ProjectReference Include="....\modules\Horizon.POS\src\Horizon.POS.Web\Horizon.POS.Web.csproj" /></ItemGroup>
<ItemGroup> <Compile Remove="Bundling\Reporting\Controllers*" /> <Compile Remove="Logs*" /> <Content Remove="Bundling\Reporting\Controllers*" /> <Content Remove="Logs*" /> <EmbeddedResource Remove="Bundling\Reporting\Controllers*" /> <EmbeddedResource Remove="Logs*" /> <None Remove="Bundling\Reporting\Controllers*" /> <None Remove="Logs*" /> </ItemGroup>
<ItemGroup> <Content Include="Pages**.js"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Pages**.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> </ItemGroup> <PropertyGroup> <ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles> </PropertyGroup> <ItemGroup> <None Include="Themes\LeptonX\Components\Common\GeneralSettings\Default.cshtml" /> <None Include="Themes\LeptonX\Components\Common\MobileGeneralSettings\Default.cshtml" /> </ItemGroup>
<ItemGroup> <PackageReference Include="AspNetCore.HealthChecks.UI" Version="7.0.2" /> <PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="7.1.0" /> <PackageReference Include="DevExpress.AspNetCore.Reporting" Version="23.2.4" /> <PackageReference Include="DevExtremeAI" Version="8.0.0" /> <PackageReference Include="Hangfire.SqlServer" Version="1.8.14" /> <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.0" /> <PackageReference Include="AspNetCore.HealthChecks.UI.InMemory.Storage" Version="7.0.0" /> <PackageReference Include="Serilog.AspNetCore" Version="8.0.0" /> <PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="8.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="8.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Twitter" Version="8.0.0" /> <PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="8.0.0" /> <PackageReference Include="DistributedLock.Redis" Version="1.0.2" /> <PackageReference Include="Volo.Abp.BackgroundJobs.HangFire" Version="8.2.0" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Volo.Payment.Admin.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.Alipay.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.Iyzico.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.PayPal.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.Payu.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.Stripe.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.TwoCheckout.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.Web" Version="8.0.2" /> <ProjectReference Include="..\Horizon.HorizonERP.Application\Horizon.HorizonERP.Application.csproj" /> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="8.0.2" /> <PackageReference Include="Volo.Abp.DistributedLocking" Version="8.0.2" /> <ProjectReference Include="..\Horizon.HorizonERP.HttpApi\Horizon.HorizonERP.HttpApi.csproj" /> <ProjectReference Include="..\Horizon.HorizonERP.EntityFrameworkCore\Horizon.HorizonERP.EntityFrameworkCore.csproj" /> <PackageReference Include="Volo.Abp.Autofac" Version="8.0.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="8.0.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer" Version="8.0.2" /> <PackageReference Include="Volo.Abp.Swashbuckle" Version="8.0.2" /> <PackageReference Include="Volo.Abp.FeatureManagement.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.OpenIddict" Version="8.0.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.AuditLogging.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.Identity.Pro.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.OpenIddict.Pro.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.LanguageManagement.Web" Version="8.0.2" /> <PackageReference Include="Volo.Saas.Host.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.TextTemplateManagement.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.Gdpr.Web" Version="8.0.2" /> <PackageReference Include="Volo.CmsKit.Pro.Admin.Web" Version="8.0.2" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="3.0.-" /> </ItemGroup>
<ItemGroup> <Folder Include="wwwroot\images\employee" /> <Folder Include="wwwroot\images\paymentMethod" /> </ItemGroup>
</Project>
-
0
This is the problem, you should use version
8.0.2
<PackageReference Include="Volo.Abp.BackgroundJobs.HangFire" Version="8.2.0" /> </ItemGroup> <ItemGroup> <PackageReference Include="Volo.Payment.Admin.Web" Version="8.0.2" />