rmcbride@rama.com
2009-09-29T02:24:10Z
Hi all

I am working through the upgrade to 1.9.4. I see the following three lines in the web.config.
<connectionStrings configSource="db.config"/>
<appSettings configSource="app.config"/>
<rewriter configSource="URLRewriter.config" />

In my web.config I have other elements for each of those areas as follows.
<appSettings>
<add key="ComponentArtScriptControls" value="PerControl"/>
<add key="YAF.ConfigPassword" value="yafconfig"/>
</appSettings>
<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="MyName" connectionString="Server=.\sqlexpress;Database=db;User ID=user;Password=pwd"/>
<add name="MyOtherName" connectionString="Server=.\sqlexpress;Database=anotherdb;User ID=user;Password=pwd"/>
</connectionStrings>

What is the correct way to merge these lines?

Thanks

Richard
Sponsor
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2009-09-29T02:27:23Z
Put everything in your web.config... and just put the sections together.

app.config settings get copied into your <appSettings></appSettings> section of your web.config, etc.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved