I'm receiving the error below after building and running a new ABP Suite 2.5.0 project. Note, I also experienced this issues in 2.4.0
Steps to Reproduce
Problem HTTP Error 500.30 - ANCM In-Process Start Failure
Log File
2020-04-13 14:42:30.366 -04:00 [INF] Starting web host.
2020-04-13 14:42:33.465 -04:00 [FTL] Host terminated unexpectedly!
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.EntityFrameworkCore, Version=3.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
Solution
I am using abp cli and abp suite version 2.6.2.0. As you can see in the domain project below, I followed Alper's instructions Volo.Abp.Commercial.SuiteTemplate.dll from #48. However, I am still receiving this error.
<i>NOTE:</i> I did not receive any errors when restoring NuGet packages.
Module - (Created with abp cli 2.6.2 while logged in)
abp new Eagle.Aery.Core -t module-pro
I am using abp cli and abp suite version 2.6.2.0. As you can see in the domain project below, I followed Alper's instructions Volo.Abp.Commercial.SuiteTemplate.dll from #48. However, I am still receiving this error.
<i>NOTE:</i> I did not receive any errors when restoring NuGet packages.
Module - (Created with abp cli 2.6.2 while logged in)
abp new Eagle.Aery.Core -t module-pro
@Alper, sorry for the delay. I'm just getting started this morning. I'm getting ready to try it now.
@Alper, it is working now. I don't know why... I starting diggin into the suite logs to find more info for you and it just started working.
I'm building a simple Help Desk application that will allow us to manager our support tickets and assign them to users who's belong to the Support Technician role. The Ticket entity is pretty simple.
.UseIdentityColumn(1000, 1);
to the Ticket's auto generated context model located here: HelpDeskDbContextModelCreatingExtensions.cs
builder.Entity<Ticket>(b =>
{
b.ToTable(HelpDeskConsts.DbTablePrefix + "Tickets", HelpDeskConsts.DbSchema);
b.ConfigureByConvention();
b.Property(x => x.TenantId).HasColumnName(nameof(Ticket.TenantId));
b.Property(x => x.Number).HasColumnName(nameof(Ticket.Number)).UseIdentityColumn(1000, 1);
b.Property(x => x.Tags).HasColumnName(nameof(Ticket.Tags));
b.Property(x => x.Issue).HasColumnName(nameof(Ticket.Issue));
b.Property(x => x.Solution).HasColumnName(nameof(Ticket.Solution));
});
I suspect this error is caused when the UpdateAsync(Id, Ticket) tries to update the Number identiy field.
How do I correct this issue? Note this also happens when I try to delete the ticket.
I'm assuming I need to modify the TicketAppService Update/Delete
[Authorize(HelpDeskPermissions.Tickets.Edit)]
public virtual async Task<TicketDto> UpdateAsync(Guid id, TicketUpdateDto input)
{
var ticket = await _ticketRepository.GetAsync(id);
ObjectMapper.Map(input, ticket);
var updatedTicket = await _ticketRepository.UpdateAsync(ticket);
return ObjectMapper.Map<Ticket, TicketDto>(updatedTicket);
}
Where is the AppUserDto located?
@AndrewT
https://blog.abp.io/abp/ABP-Framework-v2_7_0-Has-Been-Released
https://github.com/abpframework/abp/releases/tag/2.7.0