COM +组件未找到参考

时间:2012-05-17 07:32:26

标签: c# exception .net-assembly com+

我有一个com +组件,可以在名为DataLayer的dll中找到。当我试图访问它时,抛出了SerializationException。

  

System.Runtime.Serialization.SerializationException:无法找到程序集' DataLayer,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 536d0c71bd79a82e'

[SerializationException: Unable to find assembly 'DataLayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=75bf3d847c507942'.]
   System.EnterpriseServices.IRemoteDispatch.RemoteDispatchAutoDone(String s) +0
   System.EnterpriseServices.RemoteServicedComponentProxy.Invoke(IMessage reqMsg) +963
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +237
   DataLayer.AddMember.AddNewMember(Members cm) in C:\COM\COMPlusApplcicationProject\DataLayer\AddMember.cs:65
   Presentation.Default.btnAdd_Click(Object sender, EventArgs e) in C:\COM\COMPlusApplcicationProject\Presentation\Default.aspx.cs:49
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

有人知道为什么找不到会员吗?

0 个答案:

没有答案