Rank: Member
Groups: Member
Joined: 9/7/2005(UTC) Posts: 1
|
When i execute one of the examples i get this: GraphicsMill.Bitmap.2.0 error 'ffffeff0' Method LoadFromFile failed. Unable to create temporary file. /bbol/test.asp, line 10 Code:
<!-- METADATA TYPE="typelib" UUID="{3CE48541-DE7A-4909-9314-9D0ED0D1CA5A}"-->
<%
Option Explicit
Dim objBitmap
Set objBitmap = Server.CreateObject("GraphicsMill.Bitmap")
'Load image from file
objBitmap.LoadFromFile "d:/michel.co-co.nl/www/bbol/test1.jpg"
'Resize image proportionally to width 100
objBitmap.Transforms.Resize 100
'Save image to response stream
objBitmap.SaveToStream Response
%>
I have given (to test) the user EVERYONE full control on this folder. So it should not be a rights issue. Where does the command store it's temp file? Regards, Michel. Edited by user Sunday, December 23, 2007 5:42:50 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
In fact temporary file location is returned to us by the system (as far as I know using GetTempFileName WinAPI function). I suggest it should be a Temp folder in user's profile (C:\Document and Settings\\Local Settings\Temp). However in case when you run it in ASP it may save to some other location, like C:\Windows\Temp or something like this. We will check it and I will update you.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
Try to configure permissions for C:\Windows\Temp.
Please let me know whether it helps.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.