Previous Next

Thread: help setting up webapplication on IIS5.1

Last post 08-06-2008 8:09 AM by nb123. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 08-05-2008, 1:43 AM

    • nb123
    • Not Ranked
    • Joined on 07-04-2006, 11:31 AM
    • Posts 6
    • nb123

    help setting up webapplication on IIS5.1

    Can someone point me to how to set up IIS to run wep application project on IIS5.1. This is what i have tried:

    -have a web app project .net 2.0 which is created at the default location c:\documents and settings\name\VS2005\projects\myWebApp1\myWebProj1  ..i have changed the project properties in VS to run on IIS server and gave the path to my virtual directory as http://localhost/myVirtualDir

    -i have IIS5.1 running on my local system,thats where i have created myVirtualDir. Local path for myVirtualDir is set up to c:\documents and settings\name\VS2005\projects\myWebApp1\myWebProj1 and application name is defaulted to same name as myVirtualDir

    -under defaultwebsite ->properties->Home directory,i have local path set up toC:\Inetpub\wwwroot\myWebApp1\myWebProj1 

    when i try to browse the site as localhost/myVirturalDir>> i get HTTP 401.3 - Access denied by ACL on resource

    and if i try localhost/myVirturalDirmy/WebApp1/myWebProj1 >> i get file not found error and it i add default.aspx .i get server application is unavailable error.What am i missing here...PLEASE HELP ME...thanks a million

  • 08-05-2008, 9:11 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 3,538
    • IIS MVPs
    • tomkmvp

    Re: help setting up webapplication on IIS5.1

    nb123:
    -under defaultwebsite ->properties->Home directory,i have local path set up toC:\Inetpub\wwwroot\myWebApp1\myWebProj1
    Don't do that ... no need to change the root of the site, it should stay as C:\inetpub\wwwroot - this is what gets accessed as http://localhost/.

    nb123:
    when i try to browse the site as localhost/myVirturalDir>> i get HTTP 401.3 - Access denied by ACL on resource
    Make sure that IUSR_yourcomputername has NTFS Read permissions on c:\documents and settings\name\VS2005\projects\myWebApp1. Also make sure that the local ASPNET account has at least NTFS read permissions on the myWebApp1 folder and below. 

    nb123:
    and if i try localhost/myVirturalDirmy/WebApp1/myWebProj1 >> i get file not found error and it i add default.aspx .i get server application is unavailable error.What am i missing here...PLEASE HELP ME...thanks a million
    that's the wrong URL - from what you've described so far it should only be http://localhost/myVirtualDir.  Should anything in myWebApp1 be accessible through http?  If so, make that the virtual directory - then you would be able to go to http://localhost/myVirtualDir/ as well as http://localhost/myVirtualDir/myWebProj1/.

  • 08-05-2008, 2:10 PM In reply to

    • nb123
    • Not Ranked
    • Joined on 07-04-2006, 11:31 AM
    • Posts 6
    • nb123

    Re: help setting up webapplication on IIS5.1

    Thanks a ton tom..your guidence helped me get thru the first few step,i can see the files listed under the directory Now when i try to browse the default.aspx which is under that given directory i am getting Failed to  access  IIS metabase

  • 08-05-2008, 6:04 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 3,538
    • IIS MVPs
    • tomkmvp

    Re: help setting up webapplication on IIS5.1

    Also make sure that the local ASPNET account has at least NTFS read permissions on the myWebApp1 folder and below. 

  • 08-06-2008, 8:09 AM In reply to

    • nb123
    • Not Ranked
    • Joined on 07-04-2006, 11:31 AM
    • Posts 6
    • nb123

    Re: help setting up webapplication on IIS5.1

    got it working...yup i had the permissions set up correctly but i was still getting the failed to connect to IIS metabase error..i got it working with the help of following link http://geekswithblogs.net/narent/archive/2007/03/23/109573.aspx 

    thank you so much for helping me out on this one...i am IIS novice.

Page 1 of 1 (5 items)
Page view counter