I uploaded my website on web server(www.somee.com) but there is an error which I am facing like many other new web developers face. I had done these things to get rid of this error. There is no error when I test my website on local host.
1) I have right clicked on my page named "WebHome.aspx" and make it start page. 2) After reading multiple solution I had tried most of them but still the problem is still there. My web conf. file have following script
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<directoryBrowse enabled="true" />
<defaultDocument>
<files>
<clear />
<add value="WebHome.aspx" />
</files>
</defaultDocument>
</system.webServer>
<authentication mode="Forms">
<forms loginUrl="WebHome.aspx" defaultUrl="WebHome.aspx" >
</forms>
</authentication>
Error: HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.
Please help and Thanks in advance.