Menu

#485 Using themed css files requires a header control on the page

open
None
6
2009-08-16
2007-05-10
Anonymous
No

after install site under subFolder i have error below,
what can i do?

Using themed css files requires a header control on the page. (e.g. <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.

Stack Trace:

[InvalidOperationException: Using themed css files requires a header control on the page. (e.g. <head runat="server" />).]
System.Web.UI.PageTheme.SetStyleSheet() +1948966
System.Web.UI.Page.OnInit(EventArgs e) +2009808
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692

Discussion

  • Corey Trager

    Corey Trager - 2007-05-10

    Logged In: YES
    user_id=645778
    Originator: NO

    Don't put BugTracker.NET in a subfolder under an existing virtual directory. This is, if you set up a virtual directory pointing to a folder "a", then put bugtracker.net in "a", not in a folder under "a".

    I think your BugTracker.NET is being affected by a Web.config in the folder above it.

    Could you let me know if this helps or not?

     
  • Corey Trager

    Corey Trager - 2007-05-10
    • assigned_to: nobody --> ctrager
     
  • Corey Trager

    Corey Trager - 2007-05-12
    • priority: 5 --> 3
     
  • Corey Trager

    Corey Trager - 2009-08-16
    • priority: 3 --> 6
     

Log in to post a comment.