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 7033689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:05:45+00:00 2026-05-28T01:05:45+00:00

my hello world ASP.NET application works fine in debug. However, after I publish, I

  • 0

my “hello world” ASP.NET application works fine in debug. However, after I publish, I have issues :

  1. where do I control whether I want my website to serve Default.aspx or .asp as default page ? When I debug, it is calling Default.aspx with no problems, but after publish, it seems to request Default.asp

  2. why do I get this error when I request Default.aspx manually ? (in browser)

    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    A name was started with an invalid character. Error processing resource ‘http://localhost/slidenet/default.aspx’. Line 1, …

    <%@ Page Language=”C#” AutoEventWireup=”true” CodeBehind=”Default.aspx.cs” Inherits=”WebApplication1._Default” %>
    -^

  3. if I don’t request a page, it will call my Default.asp that I created on purpose, and again, same error :
    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.


Please try the following:

Click the Refresh button, or try again later.

Open the localhost home page, and then look for links to the information you want.
HTTP 500.100 – Internal Server Error – ASP error
Internet Information Services


Technical Information (for support personnel)

Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified ‘Page Language=”C#” AutoEventWireup=”true” CodeBehind=”Default.aspx.cs” Inherits=”WebApplication1.Default” ‘ option is unknown or invalid.
/slidenet/Default.asp, line 1

Browser Type:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)

Page:
GET /slidenet/Default.asp

Time:
11 January 2012, 14:00:02

More information:
Microsoft Support

  • 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. Editorial Team
    Editorial Team
    2026-05-28T01:05:45+00:00Added an answer on May 28, 2026 at 1:05 am

    Could be that aspx engine hasn’t been registered correctly with IIS. The handlers for aspx are not present.

    Try running aspnet_regiis -i (MSDN link) from the command line. It needs to be run from the directory of the version of the .Net framework you are installing i.e. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

    I’ve seen this happen when IIS has been installed after the .Net framework so it doesn’t have a chance to register

    The default page is a setting in IIS for the website as explained in the other answers.

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

Sidebar

Related Questions

I have a Hello World c# ASP .NET web service which is automatically generated
In my hello world application, i have a button and a text field set
I have an asp.net mvc application and i need to to use ajax in
I have an asp.net MVC 2.0 application. I also have a WFC service, if
I'm writing a hello world example using ASP.net MVC 2 framework with two text
This is not an MVC topic. I have an ASP.NET Application which performs URL
I have an ASP.NET web application. It has a web service, with several web
Say I have a User Control in ASP.NET that contains a button: public class
Does anyone have a hello world sample or tutorial for creating an Eclipse plugin
Complete C++ i18n gettext() hello world example has C++ code that works for a

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.