IT Community - Software Programming, Web Development and Technical Support

ImageMagick MagickNet C# WebApplication

This is a discussion on ImageMagick MagickNet C# WebApplication within the C# Programming forums, part of the Software Development category; I have used the MagickNet DLL in my ASP.Net application. When I try to install the application in a ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  28 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 09-21-2007, 10:48 PM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 135
Anandavinayagam is on a distinguished road
Question ImageMagick MagickNet C# WebApplication

I have used the MagickNet DLL in my ASP.Net application. When I try to install the application in a machine with .Net framework 2.0 alone I get the below error message. Whereas if fullest Visual studio 2005 is installed then there is no problem. Can any body help me in this regard.

Server Error in '/Test' Application.
--------------------------------------------------------------------------------

This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.



For Past two days i am working on that to resolve this issue



Thanks in Advance

Any Help is appreciated...
__________________
The MOSS
Master of Solution Service
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-21-2007, 10:51 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Question ImageMagick MagickNet C#, ASP.NET integration

If Visual Studio installed in the system XP/Windows 2003 server its working

But not in net framework 2.0

I am also getting the same error...Did u resolve the issue..

Last edited by kingmaker : 10-09-2007 at 11:42 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-21-2007, 10:53 PM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 135
Anandavinayagam is on a distinguished road
Default Re: ImageMagick MagickNet C# WebApplication

I am trying to build Magicknet dll in Release mode

But not able to build ..It says some fatal error
__________________
The MOSS
Master of Solution Service
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-21-2007, 10:56 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Default ImageMagick - .NET C#

Clear me the error i am also in same situation


But there is more source needed like

VisualMagick

Magick


That is linked dynamically

Last edited by kingmaker : 10-09-2007 at 11:43 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-21-2007, 11:18 PM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 135
Anandavinayagam is on a distinguished road
Default Re: ImageMagick MagickNet C# WebApplication

oh...

There is no VisualMagick folder


So where u download the source
__________________
The MOSS
Master of Solution Service
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 09-21-2007, 11:23 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Default ImageMagick in C#.NET

You need this all source to build that in release mode
ImageMagick: Install from Source



MagickNet.src.1.0.0.3

ImageMagick-windows

ImageMagick-6.3.1 ---> VisualMagick

I am trying solve this path issue ..May be this is cause for the

Quote:
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
issue

Last edited by kingmaker : 10-09-2007 at 11:43 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 09-21-2007, 11:31 PM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 135
Anandavinayagam is on a distinguished road
Question Re: ImageMagick MagickNet C# WebApplication

yes...I got the source its works for me


I have Organized the folder like

In D Drive

Library Files
ImageMagick-6.3.1

Open Source VC++ dll Project
MagickNet.src.1.0.0.3

Some Lib
ImageMagick-windows

Because of the In VC++ Project they configured the path ../../ImageMagick-6.3.1

in ProjectProperties,C++/C,Linker

So i did the Organization...It works..Build is Successful and the dll works in the ASP.NET Web Application too...

Thanks for ur tips..finally i got the solution

Try this
__________________
The MOSS
Master of Solution Service
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 09-21-2007, 11:33 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Question Re: ImageMagick MagickNet C# WebApplication

Oh...Good ....I am also got the dll successfully as per ur structure...thanks...

But need to install ImageMagick-6.3.5-9-Q16-windows-dll.exe this thing in server.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 10-09-2007, 04:56 AM
chris chris is offline
D-Web Trainee
 
Join Date: Oct 2007
Posts: 15
chris is on a distinguished road
Default Re: ImageMagick MagickNet C# WebApplication

I am a complete newbie.

Could anyone please post a step by step tutorial how to compile the ImageMagick .net dll for a webproject?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 10-09-2007, 05:37 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Default Re: ImageMagick MagickNet C# WebApplication

You have to build the Magicknet dll in VC++ as release mode...or can u confirm this...i will guide you ..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 10-09-2007, 05:42 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Default Re: ImageMagick MagickNet C# WebApplication

Do u have downloaded the sources ...


MagickNet.src.1.0.0.3

ImageMagick-windows

ImageMagick-6.3.1 ---> VisualMagick
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 10-09-2007, 06:00 AM
chris chris is offline
D-Web Trainee
 
Join Date: Oct 2007
Posts: 15
chris is on a distinguished road
Default Re: ImageMagick MagickNet C# WebApplication

i have

MagickNet.src.1.0.0.3.zip

ImageMagick-windows.zip which contains ImageMagick-6.3.6

should i unzip MagickNet.src.1.0.0.3.zip and then unzip ImageMagick-windows.zip into the folder like:

[MagickNet] <- folder
[VisualMagick] <- folder
MagickNet.sln
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 10-09-2007, 07:16 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Thumbs up Re: ImageMagick MagickNet C# WebApplication

MagickNet.src.1.0.0.3

ImageMagick-windows

ImageMagick-6.3.6 folder contains VisualMagick folder


Open MagickNet.src.1.0.0.3...solution in Visual Studio..In Solution explorer Right Click the project and select Properties...


In Properties ->Cofiguratration Properties->C/C++->General

Right Side u can able to see the set of Properties for the General .....

In Addition Include Directories ..what is the Value...

Last edited by kingmaker : 10-09-2007 at 07:19 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 10-09-2007, 09:23 AM
chris chris is offline
D-Web Trainee
 
Join Date: Oct 2007
Posts: 15
chris is on a distinguished road
Default Re: ImageMagick MagickNet C# WebApplication

this is the value of Addition Include Directories:
"..\..\ImageMagick-6.3.1";"..\..\ImageMagick-6.3.1\magick"

the value of Linker->General->Addition libfolders:
"..\..\ImageMagick-6.3.1\VisualMagick\lib"
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 10-09-2007, 10:10 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Default Re: ImageMagick MagickNet C# WebApplication

U have folder like this ImageMagick-6.3.6

But for release build it depends on the folder....

Quote:
this is the value of Addition Include Directories:
"..\..\ImageMagick-6.3.1";"..\..\ImageMagick-6.3.1\magick"

the value of Linker->General->Addition libfolders:
"..\..\ImageMagick-6.3.1\VisualMagick\lib"
Two ways

1.Change the properties in Addition Include Directories and Linker: as ImageMagick-6.3.6

2.Rename the folder ImageMagick-6.3.6 to ImageMagick-6.3.1

Last edited by kingmaker : 10-09-2007 at 10:36 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 10-10-2007, 12:20 AM
chris chris is offline
D-Web Trainee
 
Join Date: Oct 2007
Posts: 15
chris is on a distinguished road
Lightbulb Re: ImageMagick MagickNet C# WebApplication

Ok. i changed the name of the properties but first i have to compile the libs in VisualMagick right?

And how should the folder structure be, like this?

|--[ImageMagick-6.3.6]
|--[Projects]
|--[MagickNet.src.1.0.0.3]
|-- MagickNet.sln
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 10-10-2007, 12:31 AM
chris chris is offline
D-Web Trainee
 
Join Date: Oct 2007
Posts: 15
chris is on a distinguished road
Default Re: ImageMagick MagickNet C# WebApplication

i tried to compile but got many errors, i had to comment this two lines out in MagickTypes.h

GrayPadQuantum = MagickLib::GrayPadQuantum,
RGBPadQuantum = MagickLib::RGBPadQuantum

and change in MagickColor.cpp

color->R
color->G
color->B
color->A

to

color.R
color.G
color.B
color.A

now i got these two errors left:

HSLTransform is no element of MagickLib
TransformHSL is no element of MagickLib
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 10-10-2007, 01:07 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Default Re: ImageMagick MagickNet C# WebApplication

No need to compile ...Visual Magick
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 10-10-2007, 01:12 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Default Re: ImageMagick MagickNet C# WebApplication

ok..good..i think almost u reached...

can i give the dll for u
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 10-10-2007, 01:36 AM
chris chris is offline
D-Web Trainee
 
Join Date: Oct 2007
Posts: 15
chris is on a distinguished road
Default Re: ImageMagick MagickNet C# WebApplication

that would be great. could you please send the dll to the email i contacted you earlier.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/c-programming/3926-imagemagick-magicknet-c-webapplication.html
Posted By For Type Date
ImageMagick • View topic - MagickNet This thread Refback 03-28-2008 09:21 PM
ImageMagick • View topic - MagickNet This thread Refback 02-25-2008 12:46 AM
Software Development - C# Programming at DiscussWeb.com This thread Refback 02-21-2008 01:07 PM
ImageMagick • View topic - MagickNet This thread Refback 01-13-2008 10:43 AM
Stuffs: ImageMagick C#.NET This thread Refback 01-08-2008 02:15 PM
ImageMagick • View topic - MagickNet This thread Refback 12-25-2007 08:34 PM
ImageMagick • View topic - MagickNet This thread Refback 12-18-2007 05:45 AM
ImageMagick • View topic - MagickNet This thread Refback 12-08-2007 11:34 PM
ImageMagick • View topic - MagickNet This thread Refback 12-06-2007 11:16 AM
ImageMagick • View topic - MagickNet This thread Refback 12-04-2007 12:20 PM
Midi Mick :: View topic - DLL not found when hosting in a new machine This thread Refback 11-30-2007 09:50 AM
ImageMagick • View topic - MagickNet This thread Refback 11-21-2007 02:26 AM
ImageMagick • View topic - MagickNet This thread Refback 11-20-2007 08:01 AM
ImageMagick • View topic - MagickNet This thread Refback 11-17-2007 06:05 AM
ImageMagick • View topic - MagickNet This thread Refback 10-30-2007 01:00 PM
Midi Mick :: View topic - DLL not found when hosting in a new machine This thread Refback 10-22-2007 06:45 AM
johannesbuchmann's bookmarks tagged with This thread Refback 10-16-2007 12:35 AM
Midi Mick :: View topic - DLL not found when hosting in a new machine This thread Refback 10-12-2007 12:02 AM
johannesbuchmann's bookmarks tagged with This thread Refback 10-11-2007 12:26 AM
ImageMagick • View topic - MagickNet This thread Refback 10-09-2007 01:05 PM
ImageMagick • View topic - MagickNet This thread Refback 10-09-2007 07:14 AM
johannesbuchmann's bookmarks tagged with This thread Refback 10-09-2007 05:48 AM
Midi Mick :: View topic - DLL not found when hosting in a new machine This thread Refback 10-02-2007 04:52 AM
Midi Mick :: View topic - DLL not found when hosting in a new machine This thread Refback 09-25-2007 01:25 PM
ImageMagick • View topic - MagickNet This thread Refback 09-25-2007 02:12 AM
Midi Mick :: View topic - DLL not found when hosting in a new machine This thread Refback 09-23-2007 08:58 PM
ImageMagick • View topic - MagickNet This thread Refback 09-21-2007 11:42 PM
Midi Mick :: View topic - DLL not found when hosting in a new machine This thread Refback 09-21-2007 11:35 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Addnoise using ImageMagick MagickNet in C#.NET Anandavinayagam C# Programming 1 09-20-2008 01:24 AM
Can anyone mail me a MagickNet.src.1.0.0.3.zip or MagickNet.dll Savior C# Programming 8 09-16-2008 12:34 AM
ImageMagick Magicknet psd to gif C#.NET Web Application kingmaker C# Programming 3 02-20-2008 08:57 PM
Chop Image using ImageMagick MagickNet Anandavinayagam C# Programming 3 01-08-2008 03:32 AM
Database checkpoint, while,testing,webapplication itbarota Testing Tools 1 08-17-2007 02:35 AM


All times are GMT -7. The time now is 03:34 PM.


Copyright ฉ2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
Miami FL Divorce Lawyers      Pittsburgh Personal Injury Law      Austin TX Auto Accident Lawyer
Sedo - Buy and Sell Domain Names and Websites project info: discussweb.com Statistics for project discussweb.com etrackerฎ web controlling instead of log file analysis

SEO by vBSEO 3.0.0