Error when creating Dynamic Array in ASP

Discussion in 'ASP General' started by oudi83@gmail.com, Feb 5, 2008.

  1. Guest

    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!
    , Feb 5, 2008
    #1
    1. Advertising

  2. wrote:
    > 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

    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.
    Bob Barrows [MVP], Feb 5, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ravi Ambros Wallau
    Replies:
    0
    Views:
    4,077
    Ravi Ambros Wallau
    Jun 1, 2005
  2. kaul
    Replies:
    7
    Views:
    481
    Barry Schwarz
    Sep 9, 2004
  3. Greg Hoover
    Replies:
    1
    Views:
    479
    Robert Bossy
    Mar 25, 2008
  4. Ravi Ambros Wallau
    Replies:
    0
    Views:
    299
    Ravi Ambros Wallau
    Jun 1, 2005
  5. Ruby Student
    Replies:
    4
    Views:
    142
    Ruby Student
    Apr 9, 2009
Loading...

Share This Page