+ Reply to Thread
Results 1 to 5 of 5

Thread: ASP.NET throwing GDIPlus.dll exception

  1. #1
    peterloaf is offline x10Hosting Member peterloaf is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    Phoenix
    Posts
    11

    ASP.NET throwing GDIPlus.dll exception

    Hi X10,

    The following script was posted on another site. I've been following a ASP.NET tutorial from this site for the past few days. Unfortunately, the script isn't compiling here at X10. Actually, the script wouldn't compile at another host either with the same exception being thrown. I was hoping a little light could be shed on why it won't compile. * I should also mention that if the RangeValidator control is removed, the script compiles fine*. It seems to be a pretty fundamental and understandable piece of VB. Now, a third site, a simillar issue made it to their forum. The admin pointed out that that particular host does not support the GDIPlus.dll. Could that be the case here at X 10? If so, I can work around it. I just wanted to make sure that I'm not doing something fundamentally wrong that may affect my future scripts.

    Any help or response will be greatly appreciated.

    Thanks again.

    ************************************** Script*************************

    <html>
    <body>

    <form runat="server">
    <p>Enter a number from 1 to 100:
    <asp:TextBox id="tbox1" runat="server" />
    <br /><br />
    <asp:Button Text="Submit" runat="server" />
    </p>

    <p>
    <asp:RangeValidator
    ControlToValidate="tbox1"
    MinimumValue="1"
    MaximumValue="100"
    Type="Integer"
    Text="The value must be from 1 to 100!"
    runat="server" />
    </p>
    </form>

    </body>
    </html>

    ************************************Exception thrown************************

    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]
    Edit:
    please disregard this thread/post. I just found out that x10 aspnet has mono (thanks hue). Sorry for the confusion . I don't know how to delete my thread/post, otherwise i would.

    Quote Originally Posted by peterloaf View Post
    hi x10,

    the following script was posted on another site. I've been following a asp.net tutorial from this site for the past few days. Unfortunately, the script isn't compiling here at x10. Actually, the script wouldn't compile at another host either with the same exception being thrown. I was hoping a little light could be shed on why it won't compile. * i should also mention that if the rangevalidator control is removed, the script compiles fine*. it seems to be a pretty fundamental and understandable piece of vb. Now, a third site, a simillar issue made it to their forum. The admin pointed out that that particular host does not support the gdiplus.dll. Could that be the case here at x 10? If so, i can work around it. I just wanted to make sure that i'm not doing something fundamentally wrong that may affect my future scripts.

    Any help or response will be greatly appreciated.

    Thanks again.

    ************************************** script*************************

    <html>
    <body>

    <form runat="server">
    <p>enter a number from 1 to 100:
    <asp:textbox id="tbox1" runat="server" />
    <br /><br />
    <asp:button text="submit" runat="server" />
    </p>

    <p>
    <asp:rangevalidator
    controltovalidate="tbox1"
    minimumvalue="1"
    maximumvalue="100"
    type="integer"
    text="the value must be from 1 to 100!"
    runat="server" />
    </p>
    </form>

    </body>
    </html>

    ************************************exception thrown************************

    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]
    please disregard this thread/post. I just found out that x10 aspnet has mono (thanks hue). Sorry for the confusion . I don't know how to delete my thread/post, otherwise i would
    Last edited by peterloaf; 12-30-2009 at 12:06 PM. Reason: Automerged Doublepost

  2. #2
    misson is offline Community Advocate misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,391

    Re: ASP.NET throwing GDIPlus.dll exception

    Quote Originally Posted by peterloaf View Post
    [B]I just found out that x10 aspnet has mono (thanks hue).
    Hee-hee. Hue's been kissing X10 ASP.Net, with drastic consequences.

    Just in case you haven't read it, check out the "How to get ASP.Net to work at x10Hosting" tutorial. If you haven't tried it already, read Hue's suggestion from another thread to try to install GDIPlus.dll with your web app. For the sake of completeness, here's all the GDIPlus.dll threads.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    peterloaf is offline x10Hosting Member peterloaf is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    Phoenix
    Posts
    11

    Re: ASP.NET throwing GDIPlus.dll exception

    Misson,

    Thanks for the help. I'll consult Hue's ASP.NET/MONO tutorial. You're absolutely right. I should solve my own solutions.

    I still can't close the thread however. I would close this thread; however KKenny inidicated, in a previous post, that I can find "Close Thread" under "Thread Tools". Unfortunately, it's not showing up in the drop-down.

    Any Ideas?

    Pete

  4. #4
    ketan.dhallu is offline x10Hosting Member ketan.dhallu is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    India
    Posts
    29

    Re: ASP.NET throwing GDIPlus.dll exception

    put the gdiplus.dll file in bin directory

  5. #5
    peterloaf is offline x10Hosting Member peterloaf is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    Phoenix
    Posts
    11

    Re: ASP.NET throwing GDIPlus.dll exception

    Ketan,

    Thank You.

    Pete

+ Reply to Thread

Similar Threads

  1. How to get ASP.Net to work at x10Hosting
    By Hue Kares in forum Tutorials
    Replies: 56
    Last Post: 11-11-2011, 02:09 PM
  2. MySql + ASP.net Connections problem..
    By monsterhit in forum Programming Help
    Replies: 3
    Last Post: 12-10-2009, 02:28 AM
  3. asp.net and mysql connection problems
    By diesel543 in forum Programming Help
    Replies: 6
    Last Post: 08-16-2009, 10:04 AM
  4. 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, 06:59 AM
  5. ASP.NET not linking to code behind??
    By angrywasp in forum Programming Help
    Replies: 9
    Last Post: 06-30-2008, 03: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