SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Oct 2003
    Location
    Mobile
    Posts
    329
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Configuring IIS7 -- Need Help!

    I'm working with the original Build Your Own ASP.NET Website Using C# and VB.NET that i bought years ago. However, the information is too old for me to figure out why my local host account isn't working as expected. I get the IIS7 page, but when i create a virtual directory and put my website in the directory and try to reference that directory Http://localhost/mywebdocs i get an error message.

    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid.

    I've tried looking online for a link on how to configure IIS7 but I've so far been unsuccessful.

    I'm using Windows 7 Home Premium.

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Addict
    Join Date
    Oct 2003
    Location
    Mobile
    Posts
    329
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks I've looked at the first link and I don't understand Point #2

    In the Connections pane, expand the server name, expand Sites, expand the Web site to which you want to add the virtual directory, and then click the application to which you want to add the virtual directory.
    I stuff that is underlined I don't understand. I have a Virtual Directory created however and I can view the folders in it that I placed in it yesterday. but the Index.htm or default.htm page does not show up when i type localhost/mywebdocs

    I'm going to look at the other link. Thanks!

  4. #4
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    The problem is the app pool is configured for the wrong version of .NET so it is failing to read the configuration file and crashing. Change versions of .NET in the app pool and you should be good to go.


Tags for this Thread

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
  •