Results 1 to 12 of 12

Thread: Error creating new ASP.NET Web app ?[Resolved]

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Resolved Error creating new ASP.NET Web app ?[Resolved]

    The book I'm reading never explained anything about having IIS running or anything . I suppose the proj won't work without it so I installed and started it . Now I keep getting this error "403 forbidden" . See the image below . Any thoughts ?
    Attached Images Attached Images  
    Last edited by Pirate; Oct 19th, 2004 at 08:42 AM.

  2. #2

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    bump

  3. #3

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    1. Try using a name other than WebApplication1
    2. Click the Help button, there are usually instructions there
    3. You may have to modify some settings in IIS... enable directory browsing, for example, is what comes to mind first.

  5. #5
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    If you've installed IIS after the .net framework (which I'm guessing you have from reading that note), then go into the windows explorer/my computer & goto:

    C:\WINNT\Microsoft.NET\Framework\v1.1.4322

    (which might change a little depending on your windows path & version of the .net framework). Grab the aspnet_regiis.exe executable & drag it into a dos command prompt. Put a "-i" after it then hit enter to add and register all of the asp.net parts of the .net framework into IIS.

    The dos prompt should look something like this:

    C:>C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

    If after rebooting this doesn't work, then can you give us the actual error message you're receiving in visual studio when you try & create a new web application please?

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  6. #6

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Still the same error message (attached below). I modified the settings in folder options to <Directory Browsing>= checked and Write permission .

    alex_read , I installed it successfully and did restart but still the same error message .

    Do you know what could be the problem ?
    Attached Images Attached Images  

  7. #7
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099
    have you let the account which IIS uses have write access to the folder where it is trying to create the WebApplication?

    try changing the access to one of those accounts might help.

    IUSR_COMPUTERNAME
    ASPNET
    IWAM_COMPUTERNAME

  8. #8

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I can't set any user name on this partition , though it's NTFS . But I did give write and browsing permission in the web sharing tab .I uninstalled it also and reinstalled it but still same error . I finally used Microsoft Web Matrix IDE but not really happy with it . So any other thoughts guys !

    Thanks

  9. #9

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Ok , It's working now . I don't know how and why . The confusing thing is this :

    When I unplug the internet cable [DSL] it works fine . Do I have to unplug it every time I create new ASP proj ???

  10. #10
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    OK, I think I know what it is:

    Internet Explorer > Tools > Options > Connections Tab > LAN Settings Button >

    Check the box that says "Bypass proxy server for local addresses."

  11. #11

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I love you Frog .

    Thanks everyone .

  12. #12
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by Pirate
    I love you Frog .

    Thanks everyone .
    I'm already taken.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width