System.Linq.Enumerable.First<TSource>(IEnumerable<TSource> source)
C:\projects\dapper\Dapper\SqlMapper.cs
C:\projects\dapper\Dapper\SqlMapper.cs
C:\projects\dapper\Dapper\SqlMapper.cs
E:\repo\seo\olddev2sites\DAL\Repositories\DocRepository.cs
E:\repo\seo\olddev2sites\BLL\Services\DocService.cs
E:\repo\seo\olddev2sites\Site\Core\SiteHelper.cs
E:\repo\seo\olddev2sites\Site\Controllers\HomeController.cs
System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Dapper.SqlMapper.ThrowZeroRows(Row row) in C:\projects\dapper\Dapper\SqlMapper.cs:line 1160 at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in C:\projects\dapper\Dapper\SqlMapper.cs:line 1214 at Dapper.SqlMapper.QueryFirst[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in C:\projects\dapper\Dapper\SqlMapper.cs:line 743 at DAL.Repositories.DocRepository.GetLawsPartText(String alias, String part, Int32& docId) in E:\repo\seo\olddev2sites\DAL\Repositories\DocRepository.cs:line 67 at BLL.Services.DocService.GetLawsPart(String alias, String part, PagerPageModel& pager) in E:\repo\seo\olddev2sites\BLL\Services\DocService.cs:line 903 at Site.Core.SiteHelper.GetHomeDocPartPageModel(IDocService docService, String alias, String part, DocVidEnum vid, Boolean addOkonAmp) in E:\repo\seo\olddev2sites\Site\Core\SiteHelper.cs:line 72 at Site.Controllers.HomeController.DocLawsPart(String alias, String part) in E:\repo\seo\olddev2sites\Site\Controllers\HomeController.cs:line 262 at lambda_method(Closure , Object , Object[] ) at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters) at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync() at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
No QueryString data.
Variable | Value |
---|---|
Accept | */* |
Connection | keep-alive |
Host | fzakon.ru |
User-Agent | claudebot |
X-Forwarded-For | 34.239.150.247 |
X-Forwarded-Proto | https |