We had the same issue exactly! As a workaround, we copied existing aspx files in our Sites Content folder that we knew had previously worked and pasted the new aspx information in them. We then changed the title of the file to what we wanted and the link address we copied now worked in the embed feature.
Embedding a aspx file in SharePoint for a clickable map failed. How can I fix it?
A Colleague of mine created a clickable World map to highlight his customers locations on Sharepoint 2019 Version. I used the same framework and created a different map (clickable/interactive) for the same purpose. A aspx file was created in Visual Studio. A html test was done after that and it shows everything working as wished. After uploading the folder containing: cities images (png), customers logos (png), world map (png) and aspx file, I used "copy link" to generate a link to the file. This link was then embedded on SharePoint in order to show the image. However I encountered and error:
Sorry, something went wrong
File Not Found.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 7f6122a1-d0fa-8000-bf30-0abf0c1f0d22
Date and Time: 4/24/2024 11:22:09 PMCan you help me with an explanation or a solution?
Regards,
Raoul