We need to dynamically read permissions from database, we have injected the table repository object, however we called GetAll method inside AppAuthorizationProvider.SetPermissions we get the following error: System.ObjectDisposedException “Cannot access a disposed object. A common cause of this error is disposing a context that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling Dispose() on the context, or wrapping the context in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances. Object name: 'VdpDbContext'.
Hi,
We have created a new BackgroundJobManager, however the job has been excuted 2 times, one for each server. Is thier a way to make it run just one time?
Regards
url give 404
i need to get a list of users , who's have specific permission ,
Ok AbpUserRequestCultureProvider working fine, i just put it in thw wrong place
Thank ismcagdas for your reply,
I tried to follow all the steps in the thread and solved some issues, however I still miss one point.
We have AspNetCore-MVC template (Not Angular), we did the following:
Hello,
When we switch to Arabic language, (ar-sa) the system switch the calendar to sometimes Hijri and sometimes to converted strange calendar. and when we create or edit any item, we received a date time conversion error.
Is there any way to force the system to use Gregorian calendar even with Arabic language?
And the error from the log:
ERROR 2018-12-06 12:12:03,174 [53 ] Mvc.ExceptionHandling.AbpExceptionFilter - String '١٢/٦/٢٠١٨' was not recognized as a valid DateTime. System.FormatException: String '١٢/٦/٢٠١٨' was not recognized as a valid DateTime. at System.DateTimeParse.Parse(ReadOnlySpan`1 s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at System.DateTime.Parse(String s, IFormatProvider provider, DateTimeStyles styles) at Newtonsoft.Json.Converters.IsoDateTimeConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) at Abp.Json.AbpDateTimeConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) in D:\Github\aspnetboilerplate\src\Abp\Json\AbpDateTimeConverter.cs:line 22 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Formatters.JsonInputFormatter.ReadRequestBodyAsync(InputFormatterContext context, Encoding encoding) at Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder.BindModelAsync(ModelBindingContext bindingContext) at Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder.BindModelAsync(ActionContext actionContext, IModelBinder modelBinder, IValueProvider valueProvider, ParameterDescriptor parameter, ModelMetadata metadata, Object value) at Microsoft.AspNetCore.Mvc.Internal.ControllerBinderDelegateProvider.<>c__DisplayClass0_0.<