NOT approve image??



  • The moment finally discards or errors that pop up as follows: Click the "upload image" menu.

    "
    Error code :

    Server Error in '/clonedeploy' Application.
    Object reference not set to an instance of an object.
    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.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    Line 43: protected void btnApprove_Click(object sender, EventArgs e)
    Line 44: {
    Line 45: imagesBasePage.RequiresAuthorizationOrManagedImage(Authorizations.ApproveImage,Image.Id);
    Line 46: Image.Approved = 1;
    Line 47: PageBaseMaster.EndUserMessage = BLL.Image.UpdateImage(Image, Image.Name).IsValid

    Source File: c:\Program Files (x86)\clonedeploy\web\views\images\images.master.cs Line: 45

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    views.masters.ImageMaster.btnApprove_Click(Object sender, EventArgs e) in c:\Program Files (x86)\clonedeploy\web\views\images\images.master.cs:45
    System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +142
    System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +147
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6015

    Version Information: Microsoft .NET Framework 버전:4.0.30319; ASP.NET version :4.6.1055.0
    "
    Like

    What can i do??
    I write very difficult. What should I do?
    What about the setup?
    "Approved image" menu andoeni eopneyo do nothing.
    Thank you for your answer.