IIS 5.1 Website to IIS 6.0 [Answered]RSS

27 replies

Last post Apr 09, 2009 01:51 PM by tomkmvp

  • IIS 5.1 Website to IIS 6.0

    Apr 01, 2009 12:24 PM|wnight77|LINK

     Hi guys i cannot find this on a search so ill ask sorry if it has been answered.

     

    I have a site i published it works fine on my xp iis 5.1 its all asp, however when i move it to my server 2003 iis 6.0 it dosnt work AT ALL...  i just get internet explorer cannot display the webpage... any ideas i know this isnt much nfo but i will answer questions to try and help us find a solution

     

    thanks in advance. P.S. this is for my work so its important help would be apreciated.

     

    P.S.S. i tried moving an html page in there it loaded fine.

     

    P.S.S. i have all the .net versions installed so thats not the issue.

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 01, 2009 12:54 PM|tomkmvp|LINK

    Disable friendly error messages in IE and report back the detailed error message.

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 01, 2009 12:59 PM|wnight77|LINK

     "Show friendly HTTP error messages" is not checked.

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 01, 2009 01:14 PM|tomkmvp|LINK

    Ok ... but we need more info to continue ...

    • <div mce_keep="true">copy and paste the full message</div>
    • <div mce_keep="true">check the IIS log file - what is getting logged?</div>
    • <div mce_keep="true">check the server's System and Application event logs for relevant entries</div>
    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 01, 2009 01:40 PM|wnight77|LINK

    it appears there is no log file? I've followed the path it has listed under its properties and the file does not exist it also says it only logs "daily" and this is brand new because i had tried deleting and redoing it to rule out i just set it up wrong.

     

    something like C:\windows\system32\logfiles\w3sv....

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 01, 2009 01:50 PM|wnight77|LINK

     the main thing is it makes no sense that it would work on my XP pro 5.1 iis no problems my site works great but as soon as i try and put it onto my server same way i did any other site and nothing works at all if i try and "browse" it from inside the iis i get website cannot be displayed as if it cannot find the site.  if i type it in manually such as... server/site/index.asp that errors out from .asp syntax error even though it works on my comp... says cannot find one of my files even tho the substructure is EXACTLY the same inetpub\site this entire situation is frustrating because it makes no sense.

     

    at first i thought it was a permissions error but i have gone into that and made everyone have full control just to try and get the dang thing working still no luck

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 01, 2009 02:57 PM|tomkmvp|LINK

    I'm trying to help you but it's hard when you don't address the points in my post ...

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 01, 2009 03:07 PM|wnight77|LINK

     hmm i thought i did there is no log files for me to post.

     one of the erros is this. if i "browse" the page from inside the iis i see this

     This program cannot display the webpage
       
       Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
     
       What you can try:
         Check your Internet connection. Try visiting another website to make sure you are connected.  
     
         Retype the address.  
     
         Go back to the previous page.

     

     

     If i manually brose to the siste server/pagename/index.asp i get this

     

    Active Server Pages error 'ASP 0126'

    Include file not found

    /hidden/index.asp, line 7

    The include file '/includes/LoadPicturesAndWebLocation.txt' was not found.

     

    the File substructure has not changed from my xp machine to my server 2003 machine

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 01, 2009 03:30 PM|tomkmvp|LINK

    wnight77

     hmm i thought i did there is no log files for me to post.

     one of the erros is this. if i "browse" the page from inside the iis i see this

     This program cannot display the webpage
       
       Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
     
       What you can try:
         Check your Internet connection. Try visiting another website to make sure you are connected.  
     
         Retype the address.  
     
         Go back to the previous page.

    This means that you're not even reaching the server.  Is Windows firewall blocking access on the server?  Any other network devices between the client and the server?

    wnight77

    If i manually brose to the siste server/pagename/index.asp i get this
     

    Active Server Pages error 'ASP 0126'

    Include file not found

    /hidden/index.asp, line 7

    The include file '/includes/LoadPicturesAndWebLocation.txt' was not found.

    the File substructure has not changed from my xp machine to my server 2003 machine

    What is the actual physical path to the root on your XP machine (C:\inetpub\wwwroot ...?) and on the server?  Is this running in the root of the web site or an application folder?

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 01, 2009 03:37 PM|wnight77|LINK

    respose to the first question is im on the server physically thats hosting the site opening the iis menu and right clicking the site and hitting browse. and its unable to find it.

     

    in reponse to the 2nd quetion its c:\inetpub\wwwroot on both my server and my XP machine i moved it from litterally identical

     

    Whats really odd is basically all i did was move the "folder" for example c:\inetpub\wwwroot\bob from my XP machine to my server machines c:\inetpub\wwwroot\bob

    then went to the iss menu on my server said "add new webpage" set it up and said the directory is c:\inetpub\wwwroot\bob and added index.asp as the start page and walah it should have worked just like on my XP machine.... that was the idea anyways

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 05, 2009 06:41 PM|wnight77|LINK

    any ideas?
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 06, 2009 10:34 AM|tomkmvp|LINK

    wnight77

    respose to the first question is im on the server physically thats hosting the site opening the iis menu and right clicking the site and hitting browse. and its unable to find it.

    OK - sounds like it could be WIndows firewall.
    http://support.microsoft.com/kb/883607

    wnight77

    in reponse to the 2nd quetion its c:\inetpub\wwwroot on both my server and my XP machine i moved it from litterally identical

    Whats really odd is basically all i did was move the "folder" for example c:\inetpub\wwwroot\bob from my XP machine to my server machines c:\inetpub\wwwroot\bob

    then went to the iss menu on my server said "add new webpage" set it up and said the directory is c:\inetpub\wwwroot\bob and added index.asp as the start page and walah it should have worked just like on my XP machine.... that was the idea anyways

    That last paragraph does not make sense.  There is no option "add new webpage" on the IIS MMC menu.  Are you saying you set the web site root to "c:\inetpub\wwwroot\bob"?  It's supposed to be "c:\inetpub\wwwroot" by default.

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 06, 2009 12:38 PM|wnight77|LINK

     Yes there is?

     

    http://img232.imageshack.us/img232/9412/help.jpg

     

    just tossed im some generic options to show you the screens

  • Rovastar Rovastar

    5458 Posts

    MVP

    Moderator

    Re: IIS 5.1 Website to IIS 6.0

    Apr 06, 2009 01:30 PM|Rovastar|LINK

    That screenshot shows adding a new website not new webpage.

    From the pic you posted you seem to have many websites yet you only talk about 1. I expect also some confusion is coming from there.

    If you have only 1 site you can delete all other sites and start again.

    Also what is the hostheader you is it valid and reachable? In the screenshot you are simply entering Bobsite and that will not resolve.

     

    Troubleshoot IIS in style
    https://www.leansentry.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 06, 2009 01:33 PM|tomkmvp|LINK

    If on your XP machine you have C:\inetpub\wwwroot\bob, that means you browse to http://localhost/bob/.

    You must then also create a folder C:\inetpub\wwwroot\bob on your server and then set "bob" as an application in the IIS MMC.  You would then browse to http://yourserver/bob/.

    It appears that the mistake you are making is creating a whole new web site at c:\inetpub\wwwroot\bob and using that path as the root of the site.  This will cause the include file not found error you are getting.

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 06, 2009 05:16 PM|wnight77|LINK

    ohh wait before reading below? i have to set it up as an application?  <edit> nevermind it is an application under the default application pool. so...

     

     no, as i stated early its exactly the same on both machines.

     

    <from my earlyer post>

    Whats really odd is basically all i did was move the "folder" for example c:\inetpub\wwwroot\bob from my XP machine to my server machines c:\inetpub\wwwroot\bob

    then went to the iss menu on my server said "add new webpage" set it up and said the directory is c:\inetpub\wwwroot\bob and added index.asp as the start page and walah it should have worked just like on my XP machine.... that was the idea anyways


    <for clarification i guess?>

    "New, New Web Site"

    c:\inetpub\wwwroot\bob

     same location on both machines. same IIS settings on both machines.

     

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 07, 2009 10:16 AM|tomkmvp|LINK

    wnight77

    then went to the iss menu on my server said "add new webpage"

    As Rovastar and I pointed out, that's impossible.  There is no such option. 

     

    wnight77

    same location on both machines. same IIS settings on both machines.

    Can't be the same settings as IIS 5.1 <> IIS 6.

    Not sure how else to help you at this point.  Clearly it's a path issue and somewhere someway somehow you have something confused on IIS 6.

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 07, 2009 02:14 PM|wnight77|LINK

     lol?

     

    http://img232.imageshack.us/img232/9412/help.jpg

     oh and this as well

    http://www.startvbdotnet.com/aspsite/extras/deploy2.aspx

    again... anyways nvm ill check somewhere else ty for trying.

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 07, 2009 04:04 PM|tomkmvp|LINK

    Snipped from your image on imageshack ...

    Clearly the option is "New -> Web Site".  There is no option for new web page.

     

    I think this is your problem.  It probably does not match the web site root path on XP, which by default is C:\inetpub\wwwroot.

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 07, 2009 06:39 PM|wnight77|LINK

     ....ok ill say again thanks for trying.

     

    04-01-2009, 8:37 PM

     Whats really odd is basically all i did was move the "folder" for example c:\inetpub\wwwroot\bob from my XP machine to my server machines c:\inetpub\wwwroot\bob

     

    04-06-2009, 5:38 PM

    http://img232.imageshack.us/img232/9412/help.jpg

    just tossed im some generic options to show you the screens

     

    List for anyone else that looks

    1. We have more than 1 site the others work fine i have had no issues with them.

    2. all that has been done is moved the site folder from machine 1(iis 5.1) to machine 2 (iis6)

    3. The folder locations are correct c:\inetpub\wwwroot\(someSite) same on both machines

    4.  I added the site as a new website just like i always do. AKA follows the damn instructions not that hard to follow the process here cant figure out why a pro is picking at symantics cause i called it a webpage instead of website kinda sad.

    5. Example Settings are "Description" - MySite      "HostHeader" -  MySite   sites on port 80 sites homefolder is c:\inetpub\wwwroot\MySite

    6.  The problems that are accuring.

     A.  If i try to "browse" the site by right clicking it in the IISM and clicking "Browse" i get This program cannot display the webpage
       
       Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
     
       What you can try:
         Check your Internet connection. Try visiting another website to make sure you are connected.  
     
         Retype the address.  
     
         Go back to the previous page.

     

    B.  If i manually go to the site http://Server1/MySite/Index.asp

    Active Server Pages error 'ASP 0126'

    Include file not found

    /hidden/index.asp, line 7

    The include file '/includes/LoadPicturesAndWebLocation.txt' was not found.

     

     

    I have NOT CHANGE the file Substructure from PC1 to PC2 i have NOT CHANGED the Location of the Home Folder from PC1 to PC2.

     

     

     

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 08, 2009 10:01 AM|tomkmvp|LINK

    I'm really trying to help you but I'm not sure how to be any clearer.

    wnight77

    If i manually go to the site http://Server1/MySite/Index.asp

    Active Server Pages error 'ASP 0126'

    Include file not found

    /hidden/index.asp, line 7

    The include file '/includes/LoadPicturesAndWebLocation.txt' was not found.

    I have NOT CHANGE the file Substructure from PC1 to PC2 i have NOT CHANGED the Location of the Home Folder from PC1 to PC2.

    Ahh ... but you have!

     

    If this is the path you used (C:\inetpub\wwwroot\MySite) for the root of this site, then using this URL http://Server1/MySite/Index.asp is wrong!

    You should be using http://Server1/Index.asp as "MySIte" is the root folder.  The is further confirmed byu this error message:

    wnight77

    The include file '/includes/LoadPicturesAndWebLocation.txt' was not found.
      

    Does C:\inetpub\wwwroot\MySite\MySite\includes or C:\inetpub\wwwroot\MySite\includes exist?

    I think the best thing for you to do is just copy your "bob" folder to your main web site and then you can navigate to http://yourserver/bob/ - just like you navigate to http://localhost/bob/ to get to your application on your local mahcine.

    You're not understanding how sites/URLs/file paths all relate.

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 08, 2009 03:50 PM|wnight77|LINK

    You should be using http://Server1/Index.asp as "MySIte" is the root folder.  The is further confirmed byu this error message:

    <this may be the solution that makes sence! imma go try it> on a further note down below is unrelated.

     

    <nope just tried it its a local path no need for the url path>

     

     how many times do i have to quote this!! those options ARE GENERIC JUST TO SHOW THE SCREEENS

    my actual settings are done correctly. im getting frustrated party because i cant figure this out on my own and thats very uncommon and partly because im having to repost the same things 3-4 times man. 

    if you really wanna help take 5 mintues and re read the entire thread from start to finish and dont skip anything.

    04-06-2009, 5:38 PM

    http://img232.imageshack.us/img232/9412/help.jpg

    just tossed im some generic options to show you the screens

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 08, 2009 03:57 PM|wnight77|LINK

    wnight77

     ....ok ill say again thanks for trying.

     

    04-01-2009, 8:37 PM

     Whats really odd is basically all i did was move the "folder" for example c:\inetpub\wwwroot\bob from my XP machine to my server machines c:\inetpub\wwwroot\bob

     

    04-06-2009, 5:38 PM

    http://img232.imageshack.us/img232/9412/help.jpg

    just tossed im some generic options to show you the screens

     

    List for anyone else that looks

    1. We have more than 1 site the others work fine i have had no issues with them.

    2. all that has been done is moved the site folder from machine 1(iis 5.1) to machine 2 (iis6)

    3. The folder locations are correct c:\inetpub\wwwroot\(someSite) same on both machines

    4.  I added the site as a new website just like i always do. AKA follows the damn instructions not that hard to follow the process here cant figure out why a pro is picking at symantics cause i called it a webpage instead of website kinda sad.

    5. Example Settings are "Description" - MySite      "HostHeader" -  MySite   sites on port 80 sites homefolder is c:\inetpub\wwwroot\MySite

    6.  The problems that are accuring.

     A.  If i try to "browse" the site by right clicking it in the IISM and clicking "Browse" i get This program cannot display the webpage
       
       Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
     
       What you can try:
         Check your Internet connection. Try visiting another website to make sure you are connected.  
     
         Retype the address.  
     
         Go back to the previous page.

     

    B.  If i manually go to the site http://Server1/MySite/Index.asp

    Active Server Pages error 'ASP 0126'

    Include file not found

    /hidden/index.asp, line 7

    The include file '/includes/LoadPicturesAndWebLocation.txt' was not found.

     

     

    I have NOT CHANGE the file Substructure from PC1 to PC2 i have NOT CHANGED the Location of the Home Folder from PC1 to PC2.

     

     

     

     
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 08, 2009 04:36 PM|tomkmvp|LINK

    wnight77

    how many times do i have to quote this!! those options ARE GENERIC JUST TO SHOW THE SCREEENS

    Be nice now ... I'm volunteering to help you and no one else has jumped on this thread ... : )

    wnight77

    if you really wanna help take 5 mintues and re read the entire thread from start to finish and dont skip anything.

    I've tried to read this carefully several times but the sentence structure, formatting, styling, and typos make it very difficult to follow and understand.

    Let's try this - forget about the generic examples, obviously they have confused things.  Show me exactly what you are doing.  That's probably the best way to get help.

    I've been successfully publishing sites from my PC to IIS for 14+ years so I think we can figure this out ...

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 08, 2009 06:40 PM|wnight77|LINK

    ok i apologies i will try showing you exactly what i have done from step 1 to end just trying to keep some of the nfo confidential.

     

    Ok here is everything possible to see .

    http://img152.imageshack.us/img152/3972/pleasehelp.jpg

  • Re: IIS 5.1 Website to IIS 6.0

    Apr 09, 2009 10:12 AM|tomkmvp|LINK

    Very good.  Some background info:  Windows XP (IIS 5.1) only allows for one site.  By default, the root/home path for the site is C:\inetpub\wwwroot.  In other words, when you browse to http://localhost/ on your Windows XP machine, IIS will serve what is in C:\inetpub\wwwroot.  If you had http://localhost/images/pleasehelp.jpg this would correspond to the file located at C:\inetpub\wwwroot\images\pleasehelp.jpg.  In other words, http://localhost/ = C:\inetpub\wwwroot.

    Here's how you have IIS 5.1 setup:

     

    Apparently you're using C:\inetpub\wwwroot\CityWebSite as your root/home folder. That's ok and valid, just wanted to point out the difference for clarity.  So when you go to http://localhost/ you get what's in that folder.

    IIS 6 can host multiple web sites, you're not just limited to one site as you are with IIS 5.1.  In order to host multiple sites with IIS 6, each site must have a unique combination of IP address, port, and host header name.  In other words, if you use the same IP and port for every site (and many people do this), you must have a unique host header name for each site.

    I see you have multiple sites already in IIS 6.  That's ok.  Here's how you have your new site set:

     

    This looks good - what is key is that no other site has this same combination of IP, port 80, and host header.  I think you are good on that point.  Because you are using the host header name of "MySite", you must browse to this site as http://MySite/ - that's the only address that will work.  This is key and I think you might be missing this step - You must also be sure that you have created that name in your network name system (DNS or WINS).  If you can't do this for some reason (someone else runs your network) you can use the hosts file feature.  See the section "Adding Static Clients to the Hosts File": http://support.microsoft.com/kb/309642.

    In your case, setup your hosts file to look like this:

    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host

    127.0.0.1       localhost
    192.168.1.150   MySite
     

    Be aware thought that this only works for the machine you set the hosts file on.  If there are other machines on your network that you want to be able to browse to http://MySite/ with, you must modify the hosts file on all of those machines. This is why we have DNS and WINS systems so naming can be handled in one place and all network machines can leverage that.  If you can get your host header name added to the network naming system by your network administrator, that's the preferred method to use.

    Now once all of this is done, you should be able to browse to http://MySite/ to get to your site on the IIS 6 server, and now all paths will match what you have setup on IIS 5.1.  In other words, http://MySite/ will be the same content you have loaded at C:\inetpub\wwwroot\MySite and http://MySite/default.asp = C:\inetpub\wwwroot\MySite\default.asp.

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 09, 2009 12:27 PM|wnight77|LINK

     LOL got it. it was the DNS issue just went in added it on my dns server and poof working perfect.

     

    Thanks very much for pointing me in the right direction.
  • Re: IIS 5.1 Website to IIS 6.0

    Apr 09, 2009 01:51 PM|tomkmvp|LINK

    Told you we would get it going!  Good job.

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/