Hello i did the following
*** This is my CreateOrEditModal.js part
$('#OpenSchoolLookupTableButton').click(function () {
var institution = _$institutionInformationForm.serializeFormToObject();
_schoolLookupTableModal.open({ id: institution.schoolId, displayName: institution.schoolSchoolName, cityId: institution.CityId}, function (data) {
_$institutionInformationForm.find('input[name=SchoolSchoolName]').val(data.displayName);
_$institutionInformationForm.find('input[name=SchoolId]').val(data.id);
});
});
$('#ClearSchoolSchoolNameButton').click(function () {
_$institutionInformationForm.find('input[name=SchoolSchoolName]').val('');
_$institutionInformationForm.find('input[name=SchoolId]').val('');
});
*** This is my Controller.js part
[AbpMvcAuthorize(AppPermissions.Pages_Institutions_Create, AppPermissions.Pages_Institutions_Edit)]
public PartialViewResult SchoolLookupTableModal(int? id, string displayName, int cityId)
{
var viewModel = new SchoolLookupTableViewModel()
{
Id = id,
CityId = cityId,
DisplayName = displayName,
FilterText = ""
};
return PartialView("_SchoolLookupTableModal", viewModel);
}
*** This is my Service part
public async Task<PagedResultDto<SchoolLookupTableDto>> GetAllSchoolForLookupTable(GetAllForLookupTableInput input)
{
var query = _schoolRepository.GetAll().WhereIf(
!string.IsNullOrWhiteSpace(input.Filter),
e=> e.SchoolName.ToString().Contains(input.Filter)
);
var totalCount = await query.CountAsync();
var schoolList = await query
.PageBy(input)
.ToListAsync();
var lookupTableDtoList = new List<SchoolLookupTableDto>();
foreach(var school in schoolList){
lookupTableDtoList.Add(new SchoolLookupTableDto
{
Id = school.Id,
DisplayName = school.SchoolName.ToString()
});
}
return new PagedResultDto<SchoolLookupTableDto>(
totalCount,
lookupTableDtoList
);
}
*** This is my GetAllForLookupTableInput part
public class GetAllForLookupTableInput : PagedAndSortedResultRequestDto
{
public int? CityId { get; set; }
public string Filter { get; set; }
}
*** This is my SchoolLookupTableViewModel part added line marked with ****
public class SchoolLookupTableViewModel
{
public int? Id { get; set; }
public int? CityId { get; set; }
public string DisplayName { get; set; }
public string FilterText { get; set; }
}
*** This is my part SchoolLookupTableViewModel
@using NOOR.Sched.Authorization
@using NOOR.Sched.Web.Areas.App.Models.Institutions
@using NOOR.Sched.Web.Areas.App.Startup
@using NOOR.Sched.Web.Areas.App.Models.Common.Modals
@model SchoolLookupTableViewModel
@section Scripts
{
<script abp-src="/view-resources/Areas/App/Views/Institutions/_SchoolLookupTableModal.js" asp-append-version="true"></script>
}
@Html.Partial("~/Areas/App/Views/Common/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(L("PickSchool")))
<div class="m-content">
<div class="m-portlet m-portlet--mobile">
<div class="m-portlet__body">
<div class="m-form m-form--label-align-right">
<div class="row align-items-center m--margin-bottom-10">
<div class="col-xl-12">
<div class="form-group m-form__group align-items-center">
<div class="input-group">
**** <input class="form-control" id="CityIdFilter" value="@Model.CityId" type="text" name="CityId" hidden /> ****
<input type="text" id="SchoolTableFilter" class="form-control m-input" placeholder="@L("SearchWithThreeDot")" value="@Model.FilterText">
<span class="input-group-btn">
<button id="GetSchoolButton" class="btn btn-primary" type="submit"><i class="flaticon-search-1"></i></button>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="row align-items-center">
<table id="SchoolTable" class="display table table-striped table-bordered table-hover dt-responsive nowrap">
<thead>
<tr>
<th>@L("Actions")</th>
<th>@L("SchoolName")</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
@Html.Partial("~/Areas/App/Views/Common/Modals/_ModalFooterWithClose.cshtml")
Ready to work as a contract developer, have developed 3 apps using ASP.NEt Zero, for overseas clients ,
please give me your contact details and we can take this discussion further.
regards Anwar
yes, no other parameters are passed....
hello
i followed the instruction but the cityId is not passed to the controller, it is always 0
regards Anwar
This is my CreatOrEditModal.js made changes
----------From Here
(function ($) { app.modals.CreateOrEditInstitutionModal = function () {
var _institutionsService = abp.services.app.institutions;
var _modalManager;
var _$institutionInformationForm = null;
var _cityLookupTableModal = new app.ModalManager({
viewUrl: abp.appPath + 'App/Institutions/CityLookupTableModal',
scriptUrl: abp.appPath + 'view-resources/Areas/App/Views/Institutions/_CityLookupTableModal.js',
modalClass: 'CityLookupTableModal'
}); var _schoolLookupTableModal = new app.ModalManager({
viewUrl: abp.appPath + 'App/Institutions/SchoolLookupTableModal',
scriptUrl: abp.appPath + 'view-resources/Areas/App/Views/Institutions/_SchoolLookupTableModal.js',
modalClass: 'SchoolLookupTableModal'
}); var _gradeLookupTableModal = new app.ModalManager({
viewUrl: abp.appPath + 'App/Institutions/GradeLookupTableModal',
scriptUrl: abp.appPath + 'view-resources/Areas/App/Views/Institutions/_GradeLookupTableModal.js',
modalClass: 'GradeLookupTableModal'
}); var _sectionLookupTableModal = new app.ModalManager({
viewUrl: abp.appPath + 'App/Institutions/SectionLookupTableModal',
scriptUrl: abp.appPath + 'view-resources/Areas/App/Views/Institutions/_SectionLookupTableModal.js',
modalClass: 'SectionLookupTableModal'
}); var _academicyearLookupTableModal = new app.ModalManager({
viewUrl: abp.appPath + 'App/Institutions/AcademicyearLookupTableModal',
scriptUrl: abp.appPath + 'view-resources/Areas/App/Views/Institutions/_AcademicyearLookupTableModal.js',
modalClass: 'AcademicyearLookupTableModal'
});
this.init = function (modalManager) {
_modalManager = modalManager;
var modal = _modalManager.getModal();
modal.find('.date-picker').datetimepicker({
locale: abp.localization.currentLanguage.name,
format: 'L'
});
_$institutionInformationForm = _modalManager.getModal().find('form[name=InstitutionInformationsForm]');
_$institutionInformationForm.validate();
};
$('#OpenCityLookupTableButton').click(function () {
var institution = _$institutionInformationForm.serializeFormToObject();
_cityLookupTableModal.open({ id: institution.cityId, displayName: institution.cityCitiName }, function (data) {
_$institutionInformationForm.find('input[name=CityCitiName]').val(data.displayName);
_$institutionInformationForm.find('input[name=CityId]').val(data.id);
});
});
$('#ClearCityCitiNameButton').click(function () {
_$institutionInformationForm.find('input[name=CityCitiName]').val('');
_$institutionInformationForm.find('input[name=CityId]').val('');
});
$('#OpenSchoolLookupTableButton').click(function () {
var institution = _$institutionInformationForm.serializeFormToObject();
_schoolLookupTableModal.open({ id: institution.schoolId, displayName: institution.schoolSchoolName,filterText:institution.cityCitiName}, function (data) {
---------------------------------------------------------------------------------------------------------------------- _$institutionInformationForm.find('input[name=SchoolSchoolName]').val(data.displayName); _$institutionInformationForm.find('input[name=SchoolId]').val(data.id); }); });
$('#ClearSchoolSchoolNameButton').click(function () {
_$institutionInformationForm.find('input[name=SchoolSchoolName]').val('');
_$institutionInformationForm.find('input[name=SchoolId]').val('');
});
$('#OpenGradeLookupTableButton').click(function () {
var institution = _$institutionInformationForm.serializeFormToObject();
_gradeLookupTableModal.open({ id: institution.gradeId, displayName: institution.gradeGradeName }, function (data) {
_$institutionInformationForm.find('input[name=GradeGradeName]').val(data.displayName);
_$institutionInformationForm.find('input[name=GradeId]').val(data.id);
});
});
$('#ClearGradeGradeNameButton').click(function () {
_$institutionInformationForm.find('input[name=GradeGradeName]').val('');
_$institutionInformationForm.find('input[name=GradeId]').val('');
});
$('#OpenSectionLookupTableButton').click(function () {
var institution = _$institutionInformationForm.serializeFormToObject();
_sectionLookupTableModal.open({ id: institution.sectionId, displayName: institution.sectionSectionName }, function (data) {
_$institutionInformationForm.find('input[name=SectionSectionName]').val(data.displayName);
_$institutionInformationForm.find('input[name=SectionId]').val(data.id);
});
});
$('#ClearSectionSectionNameButton').click(function () {
_$institutionInformationForm.find('input[name=SectionSectionName]').val('');
_$institutionInformationForm.find('input[name=SectionId]').val('');
});
$('#OpenAcademicyearLookupTableButton').click(function () {
var institution = _$institutionInformationForm.serializeFormToObject();
_academicyearLookupTableModal.open({ id: institution.academicyearId, displayName: institution.academicyearYear_Attended }, function (data) {
_$institutionInformationForm.find('input[name=AcademicyearYear_Attended]').val(data.displayName);
_$institutionInformationForm.find('input[name=AcademicyearId]').val(data.id);
});
});
$('#ClearAcademicyearYear_AttendedButton').click(function () {
_$institutionInformationForm.find('input[name=AcademicyearYear_Attended]').val('');
_$institutionInformationForm.find('input[name=AcademicyearId]').val('');
});
this.save = function () {
if (!_$institutionInformationForm.valid()) {
return;
}
var institution = _$institutionInformationForm.serializeFormToObject();
_modalManager.setBusy(true);
_institutionsService.createOrEdit(
institution
).done(function () {
abp.notify.info(app.localize('SavedSuccessfully'));
_modalManager.close();
abp.event.trigger('app.createOrEditInstitutionModalSaved');
}).always(function () {
_modalManager.setBusy(false);
});
};
};
})(jQuery);
any 3rd party chat component you recommend
yes i resolved this, but thanks for your help...
This is my code to register from mobile page befor login so under forgotpassword i created a link called Register and wote this code
it throws an error, i have shown the error below my code stack trace
my code
namespace NOOR.Sched.ViewModels { public class UserNewViewModel : XamarinViewModel { private readonly IUserNewAppService _userNewAppService; public readonly IAccountAppService _accountAppService; public ICommand SaveUserCommand => AsyncCommand.Create(RegisterUser); private RegisterInput _model;
public UserNewViewModel(IUserNewAppService userNewAppService, IAccountAppService accountAppService) { _userNewAppService = userNewAppService; _accountAppService = accountAppService; }
public override async Task InitializeAsync(object navigationData) { IsNewUser = navigationData == null; Model = new RegisterInput(); }
public RegisterInput Model { get => _model; set { _model = value; RaisePropertyChanged(() => Model); } }
private async Task RegisterUser() {
await SetBusyAsync(async () => { await WebRequestExecuter.Execute( async () => await _accountAppService.Register(new RegisterInput { UserName = Model.UserName, Password = Model.Password, Name = Model.Name, Surname = Model.Surname, EmailAddress = Model.EmailAddress
})); });
}
} }
-------------------- Code ends here
-------error stack trace
DEBUG 2018-03-19 09:18:29,290 [1 ] Abp.Modules.AbpModuleManager - Loading Abp modules...
DEBUG 2018-03-19 09:18:29,655 [1 ] Abp.Modules.AbpModuleManager - Found 23 ABP modules in total.
DEBUG 2018-03-19 09:18:29,682 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.Web.Startup.SchedWebHostModule, NOOR.Sched.Web.Host, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,684 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.Web.SchedWebCoreModule, NOOR.Sched.Web.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,684 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.SchedApplicationModule, NOOR.Sched.Application, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.SchedCoreModule, NOOR.Sched.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AbpKernelModule, Abp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.Ldap.AbpZeroLdapModule, Abp.Zero.Ldap, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,686 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,686 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetZeroCore.AbpAspNetZeroCoreModule, Abp.AspNetZeroCore, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,686 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.MailKit.AbpMailKitModule, Abp.MailKit, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,687 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.EntityFrameworkCore.SchedEntityFrameworkCoreModule, NOOR.Sched.EntityFrameworkCore, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,687 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,687 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,687 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.IdentityServer4.AbpZeroCoreIdentityServerEntityFrameworkCoreModule, Abp.ZeroCore.IdentityServer4.EntityFrameworkCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.IdentityServer4.AbpZeroCoreIdentityServerModule, Abp.ZeroCore.IdentityServer4, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetZeroCore.Web.AbpAspNetZeroCoreWebModule, Abp.AspNetZeroCore.Web, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,689 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.SignalR.AbpWebSignalRModule, Abp.Web.SignalR, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,689 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Runtime.Caching.Redis.AbpRedisCacheModule, Abp.RedisCache, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,689 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,693 [1 ] Abp.Modules.AbpModuleManager - 23 modules loaded.
DEBUG 2018-03-19 09:18:29,869 [1 ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-03-19 09:18:29,869 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-03-19 09:18:29,869 [1 ] o.Configuration.LanguageManagementConfig - Converted Sched (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-03-19 09:18:29,869 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-03-19 09:18:30,597 [1 ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: NOOR.Sched.EntityFrameworkCore.SchedDbContext, NOOR.Sched.EntityFrameworkCore, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:31,381 [1 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources.
DEBUG 2018-03-19 09:18:31,395 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Abp
DEBUG 2018-03-19 09:18:31,404 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpZero
DEBUG 2018-03-19 09:18:31,431 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Sched
DEBUG 2018-03-19 09:18:31,433 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpWeb
DEBUG 2018-03-19 09:18:31,533 [1 ] Abp.BackgroundJobs.BackgroundJobManager - Start background worker: Abp.BackgroundJobs.BackgroundJobManager
DEBUG 2018-03-19 09:18:31,674 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Found 2 classes define auto mapping attributes
DEBUG 2018-03-19 09:18:31,675 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2018-03-19 09:18:31,683 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Friendships.Cache.FriendCacheItem
DEBUG 2018-03-19 09:18:37,127 [1 ] enancy.SubscriptionExpirationCheckWorker - Start background worker: NOOR.Sched.MultiTenancy.SubscriptionExpirationCheckWorker
DEBUG 2018-03-19 09:18:37,130 [1 ] cy.SubscriptionExpireEmailNotifierWorker - Start background worker: NOOR.Sched.MultiTenancy.SubscriptionExpireEmailNotifierWorker
INFO 2018-03-19 09:19:55,133 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://169.254.80.80:22742/AbpUserConfiguration/GetAll">http://169.254.80.80:22742/AbpUserConfiguration/GetAll</a>
INFO 2018-03-19 09:19:55,909 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) with arguments ((null)) - ModelState is Valid
INFO 2018-03-19 09:19:56,306 [8 ] matters.Json.Internal.JsonResultExecutor - Executing JsonResult, writing value Abp.Web.Models.AjaxResponse.
INFO 2018-03-19 09:19:56,425 [8 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) in 581.4457ms
INFO 2018-03-19 09:19:56,425 [8 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 1308.6114ms 200 application/json; charset=utf-8
INFO 2018-03-19 09:20:37,002 [4 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://169.254.80.80:22742/api/services/app/Account/Register">http://169.254.80.80:22742/api/services ... t/Register</a> application/json; charset=utf-8 130
INFO 2018-03-19 09:20:37,553 [4 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method NOOR.Sched.Authorization.Accounts.AccountAppService.Register (NOOR.Sched.Application) with arguments (NOOR.Sched.Authorization.Accounts.Dto.RegisterInput) - ModelState is Valid
ERROR 2018-03-19 09:20:37,603 [4 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can not register host users!
System.InvalidOperationException: Can not register host users!
at NOOR.Sched.Authorization.Users.UserRegistrationManager.CheckForTenant() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 108
at NOOR.Sched.Authorization.Users.UserRegistrationManager.<RegisterAsync>d__13.MoveNext() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at NOOR.Sched.Authorization.Accounts.AccountAppService.<Register>d__16.MoveNext() in C:\Sched\src\NOOR.Sched.Application\Authorization\Accounts\AccountAppService.cs:line 76 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at lambda_method(Closure , Object ) at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext() INFO 2018-03-19 09:20:37,649 [4 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext. INFO 2018-03-19 09:20:37,667 [4 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action NOOR.Sched.Authorization.Accounts.AccountAppService.Register (NOOR.Sched.Application) in 622.5877ms INFO 2018-03-19 09:20:37,678 [4 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 676.3352ms 500 application/json; charset=utf-8 INFO 2018-03-19 09:26:29,785 [4 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://169.254.80.80:22742/api/services/app/Account/Register">http://169.254.80.80:22742/api/services ... t/Register</a> application/json; charset=utf-8 130 INFO 2018-03-19 09:26:29,785 [4 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method NOOR.Sched.Authorization.Accounts.AccountAppService.Register (NOOR.Sched.Application) with arguments (NOOR.Sched.Authorization.Accounts.Dto.RegisterInput) - ModelState is Valid ERROR 2018-03-19 09:26:29,801 [3 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can not register host users! System.InvalidOperationException: Can not register host users! at NOOR.Sched.Authorization.Users.UserRegistrationManager.CheckForTenant() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 108 at NOOR.Sched.Authorization.Users.UserRegistrationManager.<RegisterAsync>d__13.MoveNext() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 58 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult()
at NOOR.Sched.Authorization.Accounts.AccountAppService.<Register>d__16.MoveNext() in C:\Sched\src\NOOR.Sched.Application\Authorization\Accounts\AccountAppService.cs:line 76
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at lambda_method(Closure , Object )
at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext()
INFO 2018-03-19 09:26:29,801 [3 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
INFO 2018-03-19 09:26:29,801 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action NOOR.Sched.Authorization.Accounts.AccountAppService.Register (NOOR.Sched.Application) in 22.2039ms
INFO 2018-03-19 09:26:29,801 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 26.3704ms 500 application/json; charset=utf-8
INFO 2018-03-19 09:39:24,709 [9 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://169.254.80.80:22742/AbpUserConfiguration/GetAll">http://169.254.80.80:22742/AbpUserConfiguration/GetAll</a>
INFO 2018-03-19 09:39:24,718 [9 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) with arguments ((null)) - ModelState is Valid
INFO 2018-03-19 09:39:24,764 [3 ] matters.Json.Internal.JsonResultExecutor - Executing JsonResult, writing value Abp.Web.Models.AjaxResponse.
INFO 2018-03-19 09:39:24,765 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) in 44.3841ms
INFO 2018-03-19 09:39:24,765 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 56.3769ms 200 application/json; charset=utf-8
INFO 2018-03-19 09:41:59,291 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://169.254.80.80:22742/api/services/app/Account/Register">http://169.254.80.80:22742/api/services ... t/Register</a> application/json; charset=utf-8 132
INFO 2018-03-19 09:41:59,305 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method NOOR.Sched.Authorization.Accounts.AccountAppService.Register (NOOR.Sched.Application) with arguments (NOOR.Sched.Authorization.Accounts.Dto.RegisterInput) - ModelState is Valid
ERROR 2018-03-19 09:41:59,321 [4 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can not register host users!
System.InvalidOperationException: Can not register host users!
at NOOR.Sched.Authorization.Users.UserRegistrationManager.CheckForTenant() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 108
at NOOR.Sched.Authorization.Users.UserRegistrationManager.<RegisterAsync>d__13.MoveNext() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NOOR.Sched.Authorization.Accounts.AccountAppService.
DEBUG 2018-03-19 09:18:29,290 [1 ] Abp.Modules.AbpModuleManager - Loading Abp modules...
DEBUG 2018-03-19 09:18:29,655 [1 ] Abp.Modules.AbpModuleManager - Found 23 ABP modules in total.
DEBUG 2018-03-19 09:18:29,682 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.Web.Startup.SchedWebHostModule, NOOR.Sched.Web.Host, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,684 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.Web.SchedWebCoreModule, NOOR.Sched.Web.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,684 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.SchedApplicationModule, NOOR.Sched.Application, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.SchedCoreModule, NOOR.Sched.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AbpKernelModule, Abp, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.Ldap.AbpZeroLdapModule, Abp.Zero.Ldap, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,686 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,686 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetZeroCore.AbpAspNetZeroCoreModule, Abp.AspNetZeroCore, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,686 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.MailKit.AbpMailKitModule, Abp.MailKit, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,687 [1 ] Abp.Modules.AbpModuleManager - Loaded module: NOOR.Sched.EntityFrameworkCore.SchedEntityFrameworkCoreModule, NOOR.Sched.EntityFrameworkCore, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,687 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,687 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,687 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.IdentityServer4.AbpZeroCoreIdentityServerEntityFrameworkCoreModule, Abp.ZeroCore.IdentityServer4.EntityFrameworkCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.IdentityServer4.AbpZeroCoreIdentityServerModule, Abp.ZeroCore.IdentityServer4, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetZeroCore.Web.AbpAspNetZeroCoreWebModule, Abp.AspNetZeroCore.Web, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,689 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.SignalR.AbpWebSignalRModule, Abp.Web.SignalR, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,689 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Runtime.Caching.Redis.AbpRedisCacheModule, Abp.RedisCache, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,689 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:29,693 [1 ] Abp.Modules.AbpModuleManager - 23 modules loaded.
DEBUG 2018-03-19 09:18:29,869 [1 ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-03-19 09:18:29,869 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-03-19 09:18:29,869 [1 ] o.Configuration.LanguageManagementConfig - Converted Sched (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-03-19 09:18:29,869 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-03-19 09:18:30,597 [1 ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: NOOR.Sched.EntityFrameworkCore.SchedDbContext, NOOR.Sched.EntityFrameworkCore, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-03-19 09:18:31,381 [1 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources.
DEBUG 2018-03-19 09:18:31,395 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Abp
DEBUG 2018-03-19 09:18:31,404 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpZero
DEBUG 2018-03-19 09:18:31,431 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Sched
DEBUG 2018-03-19 09:18:31,433 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpWeb
DEBUG 2018-03-19 09:18:31,533 [1 ] Abp.BackgroundJobs.BackgroundJobManager - Start background worker: Abp.BackgroundJobs.BackgroundJobManager
DEBUG 2018-03-19 09:18:31,674 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Found 2 classes define auto mapping attributes
DEBUG 2018-03-19 09:18:31,675 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Web.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2018-03-19 09:18:31,683 [1 ] Abp.AutoMapper.AbpAutoMapperModule - NOOR.Sched.Friendships.Cache.FriendCacheItem
DEBUG 2018-03-19 09:18:37,127 [1 ] enancy.SubscriptionExpirationCheckWorker - Start background worker: NOOR.Sched.MultiTenancy.SubscriptionExpirationCheckWorker
DEBUG 2018-03-19 09:18:37,130 [1 ] cy.SubscriptionExpireEmailNotifierWorker - Start background worker: NOOR.Sched.MultiTenancy.SubscriptionExpireEmailNotifierWorker
INFO 2018-03-19 09:19:55,133 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://169.254.80.80:22742/AbpUserConfiguration/GetAll">http://169.254.80.80:22742/AbpUserConfiguration/GetAll</a>
INFO 2018-03-19 09:19:55,909 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) with arguments ((null)) - ModelState is Valid
INFO 2018-03-19 09:19:56,306 [8 ] matters.Json.Internal.JsonResultExecutor - Executing JsonResult, writing value Abp.Web.Models.AjaxResponse.
INFO 2018-03-19 09:19:56,425 [8 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) in 581.4457ms
INFO 2018-03-19 09:19:56,425 [8 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 1308.6114ms 200 application/json; charset=utf-8
INFO 2018-03-19 09:20:37,002 [4 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://169.254.80.80:22742/api/services/app/Account/Register">http://169.254.80.80:22742/api/services ... t/Register</a> application/json; charset=utf-8 130
INFO 2018-03-19 09:20:37,553 [4 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method NOOR.Sched.Authorization.Accounts.AccountAppService.Register (NOOR.Sched.Application) with arguments (NOOR.Sched.Authorization.Accounts.Dto.RegisterInput) - ModelState is Valid
ERROR 2018-03-19 09:20:37,603 [4 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can not register host users!
System.InvalidOperationException: Can not register host users!
at NOOR.Sched.Authorization.Users.UserRegistrationManager.CheckForTenant() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 108
at NOOR.Sched.Authorization.Users.UserRegistrationManager.<RegisterAsync>d__13.MoveNext() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at NOOR.Sched.Authorization.Accounts.AccountAppService.<Register>d__16.MoveNext() in C:\Sched\src\NOOR.Sched.Application\Authorization\Accounts\AccountAppService.cs:line 76 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at lambda_method(Closure , Object ) at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext() INFO 2018-03-19 09:20:37,649 [4 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext. INFO 2018-03-19 09:20:37,667 [4 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action NOOR.Sched.Authorization.Accounts.AccountAppService.Register (NOOR.Sched.Application) in 622.5877ms INFO 2018-03-19 09:20:37,678 [4 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 676.3352ms 500 application/json; charset=utf-8 INFO 2018-03-19 09:26:29,785 [4 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://169.254.80.80:22742/api/services/app/Account/Register">http://169.254.80.80:22742/api/services ... t/Register</a> application/json; charset=utf-8 130 INFO 2018-03-19 09:26:29,785 [4 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method NOOR.Sched.Authorization.Accounts.AccountAppService.Register (NOOR.Sched.Application) with arguments (NOOR.Sched.Authorization.Accounts.Dto.RegisterInput) - ModelState is Valid ERROR 2018-03-19 09:26:29,801 [3 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can not register host users! System.InvalidOperationException: Can not register host users! at NOOR.Sched.Authorization.Users.UserRegistrationManager.CheckForTenant() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 108 at NOOR.Sched.Authorization.Users.UserRegistrationManager.<RegisterAsync>d__13.MoveNext() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 58 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult()
at NOOR.Sched.Authorization.Accounts.AccountAppService.<Register>d__16.MoveNext() in C:\Sched\src\NOOR.Sched.Application\Authorization\Accounts\AccountAppService.cs:line 76
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at lambda_method(Closure , Object )
at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext()
INFO 2018-03-19 09:26:29,801 [3 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
INFO 2018-03-19 09:26:29,801 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action NOOR.Sched.Authorization.Accounts.AccountAppService.Register (NOOR.Sched.Application) in 22.2039ms
INFO 2018-03-19 09:26:29,801 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 26.3704ms 500 application/json; charset=utf-8
INFO 2018-03-19 09:39:24,709 [9 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://169.254.80.80:22742/AbpUserConfiguration/GetAll">http://169.254.80.80:22742/AbpUserConfiguration/GetAll</a>
INFO 2018-03-19 09:39:24,718 [9 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) with arguments ((null)) - ModelState is Valid
INFO 2018-03-19 09:39:24,764 [3 ] matters.Json.Internal.JsonResultExecutor - Executing JsonResult, writing value Abp.Web.Models.AjaxResponse.
INFO 2018-03-19 09:39:24,765 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) in 44.3841ms
INFO 2018-03-19 09:39:24,765 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 56.3769ms 200 application/json; charset=utf-8
INFO 2018-03-19 09:41:59,291 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://169.254.80.80:22742/api/services/app/Account/Register">http://169.254.80.80:22742/api/services ... t/Register</a> application/json; charset=utf-8 132
INFO 2018-03-19 09:41:59,305 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method NOOR.Sched.Authorization.Accounts.AccountAppService.Register (NOOR.Sched.Application) with arguments (NOOR.Sched.Authorization.Accounts.Dto.RegisterInput) - ModelState is Valid
ERROR 2018-03-19 09:41:59,321 [4 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can not register host users!
System.InvalidOperationException: Can not register host users!
at NOOR.Sched.Authorization.Users.UserRegistrationManager.CheckForTenant() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 108
at NOOR.Sched.Authorization.Users.UserRegistrationManager.<RegisterAsync>d__13.MoveNext() in C:\Sched\src\NOOR.Sched.Core\Authorization\Users\UserRegistrationManager.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NOOR.Sched.Authorization.Accounts.AccountAppService.