Label

Kraj:
Datum:
Label
Organizator:
Label

Label


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.Table`1.System.Linq.IQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.First[TSource](IQueryable`1 source, Expression`1 predicate) at dbi.events.getview(dbDataContext db, Int32 ticketID) in c:\inetpub\wwwroot\App_Code\Primorske\dbi.cs:line 481 at CMSWebParts_PrimorskeNovice_CategoryNewsBox.populateEvent(String eventID) in c:\inetpub\wwwroot\CMSWebParts\PrimorskeNovice\Events\Event.ascx.cs:line 66

Komentarji
Za komentiranje se morate prijaviti.

Brez komentarja

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.Table`1.System.Linq.IQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.First[TSource](IQueryable`1 source, Expression`1 predicate) at dbi.events.getview(dbDataContext db, Int32 ticketID) in c:\inetpub\wwwroot\App_Code\Primorske\dbi.cs:line 481 at CMSWebParts_PrimorskeNovice_CategoryNewsBox.populateEvent(String eventID) in c:\inetpub\wwwroot\CMSWebParts\PrimorskeNovice\Events\SimilarEvents.ascx.cs:line 40