Skip to content

Cant see my site in browser

confusedme confusedme

Asked Sep 19, 2007, 10:47 PM EDT2 answers
Share
LinkedInX
Hi

I am new to ASP.Net.I have created a file system based web application.I tried to view it in browser.I can do so when i do http://localhost:portno/project name.However I cannot view it when i do http://computername:portno/project name.I cant unserstand where the problem is.I have placed the project inside wwwroot and have webshared it well.I have allowed it in network sharing too.Another thing that is confusing me is when i dont give the port no that is http://computer name/project name  it shows me the directory listing of the project .But when i click on any of the aspx page,the following error is shown in the browser:


"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 'http://jeri/joint/Default.aspx'. Line 1, Position...

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


I am using IIS version 5 and framework 2.

Please help! I know very little about IIS settings and all.Thanks in advance!!

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    hi if u want to given ur computer name then first publish your site and then no need to given port no only system name or ip is enough.

    best of luck!!
    0
  • 0

    Hi Kavita

    Thanks for the reply.I did wat u said...and yes i could do it without giving the port no.However,the error message persisted.Is there any other methods ?

    0