Question : aspx page not loading image at run time....

Hi,

I got this aspx file with an .jpg image which is loading fine in the design time but when I run this page in the browser it is not showing the image. I just couldn't figure out what different run time from the desugn time. The image is in the Image folder under the application root folder.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="proj08login.aspx.cs" Inherits="proj08.proj08login" %>

<!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 runat="server">
    <title>Vulture Corp Login</title>
            <LINK rel="stylesheet" type="text/css" href="Styles.css">
            
</head>
<body>
   
    <form id="LoginFrm" method="post" runat="server">
                  <table cellspacing="0" cellpadding="0" border="0" width="600">
                        <tr valign="middle">
                              <td background="Images/vc_prj08.jpg" height="91" colspan="2">
                                    <span class="pageTitle">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vulture
                            Corp. Login</span>
                              </td>
                        </tr>
                        <tr valign="top">
                              <td colspan="2" class="infoText" style="PADDING-LEFT:35px">
                                    <br>
                                    Please login to the <span id="appname"></span>system. If you are new to this
                                    system, click the Create New Account link below.
                                    <br>
                              </td>
                        </tr>
                        <tr valign="top">
                              <!-- This column is for login information -->
                              <td>
                                    <table cellpadding="0" cellspacing="5" border="0">
                                           <tr>
                                                <td width="35">
                                                </td>
                                                <td colspan="2">
                                                </td>
                                          </tr>
                                          <tr>
                                                <td width="35">
                                                </td>
                                                <td>
                                                      <span class="inputLabel">User ID:</span>
                                                </td>
                                                <td width="150">
                                                      <asp:TextBox ID="tbID" Runat="server"></asp:TextBox>
                                                </td>
                                          </tr>
                                          <tr>
                                                <td width="35">
                                                </td>
                                                <td>
                                                      <span class="inputLabel">Password:</span>
                                                </td>
                                                <td width="150">
                                                      <asp:TextBox ID="tbPwd" Runat="server" TextMode="Password"></asp:TextBox>
                                                </td>
                                          </tr>
                                          <tr>
                                                <td width="35">
                                                </td>
                                                <td>
                                                </td>
                                                <td width="150">
                                                      <input type="submit" id="btnLogin" name="btnLogin" value="Login" runat="server" onserverclick="btnLogin_ServerClick">
                                                </td>
                                          </tr>
                                          <tr>
                                                <td width="35">
                                                </td>
                                                <td>
                                                </td>
                                                <td class="errMsg" width="150">
                                                      <asp:label id="errMsg" Runat="server"></asp:label>
                                                </td>
                                          </tr>
                                    </table>
                              </td>
                              <!-- This column is for the "Create New Account" link -->
                              <td valign="middle" class="infoText">
                                    Not a user yet? Create new new account here.
                                    <br>
                                    <br>
                                    <a class="linkButton" href="NewAccount/proj08new.aspx">&nbsp;Create new
                                          account&nbsp;</a>
                              </td>
                        </tr>
                  </table>

    </form>
</body>
</html>


Thanks in advance!!

Answer : aspx page not loading image at run time....

Random Solutions  
 
programming4us programming4us