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.
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.先打开IE选项.然后删除Cookeis.和文件.再然后点IE选项里的程序选项..点重置Web设置就可以了哦
2.如果本机IIS测试通过就是服务器权限问题
3.解决方法:
出现此类错误时,请您修改站点配置文件web.config,也就是在web.config文件里创建一个 <customErrors > 标记。然后应将此 <customErrors > 标记的“mode”属性设置为“Off”(请您注意是“Off”,不是“off”,大写的“O”,否则也不会出来错误信息),这样就可以出来错误具体信息。(推荐您更改web.config文件, 因为这种问题往往是客户端程序问题)
4.解决办法:把C:Inetpubwwwroot中的aspnet_client文件夹传到了站点根目录。这个文件夹里面的.js文件是验证函数,关键部分啊!
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/feifeiyaqi3/archive/2007/10/25/1843544.aspx
另:
我这个问题解决了。
方法:我登陆服务器,打开IIS,选中IIS站点名---属性----ASPNET-----ASPNET VERSION 中把1.0 改为2.0然后在远程进入访问网站就可以正常访问了。
石家庄网站建设的优点:我们是专属定制,制作符合您公司业务、风格的网站,这就做到给您制作的网站是网络上独一无二的网站,这样更有利于搜索引擎的收录。如果您喜欢网络上某个风格的网站或者网站模板,我们是只仿制而不直接套用,我们会对其中的结构和样式做增减优化,做…
竞价排名营销是一种通过 竞价购买搜索引擎中关键词或关键短语的广告方式。竞价排名营销分为两种类型。 第一种,直接为真正的搜索引擎结果的排名付费,也就是说付的钱越多,网页所获得的排名名也就越高。 第二种则更类似于普通的广告。这种竞价排名营销方式通过…
网站优化对网站来说是非常重要的,直接决定和影响着网站所起到的作用,以及在各个地方当中的排名。在进行seo优化的过程中,我们必须要坚持一定的原则,真正的把这些事情做得更好,才可以确保最终的结果,这对于我们来说是非常重要的事。 SEO优化主要分为8小步: …