新しいブランチに取り組んでいる ASP.NET MVC3 Razor プロジェクトの web.config でエラーが発生します。
The connection name 'ApplicationServices' was not found in the
applications configuration or the connection string is empty.
この特定のエラーで:
Line 34: <providers>
Line 35: <clear/>
Line 36: <add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="ApplicationServices"
enablePasswordRetrieval="false" enablePasswordReset="true"
requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
applicationName="/"/>
Line 37: </providers>
Line 38: </membership>
<connectionStrings>
web.config のセクションに、 のエントリがありませんApplicationServices
。ただし、web.config を動作していた以前のバージョンと比較しましたが、webconfig のこの部分はまったく変更されていません。私のトランクにも同じ行があります。
私は<connectionStrings>
セクションを見てきましたが、このブランチと作業中のトランクの間で何も変わっていません。したがって、これは、このエラーをトリガーするために接続名が削除されなかったことを意味します。
この行のエラーが表示されているプロジェクトで変更したものが他にあるかどうか疑問に思っています。しかし、それが何であるかはわかりません。何か案は?