1
Vote

Compiler Error Message: CS0122: 'Resources.labels' is inaccessible due to its protection level

description

I made full access to App_Data, Custom folder and run this project on Please.
However, I occured compile error on browser.
These files are PostList.ascx and CommentList.ascx.

Getting Error:

Compiler Error Message: CS0122: 'Resources.labels' is inaccessible due to its protection level

Source Error:

(PostList.ascx)
Line 4: <div id="postPaging" style="display: none">
Line 5: <a runat="server" id="hlPrev" style="float:left"><< <%=Resources.labels.previousPosts %></a>
Line 6: <a runat="server" id="hlNext" style="float:right"><%=Resources.labels.nextPosts %> >></a>
Line 7: </div>

(CommentList.ascx)
Line 7: <%=Resources.labels.comments %> (<%=CommentCounter%>)
Line 27: <%=Resources.labels.cancelReply %>
Line 66: <%=Resources.labels.commentsAreClosed %>

What is wrong ? On my computer(local website) everything is working perfectly , But, error on server after publish on real web site (ex : http://www.ourblog.co.kr).

===(Refer to the image)=============================================
Success Local Web Site ▼
Image

Fail Real Web Site ▼
Image

comments