Error 80041771 when resizing
Posted: 2014-08-08T08:54:55-07:00
Hi
I am trying to resize an image in ASP classic and although it does re-size the file it comes up with an error.
My code is as follows
The error I receive is:
<font face="Arial" size=2><p>ImageMagickObject.MagickImage.1</font> <font face="Arial" size=2>error '80041771'</font><p><font face="Arial" size=2>An external object raised an error. No Error Description Available.</font><p><font face="Arial" size=2>/tenders/resizeforemail.asp</font><font face="Arial" size=2>, line 27</font>
I have installed ImageMagick-6.8.9-Q8 64 bit on a Windows 2008 R2 (64 bit) server.
My temporary workaround is to add...
... at the top but I don't like using this as if there are other problems in the code it will plough on regardless.
Has anyone come across this sort of thing?
Thanks very much
Ed
I am trying to resize an image in ASP classic and although it does re-size the file it comes up with an error.
My code is as follows
Code: Select all
Set img = Server.CreateObject("ImageMagickObject.MagickImage.1")
sourceFile="d:\intranets\mybwb\tenders\staffphotos\" & FileName
destFile="d:\intranets\mybwb\tenders\temp\ResizedPhoto.jpg"
img.Convert SourceFile, "-resize", "640x480", DestFile
Set img = Nothing
<font face="Arial" size=2><p>ImageMagickObject.MagickImage.1</font> <font face="Arial" size=2>error '80041771'</font><p><font face="Arial" size=2>An external object raised an error. No Error Description Available.</font><p><font face="Arial" size=2>/tenders/resizeforemail.asp</font><font face="Arial" size=2>, line 27</font>
I have installed ImageMagick-6.8.9-Q8 64 bit on a Windows 2008 R2 (64 bit) server.
My temporary workaround is to add...
Code: Select all
On Error Resume Next
Has anyone come across this sort of thing?
Thanks very much
Ed