首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

天 如何会出现这种有关问题?清高手赐教

2012-01-20 
天 怎么会出现这种问题???清高手赐教我用C#在。NET平台上作的在自己的机上还可以运行什么HTTP://HOST。。。。。

天 怎么会出现这种问题???清高手赐教
我用C#在。NET平台上作的   在自己的机上还可以运行什么HTTP://HOST。。。。。   可是传到服务器上为什么就不行了呢
错误如下
Server   Error   in   '/ '   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   37:                         它为成员站点提供单独登录和核心配置文件服务。
Line   38:           -->
Line   39:           <authentication   mode= "Forms "   />  
Line   40:  
Line   41:  
 

Source   File:   D:\hosting\users\s000205\chinese\exam\web.config         Line:   39  


--------------------------------------------
Version   Information:   Microsoft   .NET   Framework   Version:1.1.4322.2032;   ASP.NET   Version:1.1.4322.2032  

请高手帮忙


[解决办法]
那就有可能是服务器设置方面的原因了:
1.服务器上面有没有装net框架,用没有注册iis(aspnet_regiis -i)?
2. 程序的目录(你的是exam)有没有设置成网站虚拟目录?
3.iis的asp.net服务有没有开启?
...(还有)

热点排行