Results 1 to 6 of 6

Thread: IIS error on Vista

  1. #1

    Thread Starter
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    IIS error on Vista

    Hi All,

    I guess this is the right place to ask this question. If not please moderator move it to the correct place.

    I host an ASP.Net site in IIS7 on vista. Once I browse the site it display an error. Here is the complete error I got.

    HTTP Error 500.19 - Internal Server Error
    Description: The requested page cannot be accessed because the related configuration data for the page is invalid.
    Error Code: 0x8007000d
    Notification: BeginRequest
    Module: IIS Web Core
    Requested URL: http://192.168.2.99:80/
    Physical Path: C:\inetpub\wwwroot\SITE
    Logon User: Not yet determined
    Logon Method: Not yet determined
    Handler: Not yet determined
    Config Error: Unrecognized configuration section 'sessionState'
    Config File: \\?\C:\inetpub\wwwroot\SITE\web.config
    Config Source:

    127: </handlers>
    128: <sessionState mode="inProc" timeout="30"/>
    129: </system.webServer>
    According to the Microsoft Support site explains, that line number 128 need to be deleted. Once I do that, it's move to endless, have to delete a lot.

    And also same config file working fine on server 2003(with IIS6), this all happens on Vista.

    Any comments appreciate.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,173

    Re: IIS error on Vista

    Is SITE specified as a virtual directory in IIS?

  3. #3

    Thread Starter
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: IIS error on Vista

    Yes it is.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  4. #4
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: IIS error on Vista

    Try placing sessionState tag outside system.webServer tag. If I remember correctly, webserver doesn't support sessionState tags.
    Show Appreciation. Rate Posts.

  5. #5

    Thread Starter
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: IIS error on Vista

    I'll check that and let you know.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  6. #6
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: IIS error on Vista

    Hey,

    If you haven't already done so, you can find information about the sessionState element in the web.config file here:

    http://msdn.microsoft.com/en-us/libr...z9(vs.71).aspx

    Gary

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