Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
MichelB  
#1 Posted : Wednesday, September 7, 2005 6:36:29 PM(UTC)
MichelB

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

Andrew  
#2 Posted : Thursday, September 8, 2005 11:45:17 PM(UTC)
Andrew

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.
Andrew  
#3 Posted : Friday, September 9, 2005 1:30:26 PM(UTC)
Andrew

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.

Users browsing this topic
Guest
Similar Topics
Unable to create temporary file Error with Aurigma.GraphicsMill.Bitmap (Discussions – Graphics Mill)
by climaxmedia 12/2/2008 11:50:46 AM(UTC)
Unable to create temporary file (Discussions – Graphics Mill)
by IKO 5/15/2007 6:17:07 AM(UTC)
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.