Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Doesn't initialise  #2

@p10tyr

Description

@p10tyr

Sorry to be a bit thick but this doesn't work as you described.

I installed the package, then I use my existing code first connection string.

<add name="MyDbContext" connectionString="Data Source=.\SQLEXPRESS; Initial Catalog=Databse; Integrated Security=True;Connect Timeout=300;Encrypt=false;Trusted_Connection=true;MultipleActiveResultSets=True;" providerName="System.Data.SqlClient" />
  <elmah>
    <errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="MyDbContext" />
  </elmah>

and when I go to /elmah

Could not find stored procedure 'ELMAH_GetErrorsXml'.

? Nothing is created in the database.

I delete the database and when I re run it EF creates my models but still the same error.

What am I missing?

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