Error : System.Exception: Exception of type 'System.Exception' was thrown.
System.InvalidOperationException: Sequence contains no elements at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) at System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression) at NSCMS.Common.PortalSetting.InitPortalSetting(String authority) in C:\Visual Studio Projects\01. Webzzer\NSCMS\Common\PortalSetting.cs:line 63 at NSCMS.Common.PortalSetting..ctor() in C:\Visual Studio Projects\01. Webzzer\NSCMS\Common\PortalSetting.cs:line 44 at NSCMS.Common._Default.Page_PreInit(Object sender, EventArgs e) in C:\Visual Studio Projects\01. Webzzer\NSCMS\Common\_Default.cs:line 23