Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 16: 	<meta charset="utf-8">
Line 17: 	<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
Line 18: 	<title>@studio.StudioName</title>
Line 19: 	<!--<link rel="shortcut icon" type="image/x-icon" href="/Content/studio/mobile/favicon.png"/>-->
Line 20:     <link rel="shortcut icon" type="image/x-icon" href="@("/Content/"+contentFolder+"/mobile/favicon.png")" />

Source File: c:\inetpub\wwwroot\WeekIn\WeekInStudentsBeta\Mobile\index.cshtml    Line: 18

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP._Page_mobile_index_cshtml.Execute() in c:\inetpub\wwwroot\WeekIn\WeekInStudentsBeta\Mobile\index.cshtml:18
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +251
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +98
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +181
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +106
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +141


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4076.0