Hi, Getting the same type of error.
See below screenshots.
[https://www.dropbox.com/s/nf6qd2sp7j0iy78/Capture1.JPG?dl=0])
[https://www.dropbox.com/s/c5cy9vizilkaegl/Capture2.JPG?dl=0])
After executing below command dotnet AspNetZeroRadTool.dll Brand.json
An error occured. : Could not find a part of the path '../AHL/ahlbackend/AspNetZeroRadTool\FileTemplates\Server'.
Probably problem showing for directory structure difference between WINDOWS & MAC ( Slash & BackSlash)
Thanks
[/api/services/app/Timing/GetTimezones])
http://localhost:22742/api/services/app/Timing/GetTimezones?DefaultTimezoneScope=1"
In WINDOWS Return response TimeZone data correctly.
<span style="color:#FF0000">In MAC Throw exception. Return message "Internal Server Error"</span>
Host correctly running on port 5000. Checked through <a class="postlink" href="http://localhost:5000/swagger">http://localhost:5000/swagger</a> in my browser also able to login by Authorize button within swagger. But not showing frontend initial page in the browser within MAC PC (But in WINDOWS showing correctly).
[http://localhost:5000/api/TokenAuth/Authenticate]) In MAC This URL returns valid access token.
Getting error on MAC when accessing URL [http://localhost:5000/AbpUserConfiguration/GetAll])
Checked LOG and found below error for MAC.
DEBUG 2018-04-04 11:46:05,488 [1 ] Abp.Modules.AbpModuleManager - Loading Abp modules...
DEBUG 2018-04-04 11:46:05,627 [1 ] Abp.Modules.AbpModuleManager - Found 22 ABP modules in total.
DEBUG 2018-04-04 11:46:05,669 [1 ] Abp.Modules.AbpModuleManager - Loaded module: AHL.SPMS.Web.Startup.SPMSWebHostModule, AHL.SPMS.Web.Host, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,675 [1 ] Abp.Modules.AbpModuleManager - Loaded module: AHL.SPMS.Web.SPMSWebCoreModule, AHL.SPMS.Web.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,676 [1 ] Abp.Modules.AbpModuleManager - Loaded module: AHL.SPMS.SPMSApplicationModule, AHL.SPMS.Application, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,676 [1 ] Abp.Modules.AbpModuleManager - Loaded module: AHL.SPMS.SPMSCoreModule, AHL.SPMS.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,677 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,677 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,678 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AbpKernelModule, Abp, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,679 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.Ldap.AbpZeroLdapModule, Abp.Zero.Ldap, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,680 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,681 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetZeroCore.AbpAspNetZeroCoreModule, Abp.AspNetZeroCore, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,682 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.MailKit.AbpMailKitModule, Abp.MailKit, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,683 [1 ] Abp.Modules.AbpModuleManager - Loaded module: AHL.SPMS.EntityFrameworkCore.SPMSEntityFrameworkCoreModule, AHL.SPMS.EntityFrameworkCore, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,684 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,684 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,685 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.IdentityServer4.AbpZeroCoreIdentityServerEntityFrameworkCoreModule, Abp.ZeroCore.IdentityServer4.EntityFrameworkCore, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,686 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.IdentityServer4.AbpZeroCoreIdentityServerModule, Abp.ZeroCore.IdentityServer4, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,686 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetZeroCore.Web.AbpAspNetZeroCoreWebModule, Abp.AspNetZeroCore.Web, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,686 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,687 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,687 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Runtime.Caching.Redis.AbpRedisCacheModule, Abp.RedisCache, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,688 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:05,695 [1 ] Abp.Modules.AbpModuleManager - 22 modules loaded.
DEBUG 2018-04-04 11:46:05,863 [1 ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-04-04 11:46:05,863 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-04-04 11:46:05,863 [1 ] o.Configuration.LanguageManagementConfig - Converted SPMS (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-04-04 11:46:05,863 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
DEBUG 2018-04-04 11:46:07,083 [1 ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: AHL.SPMS.EntityFrameworkCore.SPMSDbContext, AHL.SPMS.EntityFrameworkCore, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG 2018-04-04 11:46:08,450 [1 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources.
DEBUG 2018-04-04 11:46:08,833 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Abp
DEBUG 2018-04-04 11:46:09,531 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpZero
DEBUG 2018-04-04 11:46:09,797 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: SPMS
DEBUG 2018-04-04 11:46:10,240 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpWeb
DEBUG 2018-04-04 11:46:10,304 [1 ] Abp.BackgroundJobs.BackgroundJobManager - Start background worker: Abp.BackgroundJobs.BackgroundJobManager
DEBUG 2018-04-04 11:46:10,392 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Found 2 classes define auto mapping attributes
DEBUG 2018-04-04 11:46:10,392 [1 ] Abp.AutoMapper.AbpAutoMapperModule - AHL.SPMS.Web.Models.TokenAuth.ExternalLoginProviderInfoModel
DEBUG 2018-04-04 11:46:10,400 [1 ] Abp.AutoMapper.AbpAutoMapperModule - AHL.SPMS.Friendships.Cache.FriendCacheItem
DEBUG 2018-04-04 11:46:18,991 [1 ] enancy.SubscriptionExpirationCheckWorker - Start background worker: AHL.SPMS.MultiTenancy.SubscriptionExpirationCheckWorker
DEBUG 2018-04-04 11:46:18,997 [1 ] cy.SubscriptionExpireEmailNotifierWorker - Start background worker: AHL.SPMS.MultiTenancy.SubscriptionExpireEmailNotifierWorker
INFO 2018-04-04 11:46:40,103 [8 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://localhost:5000/AbpUserConfiguration/GetAll
INFO 2018-04-04 11:46:41,372 [8 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) with arguments ((null)) - ModelState is Valid
ERROR 2018-04-04 11:46:42,834 [4 ] Mvc.ExceptionHandling.AbpExceptionFilter - Exception of type 'System.TimeZoneNotFoundException' was thrown.
System.TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown.
at TimeZoneConverter.TZConvert.GetTimeZoneInfo(String windowsOrIanaTimeZoneId)
at Abp.Web.Configuration.AbpUserConfigurationBuilder.<GetUserTimingConfig>d__46.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.Web.Common\Web\Configuration\AbpUserConfigurationBuilder.cs:line 238
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Abp.Web.Configuration.AbpUserConfigurationBuilder.<GetAll>d__37.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.Web.Common\Web\Configuration\AbpUserConfigurationBuilder.cs:line 66
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.<GetAll>d__2.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.AspNetCore\AspNetCore\Mvc\Controllers\AbpUserConfigurationController.cs:line 18
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at lambda_method(Closure , Object )
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
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 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
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.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext()
INFO 2018-04-04 11:46:42,902 [4 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
INFO 2018-04-04 11:46:43,102 [4 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) in 1890.721ms
INFO 2018-04-04 11:46:43,122 [4 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 3049.221ms 500 application/json; charset=utf-8
Hi,
Created a project on v5.3.0 using ASP.Net Core & Angular.
Application both frontend & backend running on the windows machine correctly but not showing login page on the MAC machine. Showing Internal Error. Backend swagger running on 5000 port also login using Authorize option in swagger. From network found that >http://localhost:5000/AbpUserConfiguration/GetAll returning error having "message":"An internal error occurred during your request!"
`http://localhost:5000/AbpUserConfiguration/GetAll`
{"result":null,"targetUrl":null,"success":false,"error":{"code":0,"message":"An internal error occurred during your request!","details":null,"validationErrors":null},"unAuthorizedRequest":false,"__abp":true}
Need your urgent help.
I used this for getting SqlConnection to execute StoredProcedure.
private readonly IConfigurationRoot _Configuration;
public CargoReportAppService(ICargoHeldupLogRepository cargoHeldupLogRepository,
ICargoReceivingInfoDetailRepository cargoReceivingInfoDetailRepository)
{
_CargoHeldupLogRepository = cargoHeldupLogRepository;
_CargoReceivingInfoDetailRepository = cargoReceivingInfoDetailRepository;
_Configuration = AppConfigurations.Get(WebContentDirectoryFinder.CalculateContentRootFolder(), addUserSecrets: true);
}
using (var dbConnection = new SqlConnection(configuration.GetConnectionString(SODMSConsts.ConnectionStringName)))
{
await dbConnection.OpenAsync();
cargoReceivingData = await dbConnection.QueryAsync<GetCargoReceivingReportOutput>("CargoReceivingReport",
new
{
FromDate = input.FromDate.Date,
ToDate = input.ToDate.Date,
AccountId = (input.AccountId == 0 || input.AccountId == null) ? null : input.AccountId,
DepotUnitId = (input.DepotUnitId == 0 || input.DepotUnitId == null) ? null : input.DepotUnitId
},
commandType: CommandType.StoredProcedure);
}
This is working fine in locally but getting error in production. Kindly suggest me other way to do that.
Hi, Found problems that related to SoftDelete in PARENT/CHILD relationships.
var countries = _CountryRepository.GetAll().Include(c=> c.CountryPorts);
Problem#1: .Include(c=> c.CountryPorts) returning deleted (SoftDelete IsDeleted = 1) CountryPorts data also.
Problem#2: When deleting (SoftDelete) any Parent Data, system not restricting when there are some Child data with the Id of the parent data.
I want to change the default Metronic theme to "Admin 3".
Is there any document which will help me to do that?
I am using ASP.NET CORE & Angular (v4.1.4) with .NET Core 1.1 framework.
Download theme (Version: metronic_v4.7) from your provided GitHub link.