Solved

VS 2008 how to publish an asp.net website and access the homepage?

Posted on 2008-10-14
2
1,012 Views
Last Modified: 2013-11-19
VS 2008 how to publish an asp.net website and access the homepage?

I opened up visual studio 2008 and did NEW > WEBSITE (per a turorial) and added a button and some text to say HI THERE NAME! Works great when I run it in VS 2008. WHen I upload the folder contents (C:\Inetpub\wwwroot\Chapter15) to my ASP.NET supported godaddy webserver and go to the URL it fails with various errors. When I publish it to a local folder and run it it fails with:

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 'file:///C:/Inetpub/wwwroot/ttk/Input.aspx'. Line ...

<%@ page language="C#" autoeventwireup="true" inherits="Input, App_Web_qstt6wk6" %>
-^

This is my first attempt to get to my webpage www.url.\folder\file.aspx

Any thoughts?

Karl66
0
Comment
Question by:Karl66
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:link64
ID: 22716989
It looks like you have not setup your IIS to run ASP.NET 2.0 ... if you have access to it, check that the application is running as a 2.0 app instead of a 1.1 app
0
 

Accepted Solution

by:
Karl66 earned 0 total points
ID: 22720172
turned out to be exactly what the error said I had a tage something=blue needed to be something="blue"

Closing
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This video teaches users how to migrate an existing Wordpress website to a new domain.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question