Results 1 to 5 of 5

Thread: Problem with IIS

  1. #1
    Join Date
    May 2008
    Posts
    130

    Problem with IIS

    Hello, I'm Joachim

    I created a little web service ( "hello world"), and I put in C: \ Inetpub \ wwwroot, and then I created a virtual directory in IIS, but when I called it gives me :


    HTTP Error 403 - Forbidden
    How Do we Solve This

    Thank you for helping me!

  2. #2
    Join Date
    Oct 2008
    Posts
    86

    Re: Problem with IIS

    You first need to confirm if you have encountered a "No directory browsing" problem. You can see this if the URL ends in a slash '/' rather than the name of a specific Web page (e.g. .htm or .html). If this is your problem, then you have no option but to access individual Web pages for that Web site directly.

    It is possible that there should be some content in the directory, but there is none there yet. For example if your ISP offers a 'Home Page' then you need to provide some content - usually HTML files - for the Home Page directory that your ISP assigns to you. Until the content is there, anyone trying to access your Home Page could encounter a 403 error. The solution is to upload the missing content - directly yourself or by providing it to your ISP. Once the content is in the directory, it also needs to be authorised for public access via the Internet. Your ISP should do this as a matter of course - if they do not, then they have missed a no-brainer step.

  3. #3
    Join Date
    May 2008
    Posts
    181

    Re: Problem with IIS

    The problem that you are facing is either because you have not given the directory browsing facility when setting up the application in IIS. or you have not created the default page for the application But you can still access the page by giving the page name after the url. I hope it can solve your problem.

  4. #4
    Join Date
    May 2008
    Posts
    130

    Re: Problem with IIS

    Hello,
    I finally solved the problem Well, Go to Start > Control Panel > Administrative Tools > Internet Information Services (IIS) Manager Then right click on Default web site > then select Properties > in Home Directory Tab > check Read, Write, Directory browsing

    Thanks For Your Help

  5. #5
    Join Date
    May 2008
    Posts
    181

    Re: Problem with IIS

    You may receive a similar error in the following cases:

    When you create a Microsoft ASP.NET Web application in Microsoft Visual Studio .NET and you set up Secure Sockets Layer (SSL) certificate authentication on the ASP.NET Web application project, you may receive the error message when you try to reopen the ASP.NET Web application project in Visual Studio IDE:

    Unable to open Web project 'AspwebApp1'. The file path 'C:\Inetpub\wwwroot\AspwebApp1' does not correspond to the URL 'http://Localhost:/AspwebApp1'. The two need to map to the same server location. HTTP Error 403: Forbidden

    -or-

    You have created a virtual directory where you will create an ASP.NET application. You enable SSL authentication in Internet Information Services (IIS) for the project that is created in the folder. When you try to create a new Web application project with the virtual directory name, you may receive the following error:

    Unable to create Web project 'AspwebApp2'. The file path 'C\Inetpub\wwwroor\AspwebApp2\ does not correspond to the URL 'http://localhost/AspwebApp2'. The two need to map to the same server location. HTTP Error 403:Forbidden

Similar Threads

  1. Sony VGNCS3 laptop 15 inch screen problem...LCD or CHIP problem?
    By Mick$Tyler in forum Hardware Peripherals
    Replies: 5
    Last Post: 31-10-2010, 06:49 AM
  2. Replies: 6
    Last Post: 27-07-2010, 12:10 AM
  3. hard disk problem, clicking sound and windows problem
    By rajat_2589 in forum Hardware Peripherals
    Replies: 1
    Last Post: 16-06-2010, 11:34 PM
  4. Replies: 4
    Last Post: 10-04-2010, 04:19 PM
  5. Replies: 1
    Last Post: 30-11-2004, 11:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,390,266.38735 seconds with 17 queries