I was trying through the second link you provided. As per solution provided I have added my website default page at the top of document in the IIS website configuration then I rebuild website and republished website. After that I access website then I got
following error:
Server Error in '/' Application.
Configuration Error
Description:
An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 62: ASP.NET to identify an incoming user.
Line 63: -->
Line 64: <authentication mode="Windows"/>
Line 65: <!--
Line 66: The <customErrors> section enables configuration
ziazai123
Member
558 Points
1199 Posts
Publishing website Problem from Visual studio 2005
Feb 01, 2012 06:23 AM|LINK
Hi,
I need support to publish website using Visual Studio 2005.
Although I have published two websites on intranet and that are working fine.
This time the message I got that Published 1: Succeeded.
The folder C:\Inetpub\wwwroot\ReportsCentreAUH is showing published files/folders
But when I am trying to access website nothing displays and following error page comes:
The website declined to show this webpage
HTTP 403 Forbidden.
Abu Dhabi (UAE)
Rajneesh Ver...
All-Star
36961 Points
6782 Posts
Re: Publishing website Problem from Visual studio 2005
Feb 01, 2012 08:28 AM|LINK
May be the issue due to Directory browsing is disable in IIS. Enable it:
have a look some similar issues:
http://social.msdn.microsoft.com/Forums/ar/tfssetup/thread/118913c9-22d0-42ad-be9f-f1501f14b5b4
http://rehmangul.sauftveyr.com/2009/04/09/error-the-website-declined-to-show-this-web-pagethe-website-requires-you-to-log-in/
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
ziazai123
Member
558 Points
1199 Posts
Re: Publishing website Problem from Visual studio 2005
Feb 01, 2012 09:14 AM|LINK
Thanks for reply,
I was trying through the second link you provided. As per solution provided I have added my website default page at the top of document in the IIS website configuration then I rebuild website and republished website. After that I access website then I got following error:
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
In my website default page is "default2.aspx"
Abu Dhabi (UAE)
Rajneesh Ver...
All-Star
36961 Points
6782 Posts
Re: Publishing website Problem from Visual studio 2005
Feb 01, 2012 09:50 AM|LINK
It seems your Virtual Directory is not Configured Properly.Be sure. You have we.config and Default2.aspx in C:\Inetpub\wwwroot\ReportsCentreAUH
Also try in browser using: http://localhost/ReportsCentreAUH/Default2.aspx
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
ziazai123
Member
558 Points
1199 Posts
Re: Publishing website Problem from Visual studio 2005
Feb 05, 2012 05:39 AM|LINK
Both files are in Root folder.
I access http://localhost/ReportsCentreAUH/Default2.aspx
but page is displaying same error as I mentioned in my previous post.
Abu Dhabi (UAE)