一个在Cenost下跑ASP.net+Mysql+nginx的问题

xiongruijun 发布于 2010/11/02 13:51
阅读 2K+
收藏 1

我在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>

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

加载中
0
二两
二两

你把错误给开启  在打开看一下   asp.net 跑在linux下稳定性怎么样     

0
x
xiongruijun

引用来自#2楼“二两”的帖子

你把错误给开启  在打开看一下   asp.net 跑在linux下稳定性怎么样     

不是很懂你的意思

0
V
ValueChang
他的意思是稳定性,不怎么样!
返回顶部
顶部