Click here to Skip to main content
15,743,429 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
iam use this code
but see this error

An exception of type 'System.Web.HttpCompileException' occurred in System.Web.dll but was not handled in user code

Additional information: External component has thrown an exception.
<div class="page">
       <div id="header">


           <div id="menucontainer">

               <ul id="menu">
                   <li>@Html.ActionLink("asdas", "Index", "VisitorLog")</li>
                   <li>@Html.ActionLink("asd", "Edit", "SiteSetting")</li>
                   <li>@Html.ActionLink("asd", "Index", "SiteDocument")</li>
       <div id="main">
Nathan Minier 22-Dec-14 11:43am    
Make sure that you have a file named _Header.cshtml or _Header.vbhtml in your Views/Shared directory.

If you do, have you overloaded your RazorViewEngine?

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