Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Read about why website design really matters in today's demanding market.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now