我有一个 com+ 组件,它可以在一个名为 DataLayer 的 dll 中找到。当我尝试访问它时,会引发 SerializationException。
System.Runtime.Serialization.SerializationException:找不到程序集“DataLayer,版本=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
有人知道为什么找不到程序集吗?