I know there are related posts here on this forum and another resources but I got stuck with this and couldn't proceed. Problem is I've done a website with VS2010 when I publish it to a FTP server and navigate to the url address I got an error.
The Web server is configured to not list the contents of this directory.at first i got a static file handler error but now this is displayin on page. I am sure that i've enabled directory browsing both in IIS and my web config.It turns to be a torture for me to deploy a website.
<div class="post-text" itemprop="description">
Here is my web.config: <configuration> <system.webServer> <directoryBrowseenabled="true"showFlags="Date, Time, Size, Extension"/> <defaultDocument> <files> <addvalue="AnaSayfa.aspx"/> </files>
</system.webServer> <system.web> <compilationdebug="true"targetFramework="4.0"/> </system.web>
any help would be greatly greatly greatly! appreciated. </div> |