上传看不到主页啊???web.config vb+asp.net
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
...全文
相关推荐
VB.NET Web程序开发
**ASP.NET配置**:Web.config文件是ASP.NET应用程序的配置中心,包含应用程序设置、安全策略、连接字符串等。开发者需要了解如何配置这些设置以适应不同的部署环境。7.
在vb.net (asp.net)中后台引用ajax函数的方法
接下来是配置Web.config文件,这是步骤S2。`<httpHandlers>`和`<handlers>`节点是ASP.NET用来注册处理程序的地方。
asp.net中的web.config认识
默认情况下,当创建一个新的VB.NET Web应用程序时,会自动生成一个基础的Web.config文件,其中包含了默认的配置设置。
asp.net调用扫描仪扫描数据并上传代码
**web.config**:这是ASP.NET应用程序的配置文件,包含了应用程序的设置,如数据库连接字符串、安全配置、HTTP模块等。在这个场景中,可能会有与扫描控件相关的配置项。7.
详解ASP.NET配置文件Web.config
"本文详细介绍了ASP.NET配置文件Web.config的用途、结构和常见配置项,包括身份验证和授权的设置。"ASP.NET配置文件Web.config是ASP.NET Web应用程序的核心配置


