I get the following error in the backend of one of our modules:Server Error in '/' Application.
Method not found: 'Dynamicweb.Backend.User Dynamicweb.Backend.User.get_Current()'.
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.MissingMethodException: Method not found: 'Dynamicweb.Backend.User Dynamicweb.Backend.User.get_Current()'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[MissingMethodException: Method not found: 'Dynamicweb.Backend.User Dynamicweb.Backend.User.get_Current()'.]
Fonqi.VideoModule.UploadVideo.UploadButton_Click(Object sender, EventArgs e) +0
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
I get the Id of the backenduser logged in like this: Dynamicweb.Backend.User.Current.Id, and i supose this is where the solution fails.
What can I do about this?
- Sune