求解一个 .net 工程环境的错误提示
我做好的一个系统,在本地机子上运行正常,用VS。NET开发的,可放到另外的机子上,装了IIS和FRAMWORK,运行的时候就出现下面的问题,请问什么怎么回事啊,怎么样解决这么个问题?
Server Error in '/hb' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 44: by Microsoft that offers a single logon and core profile services for member sites.
Line 45: -->
Line 46: <authentication mode="Forms" />
Line 47:
Line 48: <!-- AUTHORIZATION
Source File: D:\hb\cy\cy\web.config Line: 46
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
问题点数:0、回复次数:6Top
1 楼hb9723(空古)回复于 2005-06-04 13:49:44 得分 0
大家应该遇到过这样的问题吧,以前把一个工程从一台机子上转到另一台机子上,同样的都装了VS.NET,也会出现一些错误。请问,这样的问题应该怎么样解决~~Top
2 楼LaoDai_Net(『老代』)回复于 2005-06-04 14:10:47 得分 0
没有设置虚拟目录
can be caused by a virtual directory not being configured as an application in IIS.
设置虚拟目录 hb 就可以了Top
3 楼hb9723(空古)回复于 2005-06-04 22:53:57 得分 0
我设置了虚拟目录 hb ,而且是把工程文件夹放在hb文件夹下的,这和我在原来机子上的路径一样的,可问题还是没有解决,仍然和上面的一样。我的工程文件夹里面,有一些.css和图片文件,我没有在工程里面添加,而是直接放到用到它们的位置,这样会不会有什么影响呢?
Top
4 楼yj0867()回复于 2005-06-04 23:25:45 得分 0
WEB站点的端口号和原来一样吗?IIS里有几个WEB站点?Top
5 楼hb9723(空古)回复于 2005-06-05 00:02:03 得分 0
请问怎么样设置WEB站点的端口号啊?
IIS里面有5个WEB站点,这有什么影响吗?Top
6 楼hb9723(空古)回复于 2005-06-05 13:45:21 得分 0
顶一下~~Top
相关问题
- 800a000d错误,求解!
- 求解CS1501错误?
- 急求解答:.NET中的一个错误信息
- 高分求解:win2000 server +.net运行环境运行System.Management.dll错误
- 100分求解,如何在用VC解析XML时,提示的错误信息为"中文"?
- 100分求解:XP系统装office 2003时老出现日志错误提示,无法安装!
- Windows xp 安装完成后; 新加一个硬件, 提示错误信息, 求解!
- 50分求解eclipse+hibernate 为什么运行总提示 Attribute "package" must be declared for element type "hibernate-mapping".错误
- 100分求解:我用的jmail组件,每次发送,也没提示错误,但总是收不到邮件。
- 关于DataGird更新时,出现"输入字符串的格式不正确"错误提示,求解!




