Open wmnsrc opened 8 years ago
Old issue at this point, but this is likely occurring because the OWIN templates include an IEmailService
interface, which is not the same as the IEmailService
included in Postal. I would assume your DI container is incorrectly configured.
Facing "method not implemented" can be tricky in MVC 5.0. Check if the required method is declared and properly implemented in your code. Review the stack trace for more insights, and consider sharing relevant code snippets for targeted assistance. Invisible Text MVC 5.0 website.
The error indicates that a method in your IdentityConfig.cs file is throwing a NotImplementedException, specifically in the CreateAsync method. This typically means that you need to implement the logic for user creation there. Check the method at line 93 to add the required functionality. Regards ScarletJeo
@andrewdavey The last few comments here are clearly spam. Would you be interested in adding someone as a collaborator to help clean up messages of this sort?
Thanks for the offer. I've reported some to GitHub to see if they can block these accounts. So let's see how that goes.
Server Error in '/' Application.
The method or operation is not implemented.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NotImplementedException: The method or operation is not implemented.
Source Error:
Line 91: Line 92: { Line 93: throw new NotImplementedException(); Line 94: } Line 95: }
Source File: C:\VisualStudio_WorkFolder\WebApplication2\WebApplication2\App_Start\IdentityConfig.cs Line: 93
Stack Trace:
[NotImplementedException: The method or operation is not implemented.] WebApplication2.ApplicationUserManager.CreateAsync(Object password, ApplicationUser user) in C:\VisualStudio_WorkFolder\WebApplication2\WebApplication2\App_Start\IdentityConfig.cs:93 WebApplication2.Controllers.d__15.MoveNext() in C:\VisualStudio_WorkFolder\WebApplication2\WebApplication2\Controllers\AccountController.cs:157
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +92
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Runtime.CompilerServices.TaskAwaiter.GetResult() +26
System.Threading.Tasks.TaskHelpersExtensions.ThrowIfFaulted(Task task) +42
System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult) +73
System.Web.Mvc.Async.<>cDisplayClass37.b 36(IAsyncResult asyncResult) +37
System.Web.Mvc.Async.WrappedAsyncResultb3d() +69
System.Web.Mvc.Async.<>cDisplayClass46.b3f() +230
System.Web.Mvc.Async.<>cDisplayClass33.b32(IAsyncResult asyncResult) +27
System.Web.Mvc.Async.WrappedAsyncResultb1c() +42
System.Web.Mvc.Async.<>cDisplayClass21.b1e(IAsyncResult asyncResult) +124
System.Web.Mvc.Async.WrappedAsyncResultb 1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +27
System.Web.Mvc.Async.WrappedAsyncVoidb15(IAsyncResult asyncResult, Controller controller) +26
System.Web.Mvc.Async.WrappedAsyncVoidb 5(IAsyncResult asyncResult, ProcessRequestState innerState) +27
System.Web.Mvc.Async.WrappedAsyncVoid
1.CallEndDelegate(IAsyncResult asyncResult) +27 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +58 System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +68 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +34 System.Web.Mvc.Async.AsyncInvocationWithFilters.1.CallEndDelegate(IAsyncResult asyncResult) +27 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +58 System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +68 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34 System.Web.Mvc.Async.<>cDisplayClass2b.1.CallEndDelegate(IAsyncResult asyncResult) +27 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +58 System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +30 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +29 System.Web.Mvc.Controller.1.CallEndDelegate(IAsyncResult asyncResult) +48 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +58 System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +30 System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +21 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +32 System.Web.Mvc.Controller.1.CallEndDelegate(IAsyncResult asyncResult) +40 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +58 System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +30 System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +21 System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +29 System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +24 System.Web.Mvc.MvcHandler.1.CallEndDelegate(IAsyncResult asyncResult) +48 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +58 System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +30 System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +21 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +29 System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +23 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9744373 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1073.0