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
Solved

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

Posted on 2008-10-14
2
1,008 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…
The viewer will learn how to count occurrences of each item in an array.

837 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