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>
在本地调试后没有任何问题,上传到虚拟主机就出现问题(上面的问题)
然后又改那个<customErrors mode="Off"/>
但是还是出现上面那的问题
--------------------------------------------------------------------------------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>
在本地调试后没有任何问题,上传到虚拟主机就出现问题(上面的问题)
然后又改那个<customErrors mode="Off"/>
但是还是出现上面那的问题
2.权限
3.检查路径
然后有可能是编码方式问题:打开Web.Config->文件->高级保存选项->Unicode (UTF-8) - 代码页 65001->确定
权限和路径的问题怎么解决啊?
<authorization>
<allow users="?">
允许所有人访问
能不能具体点啊?
如果你认为分不够的话可以在加
怎么加
具体点好不好??
设置一下IIS和配置文件的访问权限
不是服务器啊?
设置IIS是不是在虚拟主机主机上啊?
我的是.net2.0+sql2000+winXP+iis5.1的
我在webconfg中设置了
<authorization>
<allow users="?">
那么关于IIS在虚拟主机
上设置吗?在虚拟主机上需不需要安装.netframework啊?
那么怎么装了??
谢谢!!!