[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2008-10-14
2
Medium Priority
?
1,022 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month18 days, 10 hours left to enroll

834 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