Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 75269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:29:23+00:00 2026-05-10T20:29:23+00:00

(Warning – asp newbie) I have an aspx file with the tag <%@ Page

  • 0

(Warning – asp newbie) I have an aspx file with the tag

    <%@ Page Language=VB  ... %> 

right at the beginning of the file.

When calling this from my IIS server (http://localhost/myservice/default.aspx), this gives me the error

This page contains the following errors:

error on line 1 at column 2: StartTag: invalid element name
Below is a rendering of the page up to the first error.

What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:29:24+00:00Added an answer on May 10, 2026 at 8:29 pm

    It appears as if the browser tries to display what it thinks is an XML file, since it gives an error on the second character of the first line. So I think the file is not parsed, but simply returned as is immediately. Check if your IIS server is configured correctly and that it actually parses your ASP tags before returning the page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

WARNING: content not work-appropriate This does not retrieve image successfully from a web page
Warning. This is a total newbie question for Groovy.. I'm from a Java background
(WARNING: this is my first java application, coming from .NET, so don't bash me
Warning 1 D:\MyPath\SomeAscx.cs: ASP.NET runtime error: Could not load file or assembly 'HtmlAgilityPack, Version=1.4.0.0,
Warning: In DOM Core 1, 2 and 3, Attr inherited from Node. This is
WARNING: Complete newbie to RoR and Ruby alert! * I have a login method
Warning: mkdir() [function.mkdir]: No such file or directory in I keep getting this annoying
Warning: substr_count() [function.substr-count]: Empty substring. I get this message when calling the function browsertest.
Warning: complete newbie Xcode question. In MainViewController.h I have the following line: IBOutlet WorkItem
Warning: Note that this is a dumb question of something that I would probably

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.