This is a discussion on ImageMagick MagickNet C# WebApplication within the C# Programming forums, part of the Software Development category; External component has thrown an exception. Description: An unhandled exception occurred during the execution of the current web request. Please ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| External component has thrown an exception. 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. Exception Details: System.Runtime.InteropServices.SEHException: External component has thrown an exception. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [SEHException (0x80004005): External component has thrown an exception.] Magick.Image.{ctor}(Image* , basic_string<char\,std::char_traits<char>\,std::al locator<char> >* ) +0 ImageMagickNET.Image..ctor(String imageSpec)
__________________ The MOSS Master of Solution Service |
| Sponsored Links |
| |||
| May be Rights issue Use impersonate <identity impersonate="true" userName="domain\admin" password="password"/> in web.config |
| |||
| Hello everybody, I am using the latest version of ImageMagick with MagickNET and Ghostscript for a .NET project in C#. I am trying to create an Enumerator to parse a multi-page PDF document and export each page to jpg. I use the following code: Code: ImageMagickNET.ImageList imgList = new ImageMagickNET.ImageList(); imgList.ReadImages(Server.MapPath(filename)); ImageMagickNET.ImageListEnumerator imgArray = new ImageMagickNET.ImageListEnumerator(imgList); CS1502: The best overloaded method match for 'ImageMagickNET.ImageListEnumerator.ImageListEnume rator(std.list<Magick::Image,std::allocator<Magick ::Image> >*)' has some invalid arguments Does anyone know what "std.list<Magick::Image,std::allocator<Magick::Ima ge> >*" is? |
| |||
| I am also getting the same error while using the same method....but i dont think it is not a correct version...ImageMagick DLL doen not have the function...... |
| |||
| Hi, Kingmaker : I can not open your first .dll can you please, can you try to send it per mail? The dll works well on the developement PC but on others PC I get an error: An error occured during the process : Could not load file or assembly 'MagickNet, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null' |
| |||
| can u give me the full exception msg...i think the system...could not find the"System.IO.FileNotFoundException" and ur email id? |
| |||
| Thanks for your answers (it was me by mail too alias superfifi). I have two cases
I am totally lost, please help me ![]() |
| |||
| Please install this..... Download details: Visual C++ 2005 SP1 Redistributable Package (x86) Quote:
FEEL FREE TO ASK UR QUERIES ![]() Last edited by kingmaker : 01-10-2008 at 02:05 AM. |
| |||
| Great.... After installing the "Download details: Visual C++ 2005 SP1 Redistributable Package (x86)" this one....issue fixed right? |
| |||
| Is MagickNet able to resize an image to the size of something like 35000x35000? I am developing a software to do this banner size images hence I need to resize sometimes big images. Also, my ImageMagickNet was not working. A very simple code also doesn't compile - gives HResult exception Code: string filename = "c:\\myImage1.jpg"; ImageMagickNET.Image medImg = new ImageMagickNET.Image(filename); |
| |||
| you can convert to any size....depends upon aspect ratio /need required size Last edited by kingmaker : 02-26-2008 at 05:02 AM. |
| |||
| Where to start? I have a need to convert a pdf document to a tif image. In this particular project all of my pdf documents will be only one page. I can use the MagicNet.dll (version 1.0.0.3) to convert properly a tif image to a pdf. However, I do not know the code to convert a pdf to a tif. In my searching the web, I found a reference on ImageMagick about specifying the page to convert using the [#], but could only find this option in the ImageMagickNet.dll (version 1.0.2875.2008). I can add this in my references, but when I try to add a using statment "using ImageMagickNet;" I get an error message stating that the type or namespace ImageMagickNet could not be found...... Can anyone help me with this? Respond to this post or send to sbrake@cchosp.com. Thanks in advance for your help. Oh, this is not a web app, but a C# console application. Last edited by sbrake : 03-27-2008 at 09:34 AM. Reason: Left out something |
| |||
| Hi , i am using the magicknet dll from the web site and i still get the following error message when i run application from a win 2003 machine. It works fine on my dev machine(winxp).Have tried all possible solutions on this forum and else where.Thanks . System.IO.FileLoadException: Could not load file or assembly 'MagickNet, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Cette application n'a pas pu démarrer car la configuration de l'application est incorrecte. Réinstaller l'application pourrait résoudre ce problème. (Exception from HRESULT: 0x800736B1) File name: 'MagickNet, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null' ---> System.Runtime.InteropServices.COMException (0x800736B1): Cette application n'a pas pu démarrer car la configuration de l'application est incorrecte. Réinstaller l'application pourrait résoudre ce problème. (Exception from HRESULT: 0x800736B1) |
| |||
| hi deepa, Did u installed the imagemagick,vcredist.exe in ur win 2003 machine Thanks
__________________ The MOSS Master of Solution Service Last edited by Anandavinayagam : 05-13-2008 at 08:31 PM. |
| |||
| Quote:
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. Exception Details: System.Runtime.InteropServices.COMException: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [COMException (0x8007007f): The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)] [FileLoadException: A procedure imported by 'MagickNet, Version=1.0.3054.19983, Culture=neutral, PublicKeyToken=null' could not be loaded.] Document_Management_Ajax.MainForm.serverListView_D oubleClick(Object sender, EventArgs e) in C:\Projects Code\AjaxEnabledDocumentManagement\trunk\Document Management Ajax\MainForm.cs:946 Gizmox.WebGUI.Forms.Control.OnDoubleClick(EventArg s e) +28 Gizmox.WebGUI.Forms.ListViewItem.FireEvent(IEvent objEvent) +71 Gizmox.WebGUI.Forms.RegisteredComponent.1AAA0(IEve nt 0AAAA) +25 Gizmox.WebGUI.Server.Content.ProcessRequest(HttpCo ntext objHttpContext) +1298 [HttpException (0x80004005): A procedure imported by 'MagickNet, Version=1.0.3054.19983, Culture=neutral, PublicKeyToken=null' could not be loaded.] Gizmox.WebGUI.Server.Content.ProcessRequest(HttpCo ntext objHttpContext) +1519 [HttpException (0x80004005): A procedure imported by 'MagickNet, Version=1.0.3054.19983, Culture=neutral, PublicKeyToken=null' could not be loaded.] Gizmox.WebGUI.Server.Content.ProcessRequest(HttpCo ntext objHttpContext) +4309 System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +64 i have tried changing different version of magicknet but still get the same issue.i am currently using 6.3.5-9 Q16 dynamic dll.I dont get why it gives a COM exception.Also if u notice in the stack trace it shows me the path of my development machine(winxp) whereas i am running the code of production server(2003).Any clues.Thanks a lot |
![]() |
| Thread Tools | |
| Display Modes | |
| |
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 |