Click here to Skip to main content
11,920,377 members (52,929 online)
Rate this:
Please Sign up or sign in to vote.
Hi ,
Can anybody tell me how to host a web application on IIS7.5 in windows 7.

When I'm trying to do so. I'm getting following error.

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

Please help.

Thank you.
Posted 28-Jan-13 19:45pm
Edited 6-Feb-13 22:42pm
Edo Tzumer 29-Jan-13 1:11am
Where are you getting the error?
What do you "how to create a URL"?
what is the exactly thing you want ???

Do you need to create the URL using any lang. or IIS ???
Dee_Bee 29-Jan-13 4:09am
I need to create URL using IIS 7.5
Michiel du Toit 6-Feb-13 8:06am
You're going to have to provide more details on the error you're getting. Windows 7 has default settings in place that stops some standard IIS stuff from working by default - these settings just needed to be changed.

Some changes in your %windir%\Microsoft.NET\Framework\v____\config's files are required to allow application web.configs to enable HttpModules, etc - without knowing which your web app requires we can't point you in the right direction...
Krunal Rohit 7-Feb-13 4:48am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


The message is saying that your configuration file is corrupt in some way. However it also says that it can't actually access the config file. So I'd ignore the original message about corruption/lack of validity as this is most likely just the effect of not being able to read the file due to a lack of authorization.

The reason it cannot read the config file is because the process running your web app does not have permission to access the file/directory. So you need to give the process running your web app those permissions.

The access rights should be fairly straightforward, i.e. at least Read, and, depending on your app, maybe Write.

The file web.config should only be accessible through your application.

Perhaps the account does not appear in the IIS manager, if so, in windows 7 follow the steps:

- Open control panel
- Click on” program” link (not uninstall programs)
- Click” turn windows features on/off” link
- locate” Internet Information services IIS” in the pop up window and expand its node
- Expand the” World Wide Web Service” node
- Expand “Application Development Features” node
- check the check box of”ASP.NET”
- Then click ok button

[by Intermension]


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 415
1 phil.o 170
3 F-ES Sitecore 130
4 RyanDev 120
0 OriginalGriff 6,778
1 KrunalRohit 4,495
2 Sergey Alexandrovich Kryukov 3,203
3 George Jonsson 2,805
4 Suvendu Shekhar Giri 2,181

Advertise | Privacy | Mobile
Web04 | 2.8.151120.1 | Last Updated 7 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100