Server Error in '/info' 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>
 
上传到服务器就发生这种错误了。在本机可以正常运行。服务器上的其他程序也可以正常运行

解决方案 »

  1.   

    在Web.Config 中如下设置: 
    <system.web>
            <customErrors mode="Off"/>
        </system.web>
    然后再传上去,然后将提示信息贴出来.这样才看得出来是什么问题
      

  2.   

    <configuration>
        <system.web>
            <customErrors default="/mycustompage.htm" mode="RemoteOnly">
                <error statusCode="404" redirect="/xxx.htm"/>
                <error statusCode="500" redirect="/yyy.htm"/>
            </customErrors>
        </System.web>
    </configuration>
      

  3.   

    defaultRedirect="mycustompage.htm"文件不存在!!!<system.web>
            <customErrors mode="Off"/>
        </system.web>
      

  4.   

    在Web.Config 中如下设置: 
    <system.web>
            <customErrors mode="Off"/>
        </system.web>
    然后再传上去,然后将提示信息贴出来.这样才看得出来是什么问题
      

  5.   

    是不是一个解决方案中,有两个项目文件?
    如果是的话,让管理员建一个虚拟目录info(在域名对应的虚拟目录中建立),对应到http://domain.com/另一项目目录名。
      

  6.   

    大家都说把mode="Off"改为Off,但我想问一句,如果在你本地是正常的,也就是说没有任何错误,上传到SERVER上才出错,而这时我们又看不到错误提示,试问大家这是不是服务器的配置问题(因为自己的代码没有任何问题,很确信,比如考虑了数据PATH,encode,等)~~
    怎么大家回答这问题都没有令人满意的呀~,晕ING
      

  7.   

    可能是你没有操作的权限:
    右键文件夹>>属性>>安全>>添加帐号IUSR_你的计算机名>>允许写入>>ok
      

  8.   

    这个提示只是说如果要看到出错信息,要把customErrors mode="Off"
    出错原因多了
    只有可能是数据库连接不上