1
votes

i publish my website and install iis on windows 7, and add my website into this address : c --> inetpub --> wwwroot and add permission to my folder (IIS_IUSRS , IUSR) but now when type this address (http://localhost/publish/default.aspx)(Publish folder is in wwwroot folder) in address bar of browser see this error :

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

plz help me!!

1
Turn off custom errors and post detailed IIS error message here. - Tomas Voracek
in web.config, customerror is OFF, and iis error is : - mohammad abedi
HTTP Error 500.19 - Internal Server Error : The requested page cannot be accessed because the related configuration data for the page is invalid. - mohammad abedi

1 Answers

0
votes

First a bit of googling may help you a lot (i heve seen this answer on Google before), second, this error is more likely because you don't have ASP.NET enabled in IIS, to enable open the Control Panel, go to Programs and Features, then go to Internet Information Services-> World Wide Web Services-> Application Development Features and enable ASP.NET, then click Ok and wait for the features to be enabled, also be sure you have installed the .NET Framework.