日期:2014-05-17  浏览次数:20489 次

定时器
<asp:ScriptManager ID="ScriptManager1" runat="server">
  </asp:ScriptManager>
  <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
  <ContentTemplate>
  <asp:Timer ID="Timer1" runat="server" Enabled="true" Interval="10" ontick="Timer1_Tick">
  </asp:Timer><br />



《----数据展示--》


  </ContentTemplate>
  </asp:UpdatePanel>

在vs2008中可以正常展示数据,但放服务器上就不行,

服务器之前提示:"System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到指定的文件。
我把System.Web.Extensions.Design.DLL,System.Web.Extensions.DLL两个dll放bin文件夹里

又提示:

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>
 
但<customErrors mode="Off"/>已经改了啊



帮忙看看吧

 

------解决方案--------------------
服务器没有安装AJAX
------解决方案--------------------
服务器需要安装.net framework 3.5 sp1
------解决方案--------------------
建议到jquery吧,服务器控件太臃肿了
------解决方案--------------------
他是让你使用jquery
------解决方案--------------------
安装 AJAX EXTENSIONS 1.0
------解决方案--------------------
参考这篇文章处理

http://www.cnblogs.com/wangzhq/archive/2006/11/28/574781.html
------解决方案--------------------
貌似网上这个问题很多~~


亦可参考这篇文章 感觉比较全http://bettersun.iteye.com/blog/579997
------解决方案--------------------
服务器需要安装.net framework 3.5 sp1
------解决方案--------------------
检查下你本地引用的dll版本服务器端是否都存在并版本一致
iis中的asp.net版本是否一致?