日期:2014-05-19  浏览次数:20421 次

奇怪问题,更新程序时候,只更新了bin目录下的 dll文件,其他页面的.aspx文件都没有更新,但是有一页面会出错。
碰到一问题,更新程序时候,只更新了bin目录下的   dll文件,其他页面的.aspx文件都没有更新,但是就有打开一页面的时候,就显示不出来,显示错误如下:(在更新以前都运行的没有问题的)


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.      

请问,这问题出来哪里呢?    


------解决方案--------------------
UP
------解决方案--------------------
把每个项目重新生成一下,如有问题就是你那个页面有问题了.
------解决方案--------------------
可能一个是release

一个是debug


------解决方案--------------------
感觉是页面属性设置,客户端打开这个页面的时候服务器端认为网页里面的一些内容不安全,好像只要在页面的头部多加个字段属性就可以了 <%@ Page language= "c# " ...... validateRequest= "false "%>
------解决方案--------------------
我也不大清楚,很奇怪的问题,感觉随机性很大,可能是服务器端的.net是2.0版本,而本地编译的版本是1.1版本