andrewdavey / postal

Email sending for asp.net mvc using the view engine system to render emails.
http://aboutcode.net/postal
MIT License
536 stars 168 forks source link

The method or operation is not implemented. I need some help solving this one. I don't understand it. This is a MVC 5.0 WebSite that I am trying to finish up. #148

Open wmnsrc opened 8 years ago

wmnsrc commented 8 years ago

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.b36(IAsyncResult asyncResult) +37 System.Web.Mvc.Async.WrappedAsyncResult1.CallEndDelegate(IAsyncResult asyncResult) +27 System.Web.Mvc.Async.WrappedAsyncResultBase1.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.b3d() +69 System.Web.Mvc.Async.<>cDisplayClass46.b3f() +230 System.Web.Mvc.Async.<>cDisplayClass33.b32(IAsyncResult asyncResult) +27 System.Web.Mvc.Async.WrappedAsyncResult1.CallEndDelegate(IAsyncResult asyncResult) +27 System.Web.Mvc.Async.WrappedAsyncResultBase1.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.b1c() +42 System.Web.Mvc.Async.<>cDisplayClass21.b1e(IAsyncResult asyncResult) +124 System.Web.Mvc.Async.WrappedAsyncResult1.CallEndDelegate(IAsyncResult asyncResult) +27 System.Web.Mvc.Async.WrappedAsyncResultBase1.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.b1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +27 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +48 System.Web.Mvc.Async.WrappedAsyncResultBase1.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.b15(IAsyncResult asyncResult, Controller controller) +26 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +40 System.Web.Mvc.Async.WrappedAsyncResultBase1.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.b5(IAsyncResult asyncResult, ProcessRequestState innerState) +27 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +48 System.Web.Mvc.Async.WrappedAsyncResultBase1.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) +155

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1073.0

tiesont commented 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.

jhoncarles725 commented 10 months ago

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.

danish-036 commented 1 month ago

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

tiesont commented 1 month ago

@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?

andrewdavey commented 1 month ago

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.

onistamodapk09 commented 2 weeks ago

It is like you're encountering an unimplemented method error. This usually happens when a method is defined but not yet implemented in the code honista apk. Double-check your controller or service for any unimplemented methods and make sure all necessary methods are properly defined and mapped.