+ Reply to Thread
Results 1 to 5 of 5

Thread: Error 500 gdiplus.dll ASP.NET

  1. #1
    wiigee is offline x10Hosting Member wiigee is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    3

    Error 500 gdiplus.dll ASP.NET

    well, Im trying to get my website to work at x10hosting, but I cant fix this Error 500

    Server Error in '/' Applicationgdiplus.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 Version information: Mono Runtime Version: 2.6.1 (tarball Thu Jan 28 00:15:36 EST 2010); ASP.NET Version: 2.0.50727.1433
    so, first some facts:
    -Im developing this site in Microsoft Visual Studio 2008 SP1 under Windows 7
    -I know this hosting works under Linux using Mono, and some things will not work as well as with a windows platform.
    -I know this is a problem with the System.Drawing reference in my project. So just to make sure I deleted all the System.Drawing references. But maybe the System.Web references System.Drawing which references gdiplus.dll, but I don't think I can remove System.Web from my WebSite and expect it to work.
    -I know that the <asp:menu> control might not work well with Mono, so I removed the control, but the problem still exists.
    -I'm using MasterPages
    -I have the gdiplus.dll in my "bin" folder and in my "public_html" folder.
    -I have tried to reference the gdiplus.dll to my project with "Add a reference", but that only gives the error "Couldn't find component type libraries in dll"
    -I have added <dllmap dll="gdiplus.dll" target="libgdiplus.so"/> to my web.config file.
    -I have read all the topics in this forum which involves "gdiplus.dll", and I cant find anything really helpful in those topics.
    -By the way, my native language is Spanish, not English, so I might have missed something.

    so, if someone can help me (and others with the problem) with a "human understandable" solution (not things like "go read the 20XX pages of mono documentation"), it will be much appreciated.

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

    Re: Error 500 gdiplus.dll ASP.NET

    bump

  3. #3
    vishal's Avatar
    vishal is offline -::-X10 Guru-::- vishal has a brilliant futurevishal has a brilliant future
    Join Date
    Nov 2009
    Location
    INDIA
    Posts
    5,250

    Re: Error 500 gdiplus.dll ASP.NET

    ASP.net is not fully online on the servers.
    Regards ~ Vishal
    Giving Reputation (at bottom of my post ) is the best way to encourage the person who helped you on forums.

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

    Re: Error 500 gdiplus.dll ASP.NET

    Quote Originally Posted by vishal2 View Post
    ASP.net is not fully online on the servers.
    i c, ty, I'll try again later.

  5. #5
    jetzdax is offline x10Hosting Member jetzdax is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    1

    Re: Error 500 gdiplus.dll ASP.NET

    I was struggling a bit with this and there were so many threads on this forum suggesting all sorts of workaround which do not work because ultimately X10 is running mono on top of a linux box instead of running a real Microsoft Windows box, so not all GUI components are properly implemented by mono.

    My solution for this is to find out which controls and even attributes are responsible for causing the problem and start replacing them.

    In my case, it was the ForeColor="Red" attribute in my <asp:Label> control. So I removed that and the GDIplus lib problem went away.

    Of course alternatively you can find yourself another server that deploys a real Windows OS but chances are it is going to cost you some $$$ ;)
    Last edited by jetzdax; 03-17-2010 at 05:47 AM.

+ Reply to Thread

Similar Threads

  1. gdiplus.dll Server Error
    By df0xyd in forum Free Hosting
    Replies: 10
    Last Post: 01-26-2010, 06:22 PM
  2. gdiplus error on login to website
    By the maya in forum Free Hosting
    Replies: 1
    Last Post: 01-19-2010, 12:47 AM
  3. HTTP 500. Error processing request. (gdiplus.dll)
    By boelectronic in forum Free Hosting
    Replies: 4
    Last Post: 09-28-2009, 08:16 PM
  4. HTTP 500. Error processing request. (gdiplus.dll)
    By boelectronic in forum Programming Help
    Replies: 0
    Last Post: 09-28-2009, 05:23 PM
  5. Help: gdiplus.dll error
    By spiggy in forum Programming Help
    Replies: 1
    Last Post: 05-05-2009, 01:24 PM

Tags for this Thread

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