Skip to content

"Sequence contains no elements" error on fresh database #1

@GarethElms

Description

@GarethElms

Hi, I ran script.sql to create the database and fired up the app. Immediately got the linq error above on the SQL : "SELECT [BudgetPeriodId], [Description], [FromDate], [ToDate] FROM [BudgetPeriods] ". Stack trace is :

Infrastructure\PetaPoco.cs:840
\Handlers\HomeIndexHandler.cs:25
\Controllers\FrontController.cs:57
Controllers\FrontController.cs:24

I think this is just because there is no data to start with

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions