473,386 Members | 1,973 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,386 software developers and data experts.

Need help troubleshooting asp error on XP

Hi,
I am experiencing the following error from a particular XP workstation. The
application has been in production for some time and the error only appears
on one XP workstation. I have run Windows Update on this workstation. The
error does not appear on a different XP workstation.

The error happens when I make a selection from the Category drop-down list.
The subsequent drop-down list Subcategory should be automatically filtered.

The error is

Line:263
Char: 3
Error: Object does not support this property or method
Code: 0

The code in question is:

function CategoryChanged()
{
var selCat = document.frmService.CategoryID;
var selSubcat = document.frmService.SubcategoryID;
var co =
RSExecute("ProviderServiceRemote.asp","LoadSubcate gories",selCat.options[sel
Cat.selectedIndex].value);
var aSubcats = co.return_value;
Clear(selSubcat);
AddInstructionItem(selSubcat);
PopulateDropDown(aSubcats,selSubcat);

// remove index 0 item
if (selCat.options[0].value == "0")
selCat.options[0] = null;

// remove all Keyword items
Clear(document.frmService.selAllKeywords);
Clear(document.frmService.selAssocKeywords);
}

Line 263 is:

Clear(document.frmService.selAssocKeywords);

The LoadSubcategories function is:

function LoadSubcategories(catid)
{
var aSubcats = new Array();

var strSQL="SELECT * FROM Subcategories WHERE CategoryID = " +
String(catid) + " ORDER BY Subcategory";
var rsSubcats = Server.CreateObject("ADODB.Recordset");
rsSubcats.Open(strSQL,g_strDSN);

while (! rsSubcats.EOF) {
var item = new ReturnItem(String(rsSubcats("SubcategoryID")),
String(rsSubcats("Subcategory")));
aSubcats[aSubcats.length] = item;
rsSubcats.MoveNext();
}

I've checked the browser options between the working and the non-working
browser and they are similar. I've set the site as being part of my local
Intranet and then set the security level to low, but no change. Any help
would be appreciated.

Thanks,
Terri
Jul 19 '05 #1
3 1884
Which line is 263?

Ray at work

"Terri" <Te***@spamaway.om> wrote in message
news:bp**********@reader2.nmix.net...
Hi,
I am experiencing the following error from a particular XP workstation. The application has been in production for some time and the error only appears on one XP workstation. I have run Windows Update on this workstation. The
error does not appear on a different XP workstation.

The error happens when I make a selection from the Category drop-down list. The subsequent drop-down list Subcategory should be automatically filtered.
The error is

Line:263
Char: 3
Error: Object does not support this property or method
Code: 0

The code in question is:

function CategoryChanged()
{
var selCat = document.frmService.CategoryID;
var selSubcat = document.frmService.SubcategoryID;
var co =
RSExecute("ProviderServiceRemote.asp","LoadSubcate gories",selCat.options[sel Cat.selectedIndex].value);
var aSubcats = co.return_value;
Clear(selSubcat);
AddInstructionItem(selSubcat);
PopulateDropDown(aSubcats,selSubcat);

// remove index 0 item
if (selCat.options[0].value == "0")
selCat.options[0] = null;

// remove all Keyword items
Clear(document.frmService.selAllKeywords);
Clear(document.frmService.selAssocKeywords);
}

Line 263 is:

Clear(document.frmService.selAssocKeywords);

The LoadSubcategories function is:

function LoadSubcategories(catid)
{
var aSubcats = new Array();

var strSQL="SELECT * FROM Subcategories WHERE CategoryID = " +
String(catid) + " ORDER BY Subcategory";
var rsSubcats = Server.CreateObject("ADODB.Recordset");
rsSubcats.Open(strSQL,g_strDSN);

while (! rsSubcats.EOF) {
var item = new ReturnItem(String(rsSubcats("SubcategoryID")),
String(rsSubcats("Subcategory")));
aSubcats[aSubcats.length] = item;
rsSubcats.MoveNext();
}

I've checked the browser options between the working and the non-working
browser and they are similar. I've set the site as being part of my local
Intranet and then set the security level to low, but no change. Any help
would be appreciated.

Thanks,
Terri

Jul 19 '05 #2
Line 263 is:

Clear(document.frmService.selAssocKeywords);

When I comment out the last two lines of the function like:

// Clear(document.frmService.selAllKeywords);
// Clear(document.frmService.selAssocKeywords);

I still get the error and the error report still says line 263 which is the
last line of the function.

Thanks,
Terri

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:uG**************@tk2msftngp13.phx.gbl...
Which line is 263?

Ray at work

"Terri" <Te***@spamaway.om> wrote in message
news:bp**********@reader2.nmix.net...
Hi,
I am experiencing the following error from a particular XP workstation.

The
application has been in production for some time and the error only

appears
on one XP workstation. I have run Windows Update on this workstation. The error does not appear on a different XP workstation.

The error happens when I make a selection from the Category drop-down

list.
The subsequent drop-down list Subcategory should be automatically

filtered.

The error is

Line:263
Char: 3
Error: Object does not support this property or method
Code: 0

The code in question is:

function CategoryChanged()
{
var selCat = document.frmService.CategoryID;
var selSubcat = document.frmService.SubcategoryID;
var co =

RSExecute("ProviderServiceRemote.asp","LoadSubcate gories",selCat.options[sel
Cat.selectedIndex].value);
var aSubcats = co.return_value;
Clear(selSubcat);
AddInstructionItem(selSubcat);
PopulateDropDown(aSubcats,selSubcat);

// remove index 0 item
if (selCat.options[0].value == "0")
selCat.options[0] = null;

// remove all Keyword items
Clear(document.frmService.selAllKeywords);
Clear(document.frmService.selAssocKeywords);
}

Line 263 is:

Clear(document.frmService.selAssocKeywords);

The LoadSubcategories function is:

function LoadSubcategories(catid)
{
var aSubcats = new Array();

var strSQL="SELECT * FROM Subcategories WHERE CategoryID = " +
String(catid) + " ORDER BY Subcategory";
var rsSubcats = Server.CreateObject("ADODB.Recordset");
rsSubcats.Open(strSQL,g_strDSN);

while (! rsSubcats.EOF) {
var item = new ReturnItem(String(rsSubcats("SubcategoryID")),
String(rsSubcats("Subcategory")));
aSubcats[aSubcats.length] = item;
rsSubcats.MoveNext();
}

I've checked the browser options between the working and the non-working
browser and they are similar. I've set the site as being part of my local Intranet and then set the security level to low, but no change. Any help
would be appreciated.

Thanks,
Terri


Jul 19 '05 #3
Are you trying to run this server-side or client-side? That's client-side
code. Try posting in a client-side group such as .scripting.jscript.

Ray at work

"Terri" <Te***@spamaway.om> wrote in message
news:bp**********@reader2.nmix.net...
Line 263 is:

Clear(document.frmService.selAssocKeywords);

When I comment out the last two lines of the function like:

// Clear(document.frmService.selAllKeywords);
// Clear(document.frmService.selAssocKeywords);

I still get the error and the error report still says line 263 which is the last line of the function.

Thanks,
Terri

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:uG**************@tk2msftngp13.phx.gbl...
Which line is 263?

Ray at work

"Terri" <Te***@spamaway.om> wrote in message
news:bp**********@reader2.nmix.net...
Hi,
I am experiencing the following error from a particular XP workstation.
The
application has been in production for some time and the error only

appears
on one XP workstation. I have run Windows Update on this workstation. The error does not appear on a different XP workstation.

The error happens when I make a selection from the Category drop-down

list.
The subsequent drop-down list Subcategory should be automatically

filtered.

The error is

Line:263
Char: 3
Error: Object does not support this property or method
Code: 0

The code in question is:

function CategoryChanged()
{
var selCat = document.frmService.CategoryID;
var selSubcat = document.frmService.SubcategoryID;
var co =

RSExecute("ProviderServiceRemote.asp","LoadSubcate gories",selCat.options[sel Cat.selectedIndex].value);
var aSubcats = co.return_value;
Clear(selSubcat);
AddInstructionItem(selSubcat);
PopulateDropDown(aSubcats,selSubcat);

// remove index 0 item
if (selCat.options[0].value == "0")
selCat.options[0] = null;

// remove all Keyword items
Clear(document.frmService.selAllKeywords);
Clear(document.frmService.selAssocKeywords);
}

Line 263 is:

Clear(document.frmService.selAssocKeywords);

The LoadSubcategories function is:

function LoadSubcategories(catid)
{
var aSubcats = new Array();

var strSQL="SELECT * FROM Subcategories WHERE CategoryID = " +
String(catid) + " ORDER BY Subcategory";
var rsSubcats = Server.CreateObject("ADODB.Recordset");
rsSubcats.Open(strSQL,g_strDSN);

while (! rsSubcats.EOF) {
var item = new ReturnItem(String(rsSubcats("SubcategoryID")),
String(rsSubcats("Subcategory")));
aSubcats[aSubcats.length] = item;
rsSubcats.MoveNext();
}

I've checked the browser options between the working and the non-working browser and they are similar. I've set the site as being part of my local Intranet and then set the security level to low, but no change. Any help would be appreciated.

Thanks,
Terri



Jul 19 '05 #4

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

Similar topics

11
by: brian | last post by:
I am working with a 3rd party credit card company that is using Python version 2.2.2. They are using the httplib module to post data to my server which is a dedicated server with no firewall or any...
2
by: David | last post by:
Hi, This is the first time I use SOAP. Dont really know the exact picture yet. Hope you can shed some lights on me. May I know where should I start troubleshooting if I get the followin error...
3
by: Lori McDonald | last post by:
I am logging errors in my web application in a database for troubleshooting (and emailing them to myself) and I am getting this error I cannot understand I have a click event that is generating an...
11
by: CM Manager via DotNetMonster.com | last post by:
I am very frustrated due to this exception error I am receiving. I've tried searching numerous user support groups, Microsoft Support Net, Google, etc. and haven't found exactly my situation....
1
by: Carl J. Van Arsdall | last post by:
Hey everyone, cPickle is raising an ImportError that I just don't quite understand. Before I paste the code, let me explain the application. Basically the part of the application that failed is a...
7
by: dtschoepe | last post by:
Hi, I am working on a project for school and I am trying to get my head around something weird. I have a function setup which is used to get an input from stdin and a piece of memory is created...
1
by: jobs | last post by:
Re: Troubleshooting Timeout expired. All pooled connections were in use and max pool size was reached. New webservers. win2003. IIS6. asp.net 2.0/ sql server 2005 and Oracle 9i through a 64 bit...
10
by: Daniel Peterson | last post by:
I'm responsible for a pair of IIS 6 webservers that run our production ASP.Net application. We push code on a monthly basis, and about two weeks after our October code push, we started to run into...
3
by: davemerkel | last post by:
Hi folks - wondering if anyone has any pointers on troubleshooting garbage collection. My colleagues and I are running into an interesting problem: Intermittently, we get into a situation where...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.