如何使用filezilla发布aspx文件 [英] How can I publish aspx files using filezilla

查看:96
本文介绍了如何使用filezilla发布aspx文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为我的网站上传了.aspx文件,但我无法在浏览器中看到。

将问题视为

I have uploaded the .aspx files for my website, but i am not able to see in browser.
Getting the issue as

Server Error in '/' Application.

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>





请让我知道如何解决这个问题。



我尝试过:





Please let me know how to fix this.

What I have tried:

I have uploaded the .aspx files for my website, but i am not able to see in browser.

推荐答案

如果您阅读错误消息,您会看到没有我们知道如何解决它的方式。它字面上说它只会在您从服务器本身浏览时显示错误消息。因此,由于我们无法看到错误消息,我们怎么知道如何解决它?



要么执行它所说的内容,要么在事件查看器中查找错误消息,修复错误。
If you read the error message you'll see that there is no way for us to know how to fix it. It literally says it will only show the error message if you browse from the server itself. So, since we cannot see the error message how can we know how to fix it?

Either do what it says or look in the event viewer for the error message and the fix the error.


这篇关于如何使用filezilla发布aspx文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆