2
votes

I am deploying website on server but it is showing error while in localhost it is working fine.

XML Parsing Error: not well-formed

Location: file://///10.10.1.220/share/CozmoBlog/Default.aspx

Line Number 1, Column 2:

<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="MasterPage.master" CodeFile="Default.aspx.cs" Inherits="_Default" %> -^

screenshot enter image description here

1

1 Answers

3
votes

Once the deployment is successful, you should access the page with HTTP protocol like http://10.10.1.220/Default.aspx

If the server is configured to treat Default.aspx as the home page, a simple request http://10.10.1.220 will load your Default.aspx.