Quantcast
Viewing all articles
Browse latest Browse all 26542

problem publishing a website on IIS7.5

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">
  • I've enabled IIS services and static content
  • I've revert to parent the staticFile under handler mappings
  • I've registered the asp.net again in command prompt(the regiis.exe thing)
  • In IIS manager i've added my website adress under sites, stopped default web site and started mine.
  • I've added my site to classic.NET AppPool(integrated,and v4.0)
  • I've enabled the default browsing..
  • I've allowed isapi cgi restrictions
  • I've also tried downgrade the .net framework from 4 to 3.5 in VS 
  • I've done all the advices that generally covered..

Here is my web.config:

<configuration>
<system.webServer> 
<directoryBrowseenabled="true"showFlags="Date, Time, Size, Extension"/> 
<defaultDocument> 
<files> 
<addvalue="AnaSayfa.aspx"/> 
</files> 
</defaultDocument>
</system.webServer> 
<system.web> 
<compilationdebug="true"targetFramework="4.0"/> 
</system.web> 
</configuration>
any help would be greatly greatly greatly! appreciated.
</div>

Viewing all articles
Browse latest Browse all 26542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>