Hi,
I have a web.config file that contains <httpHandlers> section that causes
"cannot load file..." error. If I delete this section, it is OK. Why did
vb.net add this section? It does not add this section now. Thank you.
<!-- PREVENT SOURCE CODE DOWNLOAD
This section sets the types of files that will not be downloaded.
As well as entering
a httphandler for a file type, you must also associate that file
type with the xspisapi.dll
in the App Mappings property of the web site, or the file can be
downloaded.
It is recommended that you use this section to prevent your
sources being downloaded.
-->
<httpHandlers>
<add verb="*" path="*.vb"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.cs"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.vbproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.csproj"
type="System.Web.HttpNotFoundHandler,System.Web" />
<add verb="*" path="*.webinfo"
type="System.Web.HttpNotFoundHandler,System.Web" />
</httpHandlers>
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>
</configuration>
Chris