Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > page error that I cannot isolate

Reply
Thread Tools

page error that I cannot isolate

 
 
=?Utf-8?B?am9uZWZlcg==?=
Guest
Posts: n/a
 
      02-07-2007
any ideas?...
when my website loads, there are completely no errors until I click a box.
Whether it is a textbox or a combo box

The error says Line 115
Error: Object expected

I know that maybe asking a lot right now, but I cannot imagine what would
cause such an error.

I go to line 115 and completely comment out that code.
but line 115 can't be related to the action of clicking textboxes or combo
boxes- because line 115 is part of code that only happens when a command
button is pressed, so evidently it is related to something else.
 
Reply With Quote
 
 
 
 
Mark Rae
Guest
Posts: n/a
 
      02-07-2007
"jonefer" <> wrote in message
news:6804D090-F881-4860-9D91-...

> The error says Line 115
> Error: Object expected


That is a typical client-side JavaScript error - are you using any
JavaScript...?


 
Reply With Quote
 
 
 
 
=?Utf-8?B?am9uZWZlcg==?=
Guest
Posts: n/a
 
      02-07-2007
Yes. I will display the code, but let me preface it with - I have taken the
code out and I still get the error.

Here is the code (this piece is in the Page_Init) part... the java script
is below this
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Init

'sets a session timeout count
'that calls a java script at the bottom of this page's asp.net source
'the alert lets the user know that their session has expired and
they will be automatically
're-credentialled.

'this is accomplished by sending the user back to the
'FindMember.aspx'
'the FindMember.aspx page automatically handles the SUC machine
situation
'so if the user logged on from a SUC machine and it times out
'they will prompted with a LOGIN

'Regular machine users will simply see the 'Member Search' page.

Dim intRedirectTime As Integer = 2
mintTimeout = (Session.Timeout - intRedirectTime) * 60000
mstrLoginURL = ResolveUrl("~/FindMember.aspx")

End Sub

This code is on the ASP.NET Source right before the Ending Body tag
<script language="javascript">
window.setTimeout("endSession();",<%=mintTimeout%> );
function endSession()
{
alert('Your session has timed out, Re-checking your
credentials.');window.location='FindMember.aspx';
}
</script>



"Mark Rae" wrote:

> "jonefer" <> wrote in message
> news:6804D090-F881-4860-9D91-...
>
> > The error says Line 115
> > Error: Object expected

>
> That is a typical client-side JavaScript error - are you using any
> JavaScript...?
>
>
>

 
Reply With Quote
 
=?Utf-8?B?am9uZWZlcg==?=
Guest
Posts: n/a
 
      02-07-2007
actually - I FOUND IT!
it was another -stray piece of Java script that I had attached to the
beginning table tag.

That was a perfect tip.

"Mark Rae" wrote:

> "jonefer" <> wrote in message
> news:6804D090-F881-4860-9D91-...
>
> > The error says Line 115
> > Error: Object expected

>
> That is a typical client-side JavaScript error - are you using any
> JavaScript...?
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
Isolate network users =?Utf-8?B?R2liZ28=?= Wireless Networking 4 12-13-2006 10:52 PM
isolate a chunk of a document - like iframe Rob Shepherd HTML 0 06-09-2005 10:37 AM
How to isolate sessions Mehdi ASP .Net 6 09-12-2004 04:00 PM
VLANs for a DORM to isolate rooms from each other? Leythos Computer Security 2 04-14-2004 02:10 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57