views:

213

answers:

2

Here is the exact error I'm getting when I try to launch my default.aspx file from the published folder. Can anybody point me in the right direction?

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/MHNProServices/Default....

<%@ Page Title="" Language="C#" MasterPageFile="~/ProServices.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs"...
A: 

This issue was caused because I needed to run the website from an IIS server, instead of launching it directly from the folder I published it to. Oops.

Gallen
A: 

So.. how to run the website from an IIS server? I very new to asp programming. Any help is appreciated.

Tommy Lam
You need to install IIS on your computer, then in the IIS manager you can set a virtual directory for your website to run from, and set up a website that will be accessible outside of localhost. You can access your website by navigating to localhost/virtualdirectoryname if you set everything up correctly. There are plenty of tutorials out there for setting up an IIS server. I just uploaded my site to my hosting, which was windows based and has IIS set up already, check with your service provider.
Gallen