Simple Issue with Default themes

So I am getting this error when I try to build my project in reference to my skin file.

Error      1      Type System.Web.UI.WebControls.Label already has a default theme defined.      App_Themes/SkinFile/      

I have this code in the skin file, and if I remove either line the code compiles and runs fine.   It seems to me that the SkinId tag is not being seen by ASP.  What am I doing wrong?

<asp:Label runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="Black" />

<asp:Label SkidId="Warning" runat="server"  Font-Bold="True" Font-Size="Medium" ForeColor="Red" />
pamsautoAsked:
Who is Participating?
 
TNameCommented:
>SkidId="Warning"
Shouldn't it be SkinId...?
0
 
pamsautoAuthor Commented:
Thats almost funny.

Simple Issue indeed!
0
 
imrancsCommented:
This happened with me too but instead there was different problem with same exception message.
somehow there was another skin file exists in theme folder with name skin1.skin i just deleted that one and got it fixed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.