473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

page error that I cannot isolate

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.
Feb 7 '07 #1
3 1168
"jonefer" <jo*****@discussions.microsoft.comwrote in message
news:68**********************************@microsof t.com...
The error says Line 115
Error: Object expected
That is a typical client-side JavaScript error - are you using any
JavaScript...?
Feb 7 '07 #2
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" <jo*****@discussions.microsoft.comwrote in message
news:68**********************************@microsof t.com...
The error says Line 115
Error: Object expected

That is a typical client-side JavaScript error - are you using any
JavaScript...?
Feb 7 '07 #3
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" <jo*****@discussions.microsoft.comwrote in message
news:68**********************************@microsof t.com...
The error says Line 115
Error: Object expected

That is a typical client-side JavaScript error - are you using any
JavaScript...?
Feb 7 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Manny | last post by:
I have a web form "Page1.asp" and it reads data from a database, does some calculations, and displays the records in pages. Works fine. I have a button that displays on the page, defined as...
5
by: Ben | last post by:
hi when I try to excecute an ASP (either JS or VB) script to say, access a database record, I get an Internal Server Error HTTP 500.100 Why? and HOW CAN I FIX THIS? Thanks
1
by: timVerizon | last post by:
Hoping someone can help here.. Our application (C#.Net) was receiving IBM.Data.DB2.DB2Exceptions ERROR SQL0904N Unsuccessful execution caused by an unavailable resource. Reason code: '', type...
3
by: martlaco1 | last post by:
Trying to fix a query that (I thought) had worked once upon a time, and I keep getting a Data Type Mismatch error whenever I enter any criteria for an expression using a Mid function. Without the...
11
by: Vijay Chegu | last post by:
I have built a 64bit ATL COM dll. When i register the dll on IA64 windows Enterprise server 2003, i get following error. DllRegisterServer in mydll.dll failed. Return code was : 0x80020009 ...
0
by: psb | last post by:
about a year ago, I was head deep in vb6/com+ hell. THEN, I started doing asp.net development and went the opposite direction by only putting transactions in the stored procs. Unfortunately, I...
4
by: Lowell | last post by:
Any tips for trouble shooting errors when the ASPX page won't even compile? What happens is that VS will "build" the code-behind object and the component that it instantiates, but when I navigate to...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
2
by: Derik | last post by:
I've got a XML file I read using a file_get_contents and turn into a simpleXML node every time index.php loads. I suspect this is causing a noticeable lag in my page-execution time. (Or the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.