Media File not syncing from admin to front end site

Vishal Bhatt asked on August 8, 2024 13:07

I have developed a Kentico 13 (.NET Core) application and deployed the published code on IIS. My URL example is provided below. However, when I upload files through the admin portal, they only get stored in the admin project and don't sync with the .NET Core application. Due to this my media file URL (/abc/media/abc/test.png) is not working but if I add admin in URL (admin/abc/media/abc/test.png) then it working

Admin - abc.com/admin

Front Application - abc.com

Recent Answers


John Lougee answered on August 8, 2024 16:02 (last edited on August 8, 2024 16:03)

This is often due to an issue with your web farm servers: Setting up web farms. Can you check the Web farm application in the administration interface for this instance to make sure all web farm servers are listed and that they display a healthy status: Monitoring web farm servers? You should have servers for at least the admin site and live site but you may have others depending on your setup. If they do not all display a healthy status or some are missing and you are using the automatic web farm mode, you can try restarting the web farm servers in the System application -> Restart all web farm servers button in the General tab. Then, make a request to both the administration interface as well as the live site and they should hopefully be added and transition to a healthy status within a few minutes.

If they do not and you are still having an issue there, I would recommend checking the Event log to see if there are any errors or more information in there on what is going on.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.