<?xml version="1.0" encoding="utf-8"?>

<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->

<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
    In the example below, the "SetAttributes" transform will change the value of 
    "connectionString" to use "ReleaseSQLServer" only when the "Match" locator 
    finds an attribute "name" that has a value of "MyDB".

      <add name="MyDB" 
        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
      In the example below, the "Replace" transform will replace the entire 
      <customErrors> section of your web.config file.
      Note that because there is only one customErrors section under the 
      <system.web> node, there is no need to use the "xdt:Locator" attribute.

      <customErrors defaultRedirect="GenericError.htm"
        mode="RemoteOnly" xdt:Transform="Replace">
        <error statusCode="500" redirect="InternalError.htm"/>

// The project after creation without any modification or modification it throws 403.14 error.... pleeez som1 help

Edited by JorgeM: Moved to asp.net from asp category.

3 Years
Discussion Span
Last Post by Praveen_10

all other projects run though....this happens onnly when i create an empty project. I tried creating a template and then deleting the pre-created folders...then also same error is thrown...someone plz help me out

Edited by Praveen_10


That error usually occurs when you try to access a folder on the website and there is no default document to load, therefore, the web server would normally show you the contents of the folder if directory browsing is enabled


For example, if you access www.mydomain.com/folder/, your web server is going to try to find one of the default documents you specficied in that folder such as default.html, index.htm, default.aspx, etc... If one of those files do not exist and directory browsing is not enabled, you will get this error.

Edited by JorgeM


um that solution does not work....this happens only with the masterpage.master


please somebody help...........it totally feels down to have problem before even starting a project

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.