|
-
Jun 4th, 2009, 10:57 PM
#1
Thread Starter
PowerPoster
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
-
Jun 6th, 2009, 05:03 AM
#2
Re: IIS error on Vista
Is SITE specified as a virtual directory in IIS?
-
Jun 8th, 2009, 01:20 AM
#3
Thread Starter
PowerPoster
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
-
Jun 8th, 2009, 01:47 AM
#4
Re: IIS error on Vista
Try placing sessionState tag outside system.webServer tag. If I remember correctly, webserver doesn't support sessionState tags.
-
Jun 8th, 2009, 06:47 AM
#5
Thread Starter
PowerPoster
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
-
Jun 9th, 2009, 06:50 AM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|