I have developed an ASP.NET web application with database (LINQ) ,its working perfect in when i run from the visual studio 2010 .Now i am trying to host it in office intranet using IIS web server .I host the asp.net application like by clicking SITE->DEFAULT
WEB SITE(rightclick)->ADD APPLICATION (i give the alias name and select the published folder of asp.net application)->ok.
Then i tried to open the hosted asp.net by right clicking the MANAGE APPLICATION ->BROWSE
but i am getting an error like this.
<div class="content-container">
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
This usually indicates that ASP.NET is either not installed or has corrupted/incomplete installation because installation of asp.net unlocks that section. Hence if this is the case, one should install asp.net feature from
Server Manager (Under Web Server Role in Windows Server 2008 and in Program Features-> Application server in Vista/Windows7). This KB929772 talks about the ASP.NET installation
failure reason.
To ensure that IIS and ASP.NET are installed correctly, try these steps:
Click "Start button"
In the search box, enter "Turn windows features on or off"
In the features window, Click: "Internet Information Services"
Member
2 Points
21 Posts
I am getting an error when i tried to deploy a ASP.NET web application on IIS server on windows 8
Nov 15, 2013 05:00 AM|mhdnaveen|LINK
Hello Nation ,
I have developed an ASP.NET web application with database (LINQ) ,its working perfect in when i run from the visual studio 2010 .Now i am trying to host it in office intranet using IIS web server .I host the asp.net application like by clicking SITE->DEFAULT WEB SITE(rightclick)->ADD APPLICATION (i give the alias name and select the published folder of asp.net application)->ok.
Then i tried to open the hosted asp.net by right clicking the MANAGE APPLICATION ->BROWSE
but i am getting an error like this.
<div class="content-container">HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
</div> <div class="content-container"></div> <div class="config_source content-container"></div> <div class="content-container"></div>How to solve this please help...
thanks in advance .
asp.net asp net iis
All-Star
43204 Points
10243 Posts
MVP
Re: I am getting an error when i tried to deploy a ASP.NET web application on IIS server on windo...
Nov 15, 2013 05:36 AM|DarrellNorton|LINK
From this blog post on troubleshooting this error:
This usually indicates that ASP.NET is either not installed or has corrupted/incomplete installation because installation of asp.net unlocks that section. Hence if this is the case, one should install asp.net feature from Server Manager (Under Web Server Role in Windows Server 2008 and in Program Features-> Application server in Vista/Windows7). This KB929772 talks about the ASP.NET installation failure reason.
To ensure that IIS and ASP.NET are installed correctly, try these steps:
If that doesn't work try the Web Platform Installer: http://www.microsoft.com/web/downloads/platform.aspx
asp.net asp net iis
Darrell Norton's Blog
Please click "Mark as Answer" if this helped you.
Member
2 Points
21 Posts
Re: I am getting an error when i tried to deploy a ASP.NET web application on IIS server on windo...
Nov 15, 2013 06:16 AM|mhdnaveen|LINK
Thank you so much sir.
But i can only view in my computer .How publish this asp.net application in intranet .
asp.net asp net iis
All-Star
23975 Points
4084 Posts
Re: I am getting an error when i tried to deploy a ASP.NET web application on IIS server on windo...
Nov 18, 2013 03:29 AM|Starain chen - MSFT|LINK
Hi mhdnaveen,
Thanks for your post!
After you publish the application in the IIS, then others can access it via intranet by IP, such as http://10.168.196.37/MVC4
There is a link that may benefit you:
#Create a Web Site
http://technet.microsoft.com/en-us/library/cc772350(v=ws.10).aspx
Thanks
Best Regards
asp.net asp net iis