Hello Friends: Here i am converting PDF file to JPG format using Vb.net . it's working fine in my local system But when i upload on server occuring the following error.. {{ Retrieving the COM class factory for component with CLSID {16AA0B9E-79AC-43B5-86CA-AB961FBEED5F} failed due to the following error: 80040154. }} (This CLSIDno {16AA0B9E-79AC-43B5-86CA-AB961FBEED5F} is under contains the Photoshop software ) Because here i am using Photoshop basis convert the PDF file to JPG foprmat My Coding is: Dim temp As String temp = FileUpload1.FileName FileUpload1.SaveAs(Request.MapPath("~/temp/" + temp)) 'MsgBox(temp) Dim ntif As New Photoshop.Application ntif.Visible = False ntif = New Photoshop.ApplicationClass ntif.DisplayDialogs = Photoshop.PsDialogModes.psDisplayAllDialogs ntif.DisplayDialogs = Photoshop.PsDialogModes.psDisplayErrorDialogs ntif.PlaybackDisplayDialogs = Photoshop.PsDialogModes.psDisplayNoDialogs Dim opdf As New Photoshop.PDFOpenOptions opdf.Resolution = 100 ntif.Open(Request.MapPath("~/temp/" + temp), opdf) Dim jpg As New Photoshop.JPEGSaveOptions jpg.Quality = 4 ntif.ActiveDocument.SaveAs(Request.MapPath("~/JPEG/original/"), jpg, True, 2) ntif.DisplayDialogs = Photoshop.PsDialogModes.psDisplayNoDialogs ntif.DisplayDialogs = Photoshop.PsDialogModes.psDisplayNoDialogs ntif.PlaybackDisplayDialogs = Photoshop.PsDialogModes.psDisplayNoDialogs ntif.ActiveDocument.Close(Photoshop.PsSaveOptions.psDoNotSaveChanges) ntif.Application.Quit() How can i solve this problem. Please give me the possible solution for this problem. Thanks and Regards Balamurali.P
Try checking the security settings on the folder where the Photoshop.exe is setting. For simplicity's sake add Everyone to read/write/execute.