@VVSES could you please provide the “template.psd” file for the investigation of the issue. You can attach this file to post, only the admins can download the attachments.
Please try to change the code “Image.Load” to “Aspose.PSD.Image.Load”
// Load PSD file
using (PsdImage image = (PsdImage)Aspose.PSD.Image.Load(@"template.psd"))
{
// Find Layer using layer's name
var layerToUpdateText = (TextLayer)FindLayer("Name", image);
// Simple way to update text
layerToUpdateText.UpdateText("John Doe");
// Save the updated PSD file
image.Save("updated-psd.psd");
}