« Previous Next »

Thread: can't publish, HTTP Error 404.0

Last post 07-28-2009 5:08 AM by Leo Tang - MSFT. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 07-16-2009, 4:36 AM

    • baruchas
    • Not Ranked
    • Joined on 07-16-2009, 8:27 AM
    • Posts 2

    can't publish, HTTP Error 404.0

    I am following the steps in "Walkthrough: Publishing a Web Site"

    "  Testing the Published Web Site "

    In:

    http://localhost/CompiledSite/SamplePage.aspx

    I have an error:

    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    I have an IIS,
    putting the http://localhost/, gives me the right page.

    I don't have the tab:”Web
    sharing tab", (click Share this Folder).
    I made just a normal sharing.

    I’ll appreciate any help,

    Thanks

  • 07-20-2009, 7:12 AM In reply to

    Re: can't publish, HTTP Error 404.0

    Hi,

    As alternatively, you can create an application pointed to the target folder (c:\CompiledSite in the workthrough) under the default web site. Please follow the steps below :

    1. Run "inetmgr" open IIS Manager
    2. Expend the tree view, right-click the Default Web Site
    3. Add Application, enter the Alias "CompiledSite", specify the physical path as the target folder, click OK
    4. Open the browser and test URL again

    Below are some materials about deploy, publish web content, hope helpful for you:
    Serving New Content
    http://learn.iis.net/page.aspx/372/serving-new-content/

    Creating, Updating, and Publishing Web applications with Visual Web Developer
    http://learn.iis.net/page.aspx/546/creating-updating-and-publishing-web-applications-with-visual-web-developer/

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 07-21-2009, 12:04 AM In reply to

    Re: can't publish, HTTP Error 404.0

    Hi I also got similiar problem

    however, it can browse the localhost without problems in deployment machine

    but if I use other machine, in the same lan. it display that error Messages

     for example : deployment machine : 192.168.1.25

    in 192.168.1.25 machine , i can see the page if i g o to ie then type localhost

     however if i use other machine that connected via lan, i type http://192.168.1.25/

     

    it always display that error message, any suggestions/advise how to solve this

  • 07-21-2009, 6:26 AM In reply to

    Re: can't publish, HTTP Error 404.0

    Hi arifliminto86,

    Could you post the relevant IIS log entries here ? IIS log files located in the %systemdrive%/inetpub/log/LogFiles/W3SVC+n directory by default.

    What's happens, if you browse your website through full URL(e.g. http://192.168.1.25/filename)?

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 07-21-2009, 8:55 AM In reply to

    Re: can't publish, HTTP Error 404.0

    Make sure port 80 or http access is not block at firewall level. 

    arifliminto86:

    Hi I also got similiar problem

    however, it can browse the localhost without problems in deployment machine

    but if I use other machine, in the same lan. it display that error Messages

     for example : deployment machine : 192.168.1.25

    in 192.168.1.25 machine , i can see the page if i g o to ie then type localhost

     however if i use other machine that connected via lan, i type http://192.168.1.25/

     

    it always display that error message, any suggestions/advise how to solve this

    Cheers,
    Bernard Cheah
  • 07-27-2009, 2:03 AM In reply to

    • baruchas
    • Not Ranked
    • Joined on 07-16-2009, 8:27 AM
    • Posts 2

    Re: can't publish, HTTP Error 404.0

    Sorry, But still doesn't Work. Same error.

    maybe the key is someting with permision?

    why I don't have the tab:”Web sharing tab",

    the content of the file "SamplePage.aspx is:

     <%@ page language="VB" autoeventwireup="false" inherits="SamplePage, App_Web_zizb565k" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <asp:Label ID="Label1" runat="server" Height="56px" Text="aaa" Width="208px"></asp:Label>
            <asp:Button ID="Button1" runat="server" Height="56px" Text="Button" Width="80px" /></div>
        </form>
    </body>
    </html>

    The Detailed error informations:

    Detailed Error Information

    Module StaticFileModule
    Notification ExecuteRequestHandler
    Handler StaticFile
    Error Code 0x80070032
    Requested URL http://localhost:80/CompiledSite/SamplePage.aspx
    Physical Path C:\inetpub\wwwroot\CompiledSite\SamplePage.aspx
    Logon Method Anonymous
    Logon User Anonymous
     

    I disabled the filrewall.

    I moved the "compiledSite" directory to c:\inetpub\wwwroot\

     

  • 07-28-2009, 5:08 AM In reply to

    Re: can't publish, HTTP Error 404.0

    Hi,

    The tab "Web sharing tab" is applied to IIS6.0 on Windows 2003.

    In this case, the .aspx page was mapped to StaticFileMoule. This indicates the ASP.Net role was not installed properly. With the default installation, IIS7.0 can only serve the static files. You can follow the steps in the following article to install the ASP.Net workload.

    Install Typical IIS Workloads
    http://learn.iis.net/page.aspx/136/install-typical-iis-workloads/

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (7 items)
Microsoft Communities