Server Error in '/' Application.

Value cannot be null.
Parameter name: source

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.ArgumentNullException: Value cannot be null.
Parameter name: source

Source Error:


Line 1:  <%@ page title="" language="C#" masterpagefile="~/Master.master" autoeventwireup="true" inherits="AskQuestion, App_Web_askquestion.aspx.cdcab7d2" %>
Line 2:  <%@ MasterType VirtualPath="~/Master.master" %>
Line 3:  <asp:Content ID="conHead" ContentPlaceHolderID="cphHead" runat="Server">

Source File: d:\inetpub\wwwroot\eumis.grad-krk.hr\AskQuestion.aspx    Line: 1

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: source]
   System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +4966100
   NetCom.Web.UI.Page.get_Culture() +80
   NetCom.Web.UI.Page.InitializeCulture() +14
   ASP.askquestion_aspx.__BuildControlTree(askquestion_aspx __ctrl) in d:\inetpub\wwwroot\eumis.grad-krk.hr\AskQuestion.aspx:1
   ASP.askquestion_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\599ffdd8\bcf645b1\App_Web_askquestion.aspx.cdcab7d2.jo6x8a2-.0.cs:0
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +48
   System.Web.UI.Page.ProcessRequest() +76
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +24
   System.Web.UI.Page.ProcessRequest(HttpContext context) +62
   ASP.askquestion_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\599ffdd8\bcf645b1\App_Web_askquestion.aspx.cdcab7d2.jo6x8a2-.0.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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