locked
Deploying website on Local IIS RRS feed

  • Question

  • User-329526789 posted

    Hello,

    I have tried to deply my site using IIS configuration manager. I have made it using Visual Studio. I want to host it locally. So I can access on local LAN.

     

    I have putted on localhost:81 using IIS.

     

    But it shows Advertisment file is missing or invalid.....

     

    Thanx

    VARUN

    Friday, May 10, 2013 2:39 AM

Answers

All replies

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 10, 2013 2:52 AM
  • User-691245060 posted

    But it shows Advertisment file is missing or invalid.....

    It clearly states that file is missing...so go check in IIS Virtual Directory where you kept this website files....if that advertisement file is present or not.....if no, then store it there.....

    thanks,

    Friday, May 10, 2013 3:15 AM
  • User-492460945 posted

    Hi Varun,

    1) Place your website directory in c:\inetpub\wwwroot path.

    2) Go to IIS manager and inside DefaultWebsite, check for your website directory.

    3) Right click and convert it to application and assign application pool (if IIS 7).

    4) In IIS 7, in the right screen click on Default document and create a default document which you wanna open as start up page for your website.

    5) Go to web browserand browse for http://locahost/Website and it opens up your startup page. You also can browse using  http://YourIISServerName/Website.

    -Rajesh.

    Friday, May 10, 2013 3:22 AM
  • User-329526789 posted

    Hello,

    Thanks for reply,

     

    I have done ... I have to access from other machine when stored on this machine... so after doing all this step......

     

    How can I get my IIS server name?

     

    How can I do this? Please help.

    Friday, May 10, 2013 9:17 AM
  • User-492460945 posted

    Hi Varun,

    You can open IIS Manager in your local machine and see your servername (mostly computername will be server name for non local machines) under connections.

    -Rajesh

    Friday, May 10, 2013 9:23 AM
  • User-329526789 posted

    I am unable to add my server to my client when I click "Connect to server"... it says : "Unable to connect to remote machine".

     

    Are the credentials same as that we use to log in to Windows?

     

     

    Friday, May 10, 2013 10:11 AM
  • User-492460945 posted

    Hi Varun,

    May I know what steps you followed which lead you to this error?

    -Rajesh

    Saturday, May 11, 2013 7:22 AM
  • User-329526789 posted

    I have already added my site wwwroot folder

    When I access my site through source machine (machine where site is, where i posted in wwwroot) using addess localhost/sitename is accesible.

     

    Now I want to to access site from other machine as well.

     

    I went on Start -> In Start Seach i typed "IIS Manager"

    There I clicked CONNECT TO SERVER on welcome screen.

    Now I typed MY pc name XYZ-PC -> Next

    I punched my log in credentials (one which is use for Windows)

    Now while establishing connection it says error

    "Unable to connect to target machine".

    Same set of options but are not availalbe on source machine. Do I need some more packages?

    Sunday, May 12, 2013 2:23 AM
  • User-492460945 posted

    Hi Varun,

    I think you need not to connect to source machine from IIs Manager, you can go to web browser and typ url http://servername/website.

    This  way you can access your website from other machine with in your network.

    -Rajesh.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 13, 2013 4:23 AM