Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weird problem with ASP 1

Status
Not open for further replies.

Chipsman

Programmer
May 26, 2005
44
GB
Hi,

I made a table on an ASP page where I display records from a database. This works fine and when I test it with IE it displays the records. To display all the records I use the "Repeat region" feature.

Because I have many records I would like to display only 10 at the time, so I create 4 buttons underneath the table:
[First][Previous][Next][Last]

Apparently once I do that it doesn't work anymore. I get a white error page in IE that tells that:

=====================
Error Type:
Active Server Pages, ASP 0141 (0x80004005)
The @ command can only be used once within the Active Server Page.
=====================

Does anybody knows what is wrong?

Thanks
 
You just need to remove the additional line which has something like this:

<%@LANGUAGE="VBSCRIPT" CodePage...


-DNG

 
Brilliant DNG

Thanks it's working :-D



Why have I accepted that job??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top