3
回答
一个在Cenost下跑ASP.net+Mysql+nginx的问题
终于搞明白,存储TCO原来是这样算的>>>   

我在Centos下搭建了一个Nginx+mono+Mysql的环境来做ASP.net的服务器。没有连接Mysql的页面访问正常,而连接Mysql的页面就出现了“Server Error  in '/' Application”的错误,数据库的密码没错,连Mysql是引用了MySql.Data.dll文件。错误内容如下:

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>

请问一下各位高手们这是什么问题。

举报
xiongruijun
发帖于7年前 3回/1K+阅
顶部