Copied to clipboard

Flag this post as spam?

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


  • Jack Wilson 4 posts 72 karma points
    Nov 01, 2017 @ 11:27
    Jack Wilson
    0

    Getting an error when trying to get a form using FormStorage

    Hello,

    I'm trying to find out whether or not a member has already submitted a form in UmbracoForms by first, getting the form, then getting all records and checking if any match up with the currently logged in member.

    To get the form I'm doing the following:

    using(var storage = new FormStorage()) {
        return storage.GetForm(id);
    }
    

    Id is a valid Guid.

    However, when I do this I get the following error:

    Unable to get Form with name: '6324830d-4eb0-4718-b802-748a695ebefd' off disk or from the cache. Check the file exists on disk
    

    The form is definitely there, and the 'path' property of FormStorage is pointing to the correct place.

    Any ideas about what I'm doing wrong?

Please Sign in or register to post replies

Write your reply to:

Draft