Can you share the error stack trace as well?
Great to hear that your problems are solved :)
UserManager should not be required to add role to users during seeding.
Do the user roles get created correctly in the database if you have the following instead of using UserManager?
//Assign Admin role to admin user
_context.UserRoles.Add(new UserRole(_tenantId, adminUser.Id, adminRole.Id));
_context.SaveChanges();
Remember to check the Tenant Id set in the user roles table.
Also, noticed that you were using userManager.Find...Async().Result which is not recommended.
You should write similar like this instead
public async Task MyMethod(){
await userManager.Find...Async();
}
You can read up on <a class="postlink" href="https://volosoft.com/migrating-from-asp-net-mvc-5x-to-asp-net-core/">https://volosoft.com/migrating-from-asp ... -net-core/</a>
And discussion here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2406">https://github.com/aspnetboilerplate/as ... ssues/2406</a>
I believe that you mean document processing library for .net (server side).
I don't have experience with such library before so I can't recommend any. :shock:
You may get such recommendations from others in the forum.
If SMTP probe app works for you, please share the following:
It seems that your email configuration is incorrect.
Have you installed/configured a SMTP server on your machine at Port 80?
It is unusual to use port 80 for your SMTP port. If you are running aspnetzero on the same machine, port 80/433 should be used for your web application instead of SMTP server.
Hi, can you check if Log.txt contains any email related errors?
Do you mean angular file upload library?
Currently, AspNetZero is using <a class="postlink" href="https://github.com/valor-software/ng2-file-upload">https://github.com/valor-software/ng2-file-upload</a>
Did you create a record using OrganisationUnit before retrieving it's data?
Assuming you are using EF Core, table-per-hierarchy (TPH) is used by default. That being said, OrganisationUnit and OrganizatonUnit being stored in the same table but are considered different entities. You can take a look at your organization unit table which will contains a discriminator column.
If you want to use OrganisationUnit, please ensure all data CRUD are going through OrganisationUnit repository methods.