Hi there, All of our services can not be resolved by 'abp.services.*' We have fully read the Logs.txt in AppData folder and [dbo].[AbpAuditLogs] tables, but no useful formation has been found. Anybody facing the same issue ? We are using Aspnetzero and we updated all the packages to the latest version ( Abp V.2.0.2.0 ... )
_Header.js?v=636307129102958674:3 Uncaught TypeError: Cannot read property 'app' of undefined at HTMLDocument.<anonymous> (_Header.js?v=636307129102958674:3) at i (jquery.min.js:2) at Object.fireWith [as resolveWith] (jquery.min.js:2) at Function.ready (jquery.min.js:2) at HTMLDocument.K (jquery.min.js:2)
Dear support users, After upgrading my packages to version 2.0.2 , out project fails to run at application start and we have been getting a run time error ' item with the same key has already been added.'. Before upgrading we did not have such an error. The log file trace is :
DEBUG 2017-05-17 18:12:52,313 [1 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources.
DEBUG 2017-05-17 18:12:52,336 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Abp
DEBUG 2017-05-17 18:12:52,336 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpWeb
DEBUG 2017-05-17 18:12:52,347 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpZero
DEBUG 2017-05-17 18:12:52,366 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: TMS
DEBUG 2017-05-17 18:12:52,451 [1 ] Abp.BackgroundJobs.BackgroundJobManager - Start background worker: Abp.BackgroundJobs.BackgroundJobManager
DEBUG 2017-05-17 18:12:53,620 [1 ] Abp.Owin.OwinUserTokenProviderAccessor - DataProtectionProvider has not been set yet.
FATAL 2017-05-17 18:12:53,744 [1 ] Abp.AbpBootstrapper - System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary
2.Add(TKey key, TValue value)
at System.Web.Mvc.ModelBinderDictionary.Add(Type key, IModelBinder value)
at Abp.Web.Mvc.AbpWebMvcModule.PostInitialize()
at Abp.Modules.AbpModuleManager.<>c.<StartModules>b__15_2(AbpModuleInfo module)
at System.Collections.Generic.List1.ForEach(Action
1 action)
at Abp.Modules.AbpModuleManager.StartModules()
at Abp.AbpBootstrapper.Initialize()
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary
2.Add(TKey key, TValue value)
at System.Web.Mvc.ModelBinderDictionary.Add(Type key, IModelBinder value)
at Abp.Web.Mvc.AbpWebMvcModule.PostInitialize()
at Abp.Modules.AbpModuleManager.<>c.<StartModules>b__15_2(AbpModuleInfo module)
at System.Collections.Generic.List1.ForEach(Action
1 action)
at Abp.Modules.AbpModuleManager.StartModules()
at Abp.AbpBootstrapper.Initialize()
The failure causes after base.Application_Start(sender, e);
I would be really appreciated if you could help us ASAP. we are in a trouble which we can not rollback to the previous version !
Hi there,
The context fail to load the entities at AppTestBase > InitialHostDbBuilder Everything was fine but suddenly all the test fail. The stack trace is :
System.Data.Entity.Core.EntityCommandExecutionException An error occurred while executing the command definition. See the inner exception for details. at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func
1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery
1.<>c__DisplayClass7.<GetResults>b__5() at System.Data.Entity.Core.Objects.ObjectQuery1.GetResults(Nullable
1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0() at System.Data.Entity.Internal.LazyEnumerator
1.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source) at MITD.TMS.Migrations.Seed.Host.DefaultEditionCreator.CreateEditions() in F:\TfsWorkspace\SCTMS\src\Orms\MITD.TMS.EntityFramework\Migrations\Seed\Host\DefaultEditionCreator.cs:line 26 at MITD.TMS.Migrations.Seed.Host.DefaultEditionCreator.Create() in F:\TfsWorkspace\SCTMS\src\Orms\MITD.TMS.EntityFramework\Migrations\Seed\Host\DefaultEditionCreator.cs:line 21 at MITD.TMS.Migrations.Seed.Host.InitialHostDbBuilder.Create() in F:\TfsWorkspace\SCTMS\src\Orms\MITD.TMS.EntityFramework\Migrations\Seed\Host\InitialHostDbBuilder.cs:line 16 at MITD.TMS.Tests.AppTestBase.<>c.<.ctor>b__2_0(TMSDbContext context) in F:\TfsWorkspace\SCTMS\src\Tests\MITD.TMS.Tests\AppTestBase.cs:line 49 at MITD.TMS.Tests.AppTestBase.UsingDbContext(Nullable
1 tenantId, Action1 action) in F:\TfsWorkspace\SCTMS\src\Tests\MITD.TMS.Tests\AppTestBase.cs:line 160 at MITD.TMS.Tests.AppTestBase.UsingDbContext(Action
1 action) in F:\TfsWorkspace\SCTMS\src\Tests\MITD.TMS.Tests\AppTestBase.cs:line 135 at MITD.TMS.Tests.AppTestBase..ctor() in F:\TfsWorkspace\SCTMS\src\Tests\MITD.TMS.Tests\AppTestBase.cs:line 44 at MITD.TMS.Tests.Localization.LanguageAppService_Tests..ctor() in F:\TfsWorkspace\SCTMS\src\Tests\MITD.TMS.Tests\Localization\LanguageAppService_Tests.cs:line 21NMemory.Exceptions.ParameterException Error code: GenericError at NMemory.StoredProcedures.StoredProcedureBase.VerifyParameterValue(ParameterDescription parameter, Object value) at NMemory.StoredProcedures.StoredProcedureBase.VerifyParameters(IDictionary
2 parameters) at NMemory.StoredProcedures.SharedStoredProcedure
2.Execute(IDatabase database, IDictionary2 parameters, Transaction transaction) at Effort.Internal.CommandActions.QueryCommandAction.ExecuteDataReader(ActionContext context) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher
1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func3 operation, TInterceptionContext interceptionContext, Action
3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
I have updated the packages but i didnt resolve. Thank you for responsing ASAP. We are in trouble for our unit tests
Hi there, I have read most of the documents and posts about notification systems on the aspnetboilerplate documents and in the forum but I have still a question about extending notification system as I describe below. Suppose that we are going to have many notification providers such as Email, SMS, Facebook, Telegram, ... and let the users choose their favorite provider as they are subscribing the notifications. (AbpNotification entities are extended and required notification providers are implemented). At last while the Notification System is trying to send the notification, choose the suitable provider. I wonder to know that how can I extend the notification system to support this feature and are there any solutions in aspnetboilerplate infrastructure. If not, what is the start point of the implementation? Shall we use EventBus or any other alternatives ? :?: :?: :?: :?: Thanks ;)