Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All, I am getting this error and I am not getting the solution for the same, please help me with this error.

MSIL
Server Error in '/ekisan' Application.


Method 'RegisterUser' in type 'RegistrationLibrary.RegistrationHandler' from assembly 'RegistrationLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.



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.TypeLoadException: Method 'RegisterUser' in type 'RegistrationLibrary.RegistrationHandler' from assembly 'RegistrationLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.



Source Error:
Line 389:            tdError.InnerText = m_ExcHndlr.HandleException(ex);
Line 390:        }
Line 391:    }
Line 392:    private void MaintainuserCookie(IDataReader userInfo)
Line 393:    {


Source File: f:\KISAN\NewKisanCom28-1-2011\KisanCom\trunk\src\ekisan\MasterPages\MainMasterPage.master.cs    Line: 391


Still not working guys.
This is my Interface in BaseLibrary
---------------------------------
C#
using
System;
namespace
BaseLibrary
{
public interface IRegistration
{
void RegisterUser(int userID, string gender, bool IsOrganization);//Added two para gender and Is orga.by manoj 1-2-11
void RegisterAdmin<T>(T registrationAdminInfo);
void CheckAvailability(string userName, string emailID);
void DeleteRegisteredUser<T>(T userID);
void SendActivationURL<T>(T registrationInfo, string activationKey);
}
}
-------------------------------

and I have Used in RegistrationLigrary

public class RegistrationHandler : DataOperationsBase, IRegistration
{
//All method are defined here
}


what would have happen...... Please

Thanks
Posted
Updated 3-Feb-11 3:18am
v3
Comments
Estys 3-Feb-11 9:19am    
I put the text of your "Answer" into your question.

You need to update it with the newer version that does have the implementation. Just redo a complete deployment after you removed all the old files.

Good luck!
 
Share this answer
 
This can occur if you have an interface in one assembly and its implementation in another, and the implementation assembly was built against a different version of the interface.

http://stackoverflow.com/questions/948785/typeloadexception-says-no-implementation-but-it-is-implemented
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900