Problem with ASP.NET 2.0 - Error 500

Status
Not open for further replies.

machado

New Member
Messages
19
Reaction score
0
Points
0
I've done an web application, and I've almost removed all of the code (both .aspx and .aspx.cs) but Im still getting the error:

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]

I really dont know what to do. I've followed the steps of the tutorial (first .aspx and .aspx.cs and then new web.config file) but cant solve the problem. I really dont understand this problem. So you can see, this my .aspx code (almost nothing!!!!! ( i commented almost all .cs code)

Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>PWS</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="topPanel">
        <ul>
            <li><a href="#">Contact</a></li>
            <li><a href="#">Support</a></li>
            <li><a href="#">About</a></li>
            <li class="active">Home</li>
        </ul>
        <a href="index.html">
            <img src="http://forums.x10hosting.com/images/logo.gif" title="Trial Services" alt="Trial Services" width="230"
                height="80" border="0" /></a>
    </div>
    <div id="bodyPanel">
        <h2>
            Login</h2>
        <asp:Login ID="Login1" runat="server" OnAuthenticate="Login1_Authenticate" 
            Height="205px" Width="300px" style="text-align: center">
        </asp:Login>
    </div>
    <div id="footerPanel">
        <div id="footerbodyPanel">
            <p class="copyright">
                ©&nbsp; all right reaserved</p>
            <ul class="templateworld">
                <li></li>
            </ul>
            <div id="footerhtmlPanel">
                <a href="http://validator.w3.org/check?uri=referer" target="_blank">html</a></div>
            <div id="footercssPanel">
                <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank">css</a></div>
        </div>
    </div>
   
    </form>
    
    </body>
</html>
 
Last edited:

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
It seams a dll is missing, check the app_code folder for that dll.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Linux Server does not work with .dll.

Mono 'looks' for the .dll by appending .so and other tricks.

Mono page on this Error Message

Apparently the installed version of Mono either does not include the gdiplus library, or it has been installed in a non-standard location.

I could not find any file with 'gdiplus' (except a .h header file) on the system.
 

machado

New Member
Messages
19
Reaction score
0
Points
0
Mono 'looks' for the .dll by appending .so and other tricks.

Mono page on this Error Message

Apparently the installed version of Mono either does not include the gdiplus library, or it has been installed in a non-standard location.

I could not find any file with 'gdiplus' (except a .h header file) on the system.

I cant use the guide because I'm using Windows..

So, the fact is: gdiplus is not in the system.

and the solution? as you can see in my Xhtml code, I've almost nothing, so I cannot understand what's the problem.

Apparently, the problem is when I use
Code:
<asp:Login ID="Login1" runat="server" OnAuthenticate="Login1_Authenticate" 
            Height="205px" Width="300px" style="text-align: center">
        </asp:Login>

So, what can I do to no use gdiplus?
 
Last edited:
Status
Not open for further replies.
Top