“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------配置错误 
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息: 在应用程序级别之外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。如果在 IIS 中没有将虚拟目录配置为应用程序,则可能导致此错误。源错误: 
行 76:          ? Cookie sessionState cookieless="true"
行 77:     -->
行 78:     <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
行 79: 
行 80:     <!--  ?
谢谢

解决方案 »

  1.   

    ? Cookie sessionState cookieless="true"这句删除掉
      

  2.   

    上面发的是出错提示.
     ? Cookie sessionState cookieless="true"
    这一句是属于注释部分的内容,
    我不明白下面的含义和用法
    sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="true" timeout="20"谢谢.
      

  3.   

    sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="true" timeout="20"这是系统默认的配置,SESSION为进程内的,不需要修改.
    这部分没错误,也许是其他地方与这里重复了