Have you ever seen this error?
Same code works fine on my colleague pc... but when I try to save the form on my pc I get the following error.
<ClassName id="ref-18">System.TypeLoadException</ClassName>
<Message id="ref-19">Could not load type 'Csla.BusinessBase`1' from assembly 'OCSRR.Web.Controls, Version=1.0.2979.28349, Culture=neutral, PublicKeyToken=null'.</Message>
<Data xsi:null="1"/>
<InnerException xsi:null="1"/>
<HelpURL xsi:null="1"/>
<StackTraceString id="ref-20"> at OCSRR.Web.Controls.ReqRepFormBase`1.SaveBusinessObject()
at OCSRR.Web.Controls.FormBase.mBtnSave_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\OCSR\OCSRR\OCSRR.Web.Controls\FormBase.vb:line 200
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</StackTraceString>
<RemoteStackTraceString xsi:null="1"/>
<RemoteStackIndex>0</RemoteStackIndex>
<ExceptionMethod id="ref-21">8
SaveBusinessObject
OCSRR.Web.Controls, Version=1.0.2979.28349, Culture=neutral, PublicKeyToken=null
OCSRR.Web.Controls.ReqRepFormBase`1
Void SaveBusinessObject()</ExceptionMethod>
Can you help? Thank you
No, I haven't seen something like that.
However, you might try doing a Clean in your solution. And you might also try deleting the temporary web cache VS creates under your user profile. Sometimes that cache gets old stuff and VS can get confused.
Copyright (c) Marimer LLC