Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: gdiplus.dll Server Error

  1. #1
    df0xyd is offline x10Hosting Member df0xyd is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    3

    gdiplus.dll Server Error

    http://cchs.x10hosting.com
    Server: lotus

    For some reason, the server is throwing the error below. I'm sure a simple restart will fix it?

    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] in <filename unknown>:0

  2. #2
    psycrosis is offline x10Hosting Member psycrosis is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    21

    Post Re: gdiplus.dll Server Error

    That error is caused by a reference to System.Drawing in a Asp. Net applications. Since the server is a linux server running mono there is no Gdiplus. In mono there is a file libgdiplus.dll.so(varies) that has its functions mapped just like gdiplus.dll but a mapping must be added to the app.config file as so.

    <configuration>
    <dllmap dll="gdiplus.dll" target="libgdiplus.dll.so"/>
    </configuration>

    For some reason the dynamic mono compiler on the server cant locate the file to map to I read on the boards somewhere its has to do with cPanel not supporting something. I haven't tried it but putting libgdiplus.dll.so in the directory with the app might work.

    The info on it is here http://www.mono-project.com/DllNotFoundException Check out the dllmaps page too. There's a link to it on the page.
    Last edited by psycrosis; 01-21-2010 at 10:53 AM.

  3. #3
    df0xyd is offline x10Hosting Member df0xyd is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    3

    Re: gdiplus.dll Server Error

    Nah, it's the server, not me. I haven't changed my website recently, and it was working fine 2 days ago.

  4. #4
    psycrosis is offline x10Hosting Member psycrosis is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    21

    Re: gdiplus.dll Server Error

    Hmm... I wonder then if that error was the server for me as well... Would be a bummer after I scrapped that page and am creating one by hand....

  5. #5
    michael9 is offline x10 Sophmore michael9 is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    U.S.A.
    Posts
    127

    Re: gdiplus.dll Server Error

    I'm getting the same error, and it seems that the dllmap line is getting ignored.
    Find my post helpful? Click on the at the bottom-right corner of this post!

  6. #6
    CWeb Creative's Avatar
    CWeb Creative is offline x10 Lieutenant CWeb Creative is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    *nix
    Posts
    321

    Re: gdiplus.dll Server Error

    Actually it is indeed you its not that the server is in error it is that the script is not referencing the correct things as they are on the server. The script may work one other servers or on your computer but not on the x10 servers due the the hardening and customazation that they undergo to fit the needs of x10. The problem may also be due the cpanel and mysql server upgrades. If you are on starka or lotus then there is a hight probabiblilty that the problem was do to this. If the problem persists please check your configuration of the script. If this fails then it might be that the script is incompatable with x10's servers.
    If you feel my post is useful in any way then please click on to give me Reputation! Its Key!
    Remember to read all of my post and ask coherent questions.
    Check out my Website (Still A Work in Progress)
    X10 Links: TOS Wiki IRC

  7. #7
    df0xyd is offline x10Hosting Member df0xyd is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    3

    Re: gdiplus.dll Server Error

    It's definitely a server issue, because my site worked for fine months before it happened, without me touching the source code.

    Also, I have absolutely /no idea/ how to even change my source/know what is messing everything up. It was just 15x easier to write up in visual studio with some C# code behind. ( I /despise/ web programming >.<;) Although, I'm sure I could figure out how to do what I did and convert it to HTML or something? >.>

    And yes, I'm on lotus.

  8. #8
    Jarryd's Avatar
    Jarryd is offline Community Advocate Jarryd has a spectacular aura about
    Join Date
    Nov 2007
    Location
    Darwin, Australia
    Posts
    5,531

    Re: gdiplus.dll Server Error

    Actually, from what i have read on google. This is related to exactly what psycrosis said in his/her first post. Can you try that method and see if it fixes it?
    Jarryd Sullivan
    █ 888-X10-9668 - Jarryd[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  9. #9
    michael9 is offline x10 Sophmore michael9 is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    U.S.A.
    Posts
    127

    Re: gdiplus.dll Server Error

    I tried that. As I said, it seemed to be ignoring the dllmap line.
    Find my post helpful? Click on the at the bottom-right corner of this post!

  10. #10
    psycrosis is offline x10Hosting Member psycrosis is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    21

    Re: gdiplus.dll Server Error

    Make sure the app.config file is named "yourappname.dll.config". I haven't been able to find a compiled 64bit version of libgdiplus.so (linux peeps compile it themselves) to try putting it in the directory which should work. Maybe putting the whole path to libgdiplus.so would work but I have no clue to that. To get it to work without setting the path I think is a set path command in linux but i'm not a linux expert so its just from what i've read in documentation. They are upgrading the servers and path might have gotten changed and thats probably why it doesn't work now. Might take a little patience till the upgrade is complete and they have all the bugs worked out.

Closed Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. 500 Internal Server Error
    By Adamkadmon777 in forum Free Hosting
    Replies: 1
    Last Post: 08-06-2008, 10:15 PM
  2. Getting Internal Server Error 500 in my adfree plan
    By gauravzi in forum Free Hosting
    Replies: 1
    Last Post: 07-25-2008, 08:13 AM
  3. 500 Internal Server Error
    By radofeya in forum Free Hosting
    Replies: 0
    Last Post: 07-22-2008, 02:43 PM
  4. 500 internal server error
    By kaioshin in forum Free Hosting
    Replies: 2
    Last Post: 12-04-2007, 08:04 PM
  5. 500 Internal Server Error (PHP Error?)
    By aniklaus in forum Free Hosting
    Replies: 3
    Last Post: 11-12-2007, 11:47 AM

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