Token does not exist error

Discussion in 'ASP.NET / ASP.NET Core' started by tractsforje, Sep 5, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. In a dropdownlist I have the following code in the
    SelectedIndexChanged event:

    If Dropdownlist2.SelectedItem.Text = "Chick Tracts" Then
    System.Diagnostics.Process.Start("http://www.chick.com/")
    End If

    But...when I make the selection I get the following error:
    "An attempt was made to reference a token that does not exist"

    Can you tell me what's wrong?

    Thanks



    Steve
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    I don't think you can spawn process on our server..

    I tried that on my test acct and i got the same error.


    quote:Originally posted by tractsforje

    In a dropdownlist I have the following code in the
    SelectedIndexChanged event:

    If Dropdownlist2.SelectedItem.Text = "Chick Tracts" Then
    System.Diagnostics.Process.Start("http://www.chick.com/")
    End If

    But...when I make the selection I get the following error:
    "An attempt was made to reference a token that does not exist"

    Can you tell me what's wrong?

    Thanks



    Steve
    </blockquote id="quote"></font id="quote">
     
  3. I was trying to pull up a different URL than my own, and was successful by changing my code, like so: Response.Redirect("someURL")

    But...that replaced my URL window with the new one, which I didn't want to do. I wanted a new window to be created in addition to my own, and discovered it had to be done with javascript in a .Write statement, as opposed to a .Redirect statement, like so:

    Response.Write("<script language = javascript> Window.Open ('someURL', '_new') </script>")

    Steve
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page