Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alex Andersen 4 posts 74 karma points
    Aug 29, 2021 @ 15:11
    Alex Andersen
    0

    Invalid object name 'UFUserSecurity' - UmbracoForms

    Hey

    Using the latest stable UmbracoCMS, I'm trying to install UmbracoForms (already have a license). Each time, the installation seems to go ok, but then when accessing the Forms section I'm getting an error: Invalid object name 'UFUserSecurity'.

    I tried both installing from the dashboard, manually trough uploading the package and via nuget. The result is the same. The problem is most certain the db, where no new tables appear. I used an sql admin user.

    Any idea what might be wrong?enter image description here

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Sep 22, 2021 @ 21:55
    Alex Skrypnyk
    0

    It looks like the application is not able to create Umbraco Forms tables in the database. So something with the db user or connection.

  • Damiaan 442 posts 1301 karma points MVP 6x c-trib
    Jan 07, 2023 @ 16:19
    Damiaan
    3

    Just for those looking at the same problem (in Umbraco v10).

    This might happen if someone installed umbraco forms earlier, but removed the database tables.

    You need to delete (or rename) the KEY in the UmbracoKeyValue database table from umbraco forms.

    Something link this:

    UPDATE UmbracoKeyValue 
    SET key 'Umbraco.Core.Upgrader.State+UmbracoForms_OLD' 
    WHERE key = 'Umbraco.Core.Upgrader.State+UmbracoForms'
    

    Then restart the website and you should be good to go.

  • Osman Coskun 164 posts 398 karma points
    Mar 06, 2024 @ 12:56
    Osman Coskun
    0

    Thank you.

Please Sign in or register to post replies

Write your reply to:

Draft