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

Notification

Icon
Error

Options
Go to last post Go to first unread
Atreyu  
#1 Posted : Thursday, January 29, 2004 8:35:00 PM(UTC)
Atreyu

Rank: Member

Groups: Member
Joined: 1/28/2004(UTC)
Posts: 8

I have installed Graphics Mill and put the wrapper class in my bin folder. Now I'm able to create instances of the classes, and my code compiles.

But when I start the run my code, a basic function as loading an image fails. See the following code:
Code:
Imports Aurigma.Graphicsmill
.
Dim Image As Aurigma.GraphicsMill.Bitmap = New Aurigma.GraphicsMill.Bitmap
Image.LoadFromFile(Server.Mappath("filename.bmp"))
This very basic code compiles, but when I actually try to run it I get a late binding error message (Com-object error message):

Method LoadFromFile failed. This format is not supported.

If I try to perform a similar action on the same server, but with classical ASP, I have no issues.
Could it be that I have to create a wrapper classs for the GraphicsMill20BaseCodecs.dll or so?
There are not Asp.Net samples in the installed directory. Am I overlooking something?

Edited by user Thursday, December 20, 2007 6:54:19 PM(UTC)  | Reason: Not specified

Andrew  
#2 Posted : Thursday, January 29, 2004 11:04:00 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)
If filename.bmp is correct BMP, this error most likely means that there is no codecs in the proper place (\GraphicsMill20Codecs folder on the same level with GraphicsMill20.dll). Did you moved some files in addition to wrapper dll?
Atreyu  
#3 Posted : Thursday, January 29, 2004 11:44:00 PM(UTC)
Atreyu

Rank: Member

Groups: Member
Joined: 1/28/2004(UTC)
Posts: 8

No, I registered the COM dll in the location it was installed at (c:\program files\ etc.)

The wrapper class was placed in the bin directory of my website.

I've kept the codec folder in the original location because I presume the registered dll will point to it and not my wrapper class, because the wrapper class communicates with the registered dll.

It doesn't help if I put the codec directory in the bin file. (just to check)

Any suggestions what next to try?
Andrew  
#4 Posted : Sunday, February 1, 2004 3:43:00 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)
Does the file you tried to load is loaded by ASP code? If not, please submit case with it.

By the way, what OS do you use?

Edited by user Friday, May 23, 2008 4:20:14 PM(UTC)  | Reason: Not specified

Atreyu  
#5 Posted : Sunday, February 1, 2004 5:34:00 PM(UTC)
Atreyu

Rank: Member

Groups: Member
Joined: 1/28/2004(UTC)
Posts: 8

Yes, that's the strange thing. If I try to execute a similar script in ASP-code, it runs fine, but as soon as I try to do the .Net version of this script (with the same image), it refuses to load the image, returning the error message state above.

I run Windows 2000 server, Service Pack 4 with .Net Framework 1.1
Andrew  
#6 Posted : Sunday, February 1, 2004 5:48:00 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)
Is it possible to you to provide us a remote access to your server (using pcAnywhere or Terminal Services)? We could not reproduce it on our server... If yes, please submit case with an account information. If no, please let me know, we will try to find a problem together...

Edited by user Friday, May 23, 2008 4:20:47 PM(UTC)  | Reason: Not specified

Atreyu  
#7 Posted : Sunday, February 1, 2004 6:03:00 PM(UTC)
Atreyu

Rank: Member

Groups: Member
Joined: 1/28/2004(UTC)
Posts: 8

I'll try some other situations first.

I don't decide who can access our server, but my bet is that we don't privide any access to it as a company policy. Our development server is not easily accessible anyway, and our production server is kept as tightly shut as possible.

I'll keep you informed on my results via your support-email.
Andrew  
#8 Posted : Sunday, February 1, 2004 8:39:00 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)
Ok, if it is impossible due your security policy, I will understand.
Atreyu  
#9 Posted : Sunday, February 1, 2004 11:44:00 PM(UTC)
Atreyu

Rank: Member

Groups: Member
Joined: 1/28/2004(UTC)
Posts: 8

Okay, thanks. I've done one more test and mailed you the results.

Edited by user Friday, May 23, 2008 4:21:05 PM(UTC)  | Reason: Not specified

Andrew  
#10 Posted : Tuesday, February 3, 2004 8:34:00 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)
When did you mailed it to me? I still did not receive your message. Could you resend it?
Atreyu  
#11 Posted : Tuesday, February 3, 2004 8:41:00 PM(UTC)
Atreyu

Rank: Member

Groups: Member
Joined: 1/28/2004(UTC)
Posts: 8

I was wondering what happened to it.

I've resent the message. I hope you receive it now.

(I'll check with my mail administrator)
Users browsing this topic
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.