+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: ASP.NET "DllNotFoundException: gdiplus.dll"

  1. #1
    thunderwolf1989 is offline x10Hosting Member thunderwolf1989 is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    9

    ASP.NET "DllNotFoundException: gdiplus.dll"

    Anyone have any idea what this is and how to fix?

    Server Error in '/' Application
    gdiplus.dll

    Description: HTTP 500. Error processing request.

    Stack Trace:

    System.DllNotFoundException: gdiplus.dll
    at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System .Drawing.GdiplusStartupOutput&)
    at System.Drawing.GDIPlus..cctor () [0x00000]
    Last edited by thunderwolf1989; 07-06-2009 at 09:23 AM.

  2. #2
    merrillmck is offline x10 Sophmore merrillmck is an unknown quantity at this point
    Join Date
    Jun 2009
    Location
    Florida, USA
    Posts
    134

    Re: ASP.NET "DllNotFoundException: gdiplus.dll"

    Quote Originally Posted by thunderwolf1989 View Post
    Anyone have any idea what this is and how to fix?
    No. Are you getting that on your website or building locally with Visual Studio? If locally, are you running as Admin or a Standard User? While not the same error, I've seen similar errors running Visual Studio w/o Admin rights.

  3. #3
    thunderwolf1989 is offline x10Hosting Member thunderwolf1989 is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    9

    Re: ASP.NET "DllNotFoundException: gdiplus.dll"

    No. I made it with Visual studio and tested it (it worked). Then I uploaded it to my website here and got this error...

  4. #4
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,998

    Re: ASP.NET "DllNotFoundException: gdiplus.dll"

    The issue itself is fairly easy to diagnose - x10hosting runs on a linux server, and whatever application you're writing requires gdiplus.dll, which I believe is a windows dll.

    The gdiplus.dll library is required for windows to operate. It is used by windows when communicating with your video card in order to disaply graphics on screen. If gdiplus.dll is unavailable, windows will not function correctly.
    Source: http://www.auditmypc.com/process/gdiplus.asp

    No idea how to fix it, but that's what the issue is. You're relying on something that linux doesn't have, so it fails.


    My main question would be whether you're actually using ASP.net, or if you're using just plain asp - ASP won't work on x10, ASP.Net should, assuming it's not relying on windows-only dll's and the like.


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  5. #5
    merrillmck is offline x10 Sophmore merrillmck is an unknown quantity at this point
    Join Date
    Jun 2009
    Location
    Florida, USA
    Posts
    134

    Re: ASP.NET "DllNotFoundException: gdiplus.dll"

    Did you FTP files? Maybe consider using Visual Studio's publish command which will move all the required files onto X10's file system.

    And since you're using Visual Studio, I would imagine it is ASP.NET as I don't think Visual Studio explicitly supports ASP in recent versions.

  6. #6
    Hue Kares's Avatar
    Hue Kares is offline x10Hosting Member Hue Kares is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    UK
    Posts
    38

    Re: ASP.NET "DllNotFoundException: gdiplus.dll"

    I haven't had this problem, but I remember seeing similar posts. Here's a one from an Admin, who says it's an issue with cPanel not yet supporting the drawing library.

    Someone else suggests finding and copying the .dll to your website, and change the references in your project to point to it. Messy... I don't know if it would work either, as I've never tried. Good luck.

  7. #7
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: ASP.NET "DllNotFoundException: gdiplus.dll"

    Quote Originally Posted by Hue Kares View Post
    I haven't had this problem, but I remember seeing similar posts. Here's a one from an Admin, who says it's an issue with cPanel not yet supporting the drawing library.

    Someone else suggests finding and copying the .dll to your website, and change the references in your project to point to it. Messy... I don't know if it would work either, as I've never tried. Good luck.
    I think this has a very good change of working. I don't know if it's legal or not to use Windows' DLL files in this way. I also don't know if the staff will allow it. I don't think they will mind, but I wouldn't rush into something before asking.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  8. #8
    Pi606's Avatar
    Pi606 is offline x10Hosting Member Pi606 is an unknown quantity at this point
    Join Date
    Mar 2008
    Location
    Stoli
    Posts
    85

    Re: ASP.NET "DllNotFoundException: gdiplus.dll"

    I had this problem, too, awhile ago. If I remember right, it had to do with the standard asp.net form validation controls (eg. RequiredFieldValidator). x10 has limited support for some controls. Removing these controls *might* fix your problem.



  9. #9
    thunderwolf1989 is offline x10Hosting Member thunderwolf1989 is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    9

    Re: ASP.NET "DllNotFoundException: gdiplus.dll"

    Someone else suggests finding and copying the .dll to your website, and change the references in your project to point to it. Messy... I don't know if it would work either, as I've never tried. Good luck.
    hm... have any idea on how to change the references like that?
    At least I have something I can try...

  10. #10
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: ASP.NET "DllNotFoundException: gdiplus.dll"

    In visual studio, I think it's called "project manager" side panel, if you right-click you can "add reference". Then you have to select the file option and not the built in references.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Ok, so I'm trying to decided wether to use asp.net or php
    By mrfish in forum Programming Help
    Replies: 8
    Last Post: 06-16-2009, 05:59 AM
  2. Does anyone have ASP.NET samples?
    By valley9 in forum Programming Help
    Replies: 2
    Last Post: 06-04-2009, 07:47 PM
  3. ASP.Net and FTP on Free Account?
    By the7ven in forum Free Hosting
    Replies: 1
    Last Post: 03-06-2009, 11:05 AM
  4. ASP.NET not linking to code behind??
    By angrywasp in forum Programming Help
    Replies: 9
    Last Post: 06-30-2008, 02:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers