Business Desk - subscript out of range 'Ubound"

This is Interesting: Free IT Magazines  
Home > Archive > Business Desk > May 2004 > subscript out of range 'Ubound"





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author subscript out of range 'Ubound"
RC

2004-05-12, 5:25 pm

Dear Sirs:

I am in the middle of teaching a CIW e-commerce class, that uses the Commerce Server package. Up until the commerce server 2002, I have been able to setup the site we work with effectively. Now.. with Commerce Server 2002, I try to go into the Business
Desk- Enter the Property Definitions.

I go into a New Multiple Choice Property Definition
Under the Default Value section I try to create a new default value
A popup window appears to have me setup the default values.
I type in the default value in the window, and click on the add button.

I receive this error:

Internet Explorer Script Error

An Error has occured in the script on this page
Line: 260
Char: 2
Error: Subscript out of range: "Ubound"
Code: 0
URL: http://ecom1/retailbizdesk/catalogs...yDefinition.asp

If I tell it to continue to run scripts it puts the values in the window.. but does not save them.
If i tell it not to run scripts then nothing occurs.. and i still cant save the values

Im on a:

Windows 2000 Advanced Server SP4
IE 6.0 .2800.1106 128bit SP1 upgraded
SQL Server 2000 with SP2 Installed

To me, it sounds like a browser issue.. but i am not quite sure.. and as any help stuff.. on a time constraint

If anyone can help on this, -please- reply to the email address listed here.

Thanks
R. Concepcion
John Inman [MSFT]

2004-05-17, 2:39 pm

Hi there, we have a KB in progress to address this issue, it has not been
published yet but this should be the resolution:

The affected BizDesk file is retailbizdesk/catalogs/designer/Common.asp

To resolve this issue, change this subroutine in Common.asp:

FROM THIS:
sub AddArray (ByRef aArray, sString)
dim iNewUBound
iNewUBound = UBound(aArray) + 1
redim preserve aArray(iNewUBound)
aArray(iNewUBound) = sString
end sub

TO THIS:
sub AddArray (ByRef aArray, sString)
dim iNewUBound
on error resume next
iNewUBound = UBound(aArray) + 1
on error goto 0
redim preserve aArray(iNewUBound)
aArray(iNewUBound) = sString
end sub


Hope that helps!

This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team


--------------------
Thread-Topic: subscript out of range 'Ubound"
thread-index: AcQ4YL46GcDuLw7qQ7KWj3ZH+Xy6RA==
X-WN-Post: microsoft.public.commerceserver.businessdesk
From: "=?Utf-8?B?UkM=?=" <rc@nhli.com>
Subject: subscript out of range 'Ubound"
Date: Wed, 12 May 2004 13:36:03 -0700
Lines: 35
Message-ID: <AB903E0A-5B21-4788-BAD0-30F25C5173D9@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.businessdesk
Path: cpmsftngxa10.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.businessdesk:6114
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.commerceserver.businessdesk

Dear Sirs:

I am in the middle of teaching a CIW e-commerce class, that uses the
Commerce Server package. Up until the commerce server 2002, I have been
able to setup the site we work with effectively. Now.. with Commerce
Server 2002, I try to go into the Business Desk- Enter the Property
Definitions.

I go into a New Multiple Choice Property Definition
Under the Default Value section I try to create a new default value
A popup window appears to have me setup the default values.
I type in the default value in the window, and click on the add button.

I receive this error:

Internet Explorer Script Error

An Error has occured in the script on this page
Line: 260
Char: 2
Error: Subscript out of range: "Ubound"
Code: 0
URL:
http://ecom1/retailbizdesk/catalogs...yDefinition.asp

If I tell it to continue to run scripts it puts the values in the window..
but does not save them.
If i tell it not to run scripts then nothing occurs.. and i still cant save
the values

Im on a:

Windows 2000 Advanced Server SP4
IE 6.0 .2800.1106 128bit SP1 upgraded
SQL Server 2000 with SP2 Installed

To me, it sounds like a browser issue.. but i am not quite sure.. and as
any help stuff.. on a time constraint

If anyone can help on this, -please- reply to the email address listed
here.

Thanks
R. Concepcion

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com