我遇到组装错误

编程入门 行业动态 更新时间:2024-10-26 05:16:44
本文介绍了我遇到组装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好,我收到此错误,而我也没有相同的解决方案,请帮助我解决此错误.

Hello All, I am getting this error and I am not getting the solution for the same, please help me with this error.

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

还是不行. 这是我在BaseLibrary中的界面 ---------------------------------

Still not working guys. This is my Interface in BaseLibrary ---------------------------------

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

推荐答案

您需要使用具有该实现的较新版本进行更新.删除所有旧文件后,只需重做完整的部署即可. 祝您好运! 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!

如果您在一个程序集中有一个接口,而在另一个程序集中有其实现,并且实现程序集是针对该接口的不同版本构建的,则可能会发生这种情况. stackoverflow/questions/948785/typeloadexception-says-没有实现但实现了 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. stackoverflow/questions/948785/typeloadexception-says-no-implementation-but-it-is-implemented

更多推荐

我遇到组装错误

本文发布于:2023-11-13 12:02:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584306.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!