日期:2014-05-19  浏览次数:20518 次

请教个iis的配置的问题
将某站的代码放在某目录下,也建立虚拟目录了,可是就是不能用浏览器打开!
所有的代码都是下面错误,我想应该是配置问题,请高人指教~~


Server   Error   in   '/ovwatch7.0 '   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   312:                     "Passport "   Authentication   is   performed   via   a   centralized   authentication   service   provided
Line   313:                       by   Microsoft   that   offers   a   single   logon   and   core   profile   services   for   member   sites.         -->
Line   314: <authentication   mode= "Forms ">
Line   315: <forms   name= "ASPDNSFGUID "   loginUrl= "SignIn.aspx "   timeout= "525600 "/>
Line   316: </authentication>
 

Source   File:   C:\Worker\OVWatch\web\web.config         Line:   314  


Show   Additional   Configuration   Errors:


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.   (C:\Worker\OVWatch\web\web.config   line   340)
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.   (C:\Worker\OVWatch\web\web.config   line   343)
                                           
 


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

------解决方案--------------------
up
------解决方案--------------------