#1 (permalink)  
Old 02-13-2006, 10:27 PM
Registered User
 
Join Date: Feb 2006
Posts: 1
Exclamation Error: Object Expected

Hi Guys,
i'm new here and i just wanna need your help with this Error. I really can't the error...
It says:
Line: 309
Char: 5
Error: Object Expected
here's the code for the page
<HTML>
<HEAD>
<link href="SD.css" type=text/css rel=stylesheet >
<script src="Include/SD_EN.js" type=text/javascript></script>
<script runat="server">
string sNoOnload = "";
private void Page_Load(object sender, System.EventArgs e)
{
if (IsPostBack)
{
sNoOnload = "1";
}
}
</script>
</HEAD>
<body bgColor=#ffffff leftMargin=0 topMargin=0
marginheight="0" marginwidth="0">

<form id=Form1 method=post runat="server">
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr>
<td>
<div align=center>
<table id=Table_01 height=568 cellSpacing=0 cellPadding=0 width=879
border=0>
<tr>
<td colSpan=3 rowSpan=5><IMG onclick=Survey() height=269 alt="" src="images/index_02.jpg" width=550 ></td>
</tr>
<tr>
<td><IMG height=34 alt="" src="images/spacer.gif" width=1 ></td></tr>
<tr>
<td vAlign=top width=291 background=images/index_06.jpg colSpan=2
height=142>
<table cellSpacing=0 cellPadding=0 width=290 border=0 >
<tr>
<td width=109>
<div align=right><strong
><span class=style7
>Username:</span></strong></div></td>
<td align=left colSpan=2><asp:textbox id=UserName runat="server" TextMode="SingleLine" Width="167px"></asp:textbox></td></tr>
<tr>
<td>
<div align=right><strong
><span class=style7
>Password:</span></strong></div></td>
<td colSpan=2><asp:textbox id=Password runat="server" TextMode="Password" Width="167px"></asp:textbox></td></tr>
<tr>
<td colSpan=3>
<div align=center><asp:label id=lblmessage runat="server" Font-Size="12" ForeColor="Blue" Font-Name="Trebuchet MS" Font-Bold="true"></asp:label></div></td></tr>
<tr>
<td>&nbsp;</td>
<td width=45><asp:button id=btnlogin runat="server" Width="42px" Font-Size="10" ForeColor="White" BackColor="Navy" Text="Login"></asp:button></td>
<td width=153><strong
><span class=style1
><b onmouseover="this.style.cursor='hand'"
onclick=forgotpass()><span class=style11
>Forgot your password?</span></b>
</span></strong></td>
</tr>
<tr>
<td>&nbsp;</td>
<td colSpan=2
>&nbsp;</td></tr></table>
<div align="center"><strong><span
class=style1><span class=style8>Not a
member yet?</span> <span class=style2><A title="Sign Up Now!" style="FONT-SIZE: 18px; font-weight: bold; FONT-FAMILY: Trebuchet MS; COLOR: #ffff00; TEXT-DECORATION: none" href="CreateNewUser.aspx">Sign Up Now!!! </A>
</span></span></strong>
</div></td>
<td><IMG height=142 alt="" src="images/spacer.gif" width=1 ></td></tr>
<tr>
<td width=291 background=images/index_07.jpg colSpan=2 height=39
>&nbsp;</td>
<td><IMG height=39 alt="" src="images/spacer.gif" width=1 ></td></tr>
<tr>
<td width=291 background=images/index_08.jpg colSpan=2 height=47
rowSpan=3>
<table height=21 cellSpacing=0 cellPadding=0 width=290 border=0
>
<tr>
<td align=right width=111><asp:dropdownlist id=qsearch runat="server" Width="74px">
<asp:ListItem value="Male">Male</asp:ListItem>
<asp:ListItem value="Female">Female</asp:ListItem>
</asp:dropdownlist></td>
<td align=right width=10>&nbsp;</td>
<td align=left width=101><asp:dropdownlist id=qsearchage runat="server" Width="101px">
<asp:ListItem value="0">Not Important</asp:ListItem>
<asp:ListItem value="20">Age till 20 yrs old</asp:ListItem>
<asp:ListItem value="25">20-25 yrs old</asp:ListItem>
<asp:ListItem value="30">25-30 yrs old</asp:ListItem>
<asp:ListItem value="35">30-35 yrs old</asp:ListItem>
<asp:ListItem value="40">35-40 yrs old</asp:ListItem>
<asp:ListItem value="50">40-50 yrs old</asp:ListItem>
<asp:ListItem value="55">above 50 yrs old</asp:ListItem>
</asp:dropdownlist></td>
<td align=center width=52><asp:button id=btnquick runat="server" Width="42px" Font-Size="9pt" ForeColor="White" BackColor="Navy" Text="go" Height="20px"></asp:button></td>
<td align=center width=32
>&nbsp;</td></tr></table></td>
<td><IMG height=22 alt="" src="images/spacer.gif" width=1 ></td></tr>
<tr>
<td><IMG height=1 alt="" src="images/index_09.jpg" width=36 ></td>
<td width=456 background=images/index_10.jpg height=121 rowSpan=5
><asp:table id=tblNewUser style="FONT-SIZE: 12px" runat="server" Width="400px" Height="118px" cellspacing="0" cellpadding="0" BorderColor="#400000"></asp:table></td>
<td><IMG height=1 alt="" src="images/index_11.jpg" width=58 ></td>
<td><IMG height=1 alt="" src="images/spacer.gif" width=1 ></td></tr>
<tr>
<td rowSpan=3><IMG height=119 alt="" src="images/index_12.jpg" width=36 ></td>
<td width=58 background=images/index_13.jpg height=119 rowSpan=3
><IMG height=119 alt="" src="images/index_13.jpg" width=58 ></td>
<td><IMG height=24 alt="" src="images/spacer.gif" width=1 ></td></tr>
<tr>
<td><IMG height=10 alt="" src="images/index_14.jpg" width=290 ></td>
<td><IMG height=10 alt="" src="images/index_15.jpg" width=1 ></td>
<td><IMG height=10 alt="" src="images/spacer.gif" width=1 ></td></tr>
<tr>
<td vAlign=top width=291 background=images/index_16.jpg colSpan=2
height=86 rowSpan=2>
<table cellSpacing=0 cellPadding=0 width=286 border=0
>
<tr>
<td width=132>
<div align=right><span class=style1
><span class=style8
>Members Total</span>: </span></div></td>
<td width=9>&nbsp;</td>
<td width=145><asp:label id=lbltotal runat="server" Font-Size="10" Font-Name="Trebuchet MS"></asp:label></td></tr>
<tr>
<td>
<div align=right><span class=style1
><span class=style8
>Members Online</span>: </span></div></td>
<td>&nbsp;</td>
<td><asp:label id=lblonline runat="server" Font-Size="10" Font-Name="Trebuchet MS"></asp:label></td></tr>
<tr>
<td align=right><asp:label id=lblnewmem runat="server" style="FONT-SIZE: 10px" Font-Name="Trebuchet MS"></asp:label></td>
<td>&nbsp;</td>
<td><asp:label id=lblnew runat="server" Font-Size="10" Font-Name="Trebuchet MS"></asp:label></td></tr></table></td>
<td><IMG height=85 alt="" src="images/spacer.gif" width=1 ></td></tr>
<tr>
<td rowSpan=2><IMG height=41 alt="" src="images/index_17.jpg" width=36 ></td>
<td rowSpan=2><IMG height=41 alt="" src="images/index_18.jpg" width=58 ></td>
<td><IMG height=1 alt="" src="images/spacer.gif" width=1 ></td>
</tr>
<tr>
<td><IMG height=40 alt="" src="images/index_19.jpg" width=456 ></td>
<td colSpan=2><IMG height=40 alt="" src="images/index_20.jpg" width=291 ></td>
<td><IMG height=40 alt="" src="images/spacer.gif" width=1 ></td></tr>
<tr>
<td width=878 colSpan=6 height=24>
<div id=div2 style="FONT-SIZE: 10px; MARGIN: 5px">
<div align=center><span class=style8 ><b>Copyright 2005</b></span>&nbsp;&nbsp;|&nbsp;&nbsp;<B onMouseOver="this.style.cursor='hand'" onClick="this.style.behavior='url(#default#homepag e)'; this.setHomePage('http://www.maniladating.com');" ><SPAN class=style8>Make this your startpage</SPAN></B>&nbsp;&nbsp;|&nbsp;&nbsp;<B ><SPAN class=style8 >ManilaDating.com</SPAN>&nbsp;&nbsp;|&nbsp;&nbsp;<A style="COLOR: black" href="mailto:info@maniladating.com" ><SPAN class=style8 >info@maniladating.com</SPAN></A></B>&nbsp;&nbsp;|&nbsp;&nbsp;<b onMouseOver="this.style.cursor='hand'; this.style.cursor='pointer';" onclick=Tell() ?><SPAN class=style8 >Tell a friend </SPAN></b>&nbsp;&nbsp;|&nbsp;&nbsp;<B onMouseOver="this.style.cursor='hand'" onclick=ShowTerms() ?><SPAN class=style8 >Conditions and Terms of Use</SPAN></B></div></div></td><td>
<IMG height=24 alt="" src="images/spacer.gif" width=1 ></td></tr></table></div></td></tr></table>
</form>
</body>
</HTML>
<script type=text/javascript>
window.onload=function()
{
<%if(sNoOnload != "1"){ %>
setTimeout("ChangeFrontPics()",3000);
<%} %>
var agent = escape(navigator.appName + " " + navigator.appVersion);
var ref = document.referrer;
var res = screen.width + "x" +screen.height;
var param = 'agent='+agent+'&ref='+ref+'&res='+res;

initPage();

}
</script>


HELP PLEASE......
Reply With Quote

  #2 (permalink)  
Old 02-14-2006, 03:32 AM
Till's Avatar
Administrator
 
Join Date: Jan 2002
Location: Berlin, Germany
Posts: 1,453
No idea where "line 309" is, but the error hints that one of the objects you are trying to use, is none.

Use Firefox's JavaScript console. It's a much better debugger than IE's broad "object expected" message.
Reply With Quote
  #3 (permalink)  
Old 02-14-2006, 08:22 AM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,445
Quote:
Originally Posted by Till
No idea where "line 309" is, but the error hints that one of the objects you are trying to use, is none.
Well, that's because the code he posted only had 169 lines, which means that we're missing more than half of it.

Quote:
Originally Posted by Till
Use Firefox's JavaScript console. It's a much better debugger than IE's broad "object expected" message.
I was going to suggest the same thing.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
  #4 (permalink)  
Old 03-28-2006, 06:58 AM
Registered User
 
Join Date: Mar 2006
Posts: 6
object expected error

hi, i been trying to get on this website, the site loads but i cannot go any further than the home page, the error i get is object expected..this is the message:
Line: 133
Char: 2
Error: Object Expected
Code: 0
URL: http://www.mycoke.com/index.html?tunnel=cokemusic

i hear things that u need to look at the code but the problem is that it wont let me view, maybe my settings is wrong, but i need help please, what is my problem?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie in need of a little help fixing an "object expected line 0" error. softspot Programming and Scripting 2 06-12-2005 02:57 PM
Error: Object Expected ashura Programming and Scripting 3 03-16-2005 11:22 AM
Help! error: object expected in simple site!! mooncat Programming and Scripting 3 02-03-2005 08:39 AM


All times are GMT -5. The time now is 05:52 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter