Thanks a lot friend.Now it is working.Have a nice day ahead ! Cheers :)
Oh..I forgot it.Here it is ...
Note : I have to say that,all the parameters are correctly send to the above method.
ERROR 2016-10-20 12:41:28,944 [5 ] shi.IP.Web.Controllers.AccountController - Value cannot be null.
Parameter name: value
System.ArgumentNullException: Value cannot be null.
Parameter name: value
at System.Security.Claims.Claim..ctor(String type, String value, String valueType, String issuer, String originalIssuer, ClaimsIdentity subject, String propertyKey, String propertyValue)
at System.Security.Claims.Claim..ctor(String type, String value)
at Microsoft.AspNet.Identity.ClaimsIdentityFactory`2.<CreateAsync>d__0.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 Abp.Authorization.Users.AbpUserManager`2.<CreateIdentityAsync>d__40.MoveNext() in D:\Halil\GitHub\module-zero\src\Abp.Zero\Authorization\Users\AbpUserManager.cs:line 323
--- 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 Abp.Authorization.AbpLogInManager`3.<CreateLoginResultAsync>d__18.MoveNext() in D:\Halil\GitHub\module-zero\src\Abp.Zero\Authorization\AbpLoginManager.cs:line 216
--- 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.ValidateEnd(Task task)
at Abp.Authorization.AbpLogInManager`3.<LoginAsyncInternal>d__17.MoveNext() in D:\Halil\GitHub\module-zero\src\Abp.Zero\Authorization\AbpLoginManager.cs:line 194
--- 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 Abp.Authorization.AbpLogInManager`3.<LoginAsync>d__16.MoveNext() in D:\Halil\GitHub\module-zero\src\Abp.Zero\Authorization\AbpLoginManager.cs:line 0
--- 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 Abp.Threading.InternalAsyncHelper.<AwaitTaskWithPostActionAndFinallyAndGetResult>d__5`1.MoveNext() in D:\Halil\GitHub\aspnetboilerplate\src\Abp\Threading\InternalAsyncHelper.cs:line 120
--- 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 Joshi.IP.Web.Controllers.AccountController.<GetLoginResultAsync>d__22.MoveNext() in D:\Freelance Work\Nipun-SPA\IPLatest\Joshi.IP.Web\Controllers\AccountController.cs:line 235
--- 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 Joshi.IP.Web.Controllers.AccountController.<Login>d__19.MoveNext() in D:\Freelance Work\Nipun-SPA\IPLatest\Joshi.IP.Web\Controllers\AccountController.cs:line 162
--- 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 Abp.Threading.InternalAsyncHelper.<AwaitTaskWithPostActionAndFinallyAndGetResult>d__5`1.MoveNext() in D:\Halil\GitHub\aspnetboilerplate\src\Abp\Threading\InternalAsyncHelper.cs:line 120
--- 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.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeAsynchronousActionMethod>b__36(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
Hi, It seems to be a publishing issue.I have published it again and now it's working.Cheers :)
Hi,
Yes,it's there.The only thing which I have removed is this Configuration.Navigation.Providers.Add<MpaNavigationProvider>();//MPA!
.Hence I'm using SPA.Can you tell me why this error then ?
[DependsOn(
typeof(AbpWebMvcModule),
typeof(AbpZeroOwinModule),
typeof(IPDataModule),
typeof(IPApplicationModule),
typeof(IPWebApiModule),
typeof(AbpWebSignalRModule),
typeof(AbpRedisCacheModule), //AbpRedisCacheModule dependency can be removed if not using Redis cache
typeof(AbpHangfireModule))] //AbpHangfireModule dependency can be removed if not using Hangfire
public class IPWebModule : AbpModule
{
}
Hi, Actually all Abp.* packages are up to date. My problem was the reference of WebApi assemble inside the Web project was old.When I removed that and put a newly complied one then problem vanished.Cheers :)
Hi,
OK sure.I'll follow the above doc and will let you know if I'll have any issues.Thanks a lot.
deleted and recreated a staging site.problem sorted out.cheers :D
Oh..Thanks a lot.It's working now :)
Hi,
Now I have this error ? I have downloaded the "aspnet-zero-1.12.2" source code and there it's having this
<package id="Abp.Castle.Log4Net" version="0.11.3.0" targetFramework="net461" />
But latest nugget there is no such package.can you tell me why ?
My one :
<packages>
<package id="Abp" version="0.12.0.0" targetFramework="net461" />
<package id="Abp.AutoMapper" version="0.12.0.0" targetFramework="net461" />
<package id="Abp.EntityFramework" version="0.12.0.0" targetFramework="net461" />
<package id="Abp.EntityFramework.Common" version="0.12.0.0" targetFramework="net461" />
<package id="Abp.Zero" version="0.12.0.0" targetFramework="net461" />
<package id="Abp.Zero.EntityFramework" version="0.12.0.0" targetFramework="net461" />
<package id="AutoMapper" version="5.1.1" targetFramework="net461" />
<package id="Castle.Core" version="3.3.3" targetFramework="net461" />
<package id="Castle.Core-log4net" version="3.3.3" targetFramework="net461" />
<package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net461" />
<package id="Castle.Windsor" version="3.3.0" targetFramework="net461" />
<package id="Castle.Windsor-log4net" version="3.3.0" targetFramework="net461" />
<package id="EntityFramework" version="6.1.3" targetFramework="net461" />
<package id="EntityFramework.DynamicFilters" version="2.3.0" targetFramework="net461" />
<package id="log4net" version="1.2.10" targetFramework="net461" />
<package id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net461" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net461" />
<package id="Nito.AsyncEx" version="3.0.1" targetFramework="net461" />
<package id="System.Collections.Immutable" version="1.2.0" targetFramework="net461" />
<package id="System.Linq.Dynamic" version="1.0.6" targetFramework="net461" />
</packages>
aspnet-zero-1.12.2 code base.
<packages>
<package id="Abp" version="0.11.3.0" targetFramework="net461" />
<package id="Abp.AutoMapper" version="0.11.3.0" targetFramework="net461" />
<package id="Abp.Castle.Log4Net" version="0.11.3.0" targetFramework="net461" />
<package id="Abp.EntityFramework" version="0.11.3.0" targetFramework="net461" />
<package id="Abp.EntityFramework.Common" version="0.11.3.0" targetFramework="net461" />
<package id="Abp.Zero" version="0.11.2.0" targetFramework="net461" />
<package id="Abp.Zero.EntityFramework" version="0.11.2.0" targetFramework="net461" />
<package id="AutoMapper" version="5.1.1" targetFramework="net461" />
<package id="Castle.Core" version="3.3.3" targetFramework="net461" />
<package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net461" />
<package id="Castle.Windsor" version="3.3.0" targetFramework="net461" />
<package id="EntityFramework" version="6.1.3" targetFramework="net461" />
<package id="EntityFramework.DynamicFilters" version="1.4.11" targetFramework="net461" />
<package id="log4net" version="2.0.5" targetFramework="net461" />
<package id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net461" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net461" />
<package id="Nito.AsyncEx" version="3.0.1" targetFramework="net461" />
<package id="System.Collections.Immutable" version="1.2.0" targetFramework="net461" />
</packages>