Error when creating Dynamic Array in ASP

O

oudi83

hey guys pls help me on this.

I wrote a simple code to generate a dynamic array:

Dim TestArray2()
TestArray2=array()
Redim TestArray2(43)

When I uploaded this to IIS (on Vista Basic), the following error
message was given:

"An error occurred on the server when processing the URL. Please
contact the system administrator"

May I know what is the problem?

Thanks a lot in advance!
 
B

Bob Barrows [MVP]

hey guys pls help me on this.

I wrote a simple code to generate a dynamic array:

Dim TestArray2()
**************************
TestArray2=array()
**************************

What is the purpose of the previous line? You have already declared
TestArray2 to be a dynamic array.
Redim TestArray2(43)

When I uploaded this to IIS (on Vista Basic), the following error
message was given:

"An error occurred on the server when processing the URL. Please
contact the system administrator"

May I know what is the problem?
First, reveal the real error: http://www.aspfaq.com/show.asp?id=2109
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top