dewebeloper
2012-08-23T09:11:27Z
I create a new class and inherit from MembershipHelper. But when I'm run code I get follow error:

The requested service 'YAF.Core.UsersRoles.CustomMembershipHelper' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.


Line 158: CodeContracts.ArgumentNotNull(serviceType, "serviceType");
Line 159:
Line 160: return this.Container.Resolve(serviceType);
Line 161: }
Line 162:


Source File: E:\WebProjects\YAF.Net\YAF-v1.9.6.1-RTW-SRC\YAF.Core\AutoFacServiceLocatorProvider.cs Line: 160

Does anybody knows how to handle that?

Thanks
dewebeloper
Sponsor
Users browsing this topic

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved