Andrei Fomenko
2006-02-08 19:41:30 UTC
web.config выдаёт ошибкy:
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
Кyда класть? этy самyю: allowDefinition='MachineToApplication'
_---===[ Windows Clipboard ]===---_
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="yafnet" type="yaf.SectionHandler,yaf" />
</configSections>
<yafnet>
<connstr>user id=yaf;pwd=yafpass;data source=(local);initial
<connstr>catalog=yafnet_huge;timeout=90</connstr>
<uploaddir>/upload/</uploaddir>
<!--logtomail>email=;server=;user=;pass=;</logtomail-->
<boardid>1</boardid>
<!--categoryid>1</categoryid-->
</yafnet>
<system.web>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<compilation defaultLanguage="c#" debug="true"/>
<pages validateRequest="false" smartNavigation="false"/>
<authentication mode="Forms">
<forms name="yafdotnet" slidingExpiration="true"/>
</authentication>
<customErrors defaultRedirect="error.aspx" mode="RemoteOnly"/>
<!--trace enabled="true" pageOutput="true"/-->
</system.web>
</configuration>
_---===[ Windows Clipboard ]===---_
До свиданья, All!
[АмГУ/ФСH] [UpTime: 2:37:38]
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
Кyда класть? этy самyю: allowDefinition='MachineToApplication'
_---===[ Windows Clipboard ]===---_
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="yafnet" type="yaf.SectionHandler,yaf" />
</configSections>
<yafnet>
<connstr>user id=yaf;pwd=yafpass;data source=(local);initial
<connstr>catalog=yafnet_huge;timeout=90</connstr>
<uploaddir>/upload/</uploaddir>
<!--logtomail>email=;server=;user=;pass=;</logtomail-->
<boardid>1</boardid>
<!--categoryid>1</categoryid-->
</yafnet>
<system.web>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<compilation defaultLanguage="c#" debug="true"/>
<pages validateRequest="false" smartNavigation="false"/>
<authentication mode="Forms">
<forms name="yafdotnet" slidingExpiration="true"/>
</authentication>
<customErrors defaultRedirect="error.aspx" mode="RemoteOnly"/>
<!--trace enabled="true" pageOutput="true"/-->
</system.web>
</configuration>
_---===[ Windows Clipboard ]===---_
До свиданья, All!
[АмГУ/ФСH] [UpTime: 2:37:38]