我在本地已经做好了一个asp.net的网站,我现在想把网站上线,请问大家我要发布asp.net的网站是否可以像asp网站一样把我的源代码文件上传到FTP空间里去就行了呢?还是要用VS2008里的发布工具进行发布编译再上传到FTP?
解决方案 »
- 一个关于编程的题目,可以使用任意编程语言(C、JAVA、C#、Delphi、VB等)
- 虚拟主机被攻击 【首页被篡改】 和增加了一个静态文件问题
- Page.RegisterStartupScript与response.write
- AJAX.NET中的UpdatePanel问题
- 不断刷新页面,内存就不断增长,怎么解决?
- ******js时间效果*************
- ASP.NET创建项目问题
- system32\inesrv下的metabase.xml中的ASPMaxRequestEntityAllowed 找不到
- ajax做的聊天室放一起就没反映了
- 请给推荐一种合适的设计模式来重构
- 做过支付宝接口退款的请进
- 请问添加一个ERROR.xml文件来定义错误,这样好吗?
--------------------------------------------------------------------------------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>