When I look in the inspector i see a request made to /umbraco/backoffice/UmbracoForms/Form/DeleteByGuid?guid=8d76c79b-eef0-4f4b-a238-430e647d724d with response 404.
Yeah, because I just tried delete a from on a test site, that is running Umbraco 7.2.4, and I don´t get the error that you show above.
Try to this /App_Plugins/UmbracoForms/Backoffice/Form/delete.html path in your Umbraco file structure and ensure that you have delete.html
Perhaps you could try uninstall and reinstall Umbraco Forms, if you don´t have to many forms yet, plus form data. Perhaps something went wrong doing the installation first time.
It does exist, but that file seems to be for the frontend. However, what's not working is something in the backend. Reinstalling is unfortunately not an option, so it would be great if it's possible to solve this somehow..
Hey Anton, since we can't reproduce the issue, would it be possible to send a copy of your site to tg at umbraco dot com? Then I can debug it locally and find a solution :)
Nope not yet :/
Tried Cristopher a med Umbraco instance and I had the very same problem there. Starting to think this is a server issue... What environment are you on? I'm on Server 2012/SQL Express 2012. IIS 8
I checked the database. I found out that the schema from a few tables where changed after I updated Umbraco Forms. After I changed the schema of these tables back to the original value, I was able to delete the forms again.
SQL query to change the schema name:
ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordDataBit; ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordDataDateTime; ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordDataInteger; ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordDataLongString; ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordDataString; ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordFields; ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecords; ALTER SCHEMA dbo TRANSFER incorrect_schema.UFUserFormSecurity; ALTER SCHEMA dbo TRANSFER incorrect_schema.UFUserSecurity;
Change 'incorrect_schema' to your current invalid schema name. I changed the schema name to my original valu: 'dbo'.
Deleting form gives 404
When trying to delete a form, we get the following error
Request error: The URL returned a 404 (not found): backoffice/UmbracoForms/Form/DeleteByGuid
When I look in the inspector i see a request made to /umbraco/backoffice/UmbracoForms/Form/DeleteByGuid?guid=8d76c79b-eef0-4f4b-a238-430e647d724d with response 404.
I've updated Umbraco to 7.2.4 with same result.
Hi Anton,
Perhaps you can get some more information about why you are getting this error by go to the /App_Data/Logs file and see if anything marked with ERROR.
Hope this can help you to solve your issue.
/Dennis
Hi Dennis,
Thank you for your reply!
I looked in UmbracoTraceLog.txt but nothing happens there when trying to delete. It feels like some DLL is missing, but I don't know.
Hi Anton,
Yeah, because I just tried delete a from on a test site, that is running Umbraco 7.2.4, and I don´t get the error that you show above.
Try to this /App_Plugins/UmbracoForms/Backoffice/Form/delete.html path in your Umbraco file structure and ensure that you have delete.html
Perhaps you could try uninstall and reinstall Umbraco Forms, if you don´t have to many forms yet, plus form data. Perhaps something went wrong doing the installation first time.
Hope this helps,
/Dennis
It does exist, but that file seems to be for the frontend. However, what's not working is something in the backend. Reinstalling is unfortunately not an option, so it would be great if it's possible to solve this somehow..
Comment author was deleted
Hey Anton, since we can't reproduce the issue, would it be possible to send a copy of your site to tg at umbraco dot com? Then I can debug it locally and find a solution :)
Absolutely! How would you like me to send it? DB and files zipped?
I also have this issue, and nothing related to this in the trace log.
Did any of you find a solution?
Thanks.
Nope not yet :/ Tried Cristopher a med Umbraco instance and I had the very same problem there. Starting to think this is a server issue... What environment are you on? I'm on Server 2012/SQL Express 2012. IIS 8
Comment author was deleted
Could you double check permissions on the App_Plugins/Forms/Data directory, since I think it might be due to failing delete permissions
Checked now,
IIS_IUSRS
have full permissions to the folder.Comment author was deleted
And still gives a 404?
Yup :/
Comment author was deleted
And permissions are also correct on the files in the folder?
Yes the permissions on the files seems to be the same as the permissions on the folder.
Comment author was deleted
Ok thanks, will add some additional logging so we have a better idea what is going wrong
I checked the database. I found out that the schema from a few tables where changed after I updated Umbraco Forms. After I changed the schema of these tables back to the original value, I was able to delete the forms again.
SQL query to change the schema name:
ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordDataBit;
ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordDataDateTime;
ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordDataInteger;
ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordDataLongString;
ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordDataString;
ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecordFields;
ALTER SCHEMA dbo TRANSFER incorrect_schema.UFRecords;
ALTER SCHEMA dbo TRANSFER incorrect_schema.UFUserFormSecurity;
ALTER SCHEMA dbo TRANSFER incorrect_schema.UFUserSecurity;
Change 'incorrect_schema' to your current invalid schema name.
I changed the schema name to my original valu: 'dbo'.
That doesn't seem to work for me :(
I was finally able to resolve this issue! :D I change the
Managed Pipeline Mode
in IIS toIntegrated
fromClassic
and now it works :)Hi Anton,
Great to hear to you managed to solve this issue.
And happy Umbraco coding.
/Dennis
is working on a reply...