Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am getting below error,can any help me.thankX

Using themed css files requires a header control on the page. (e.g.
XML
<head runat="server" />).

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.InvalidOperationException: Using themed css files requires a header control on the page. (e.g. <head runat="server" />).

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
Posted

You need a head tag with runat="server" in the page (or master page) as below:
ASP.NET
<head runat="server">
    <title></title>
</head>

Refer ASP.NET Themes and required Head objects[^].

--Amit
 
Share this answer
 
Amit thankx for your reply
dear i already add in aspx page,but still getting the same error.even i add test page having a div with single text line and when browsing from domain still same Error.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900