estuffs
03-19-2009, 08:28 PM
Hi, new to YAF, trying to install to my localhost (http://localhost/store/forum/) but cant figure out where to put the dbconn string in the web.config. Anyone installed YAF and can help me out?
I grabbed the same configuration string from my root web.config...
<add key="DBConn" value="data source=JASONXP\SQLEXPRESS;initial catalog=store;user id=JASONXP\ASPNET;password=xxxxx;integrated security=SSPI;persist security info=True;packet size=4096" />
where exactly do I put this text?
---ORIGINAL---
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="yafnet" type="yaf.SectionHandler,yaf"/>
<section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterCo nfigurationSectionHandler, Intelligencia.UrlRewriter" />
</configSections>
<yafnet configSource="yafnet.config"/>
<rewriter configSource="urlrewriter.config"/>
<system.web>
<httpModules>
<add type="Intelligencia.UrlRewriter.RewriterHttpModule,Intel ligencia.UrlRewriter" name="UrlRewriter" />
</httpModules>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<compilation defaultLanguage="c#" debug="false"/>
<pages enableEventValidation="false" validateRequest="false" smartNavigation="false"/>
<authentication mode="Forms">
<forms name=".YAFNET_Authentication" timeout="525600" />
</authentication>
<customErrors defaultRedirect="error.aspx" mode="RemoteOnly"/>
<!--trace enabled="true" pageOutput="true"/-->
<xhtmlConformance mode="Legacy"/></system.web>
</configuration>
I grabbed the same configuration string from my root web.config...
<add key="DBConn" value="data source=JASONXP\SQLEXPRESS;initial catalog=store;user id=JASONXP\ASPNET;password=xxxxx;integrated security=SSPI;persist security info=True;packet size=4096" />
where exactly do I put this text?
---ORIGINAL---
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="yafnet" type="yaf.SectionHandler,yaf"/>
<section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterCo nfigurationSectionHandler, Intelligencia.UrlRewriter" />
</configSections>
<yafnet configSource="yafnet.config"/>
<rewriter configSource="urlrewriter.config"/>
<system.web>
<httpModules>
<add type="Intelligencia.UrlRewriter.RewriterHttpModule,Intel ligencia.UrlRewriter" name="UrlRewriter" />
</httpModules>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<compilation defaultLanguage="c#" debug="false"/>
<pages enableEventValidation="false" validateRequest="false" smartNavigation="false"/>
<authentication mode="Forms">
<forms name=".YAFNET_Authentication" timeout="525600" />
</authentication>
<customErrors defaultRedirect="error.aspx" mode="RemoteOnly"/>
<!--trace enabled="true" pageOutput="true"/-->
<xhtmlConformance mode="Legacy"/></system.web>
</configuration>