The resource class for this page was not found RRS feed

  • Question

  • User372596098 posted


    I added a resources file (settings_index.aspx.resx) to the App_LocalResources directory

    then I used this code in the markup of the page (settings_index.aspx)

    <h4 class="card-title"><%= GetLocalResourceObject("organization_label") %></h4>

    at run time I got this error

    An exception of type 'System.InvalidOperationException' occurred in System.Web.dll but was not handled in user code
    Additional information: The resource class for this page was not found.  Please check if the resource file exists and try again.

    i tried to remove the resources file and create it again , but no effect , still have that error 

    any idea?

    Thank you

    Saturday, December 30, 2017 11:33 PM

All replies