サンプルサイトを作りました。モデルとしてLinqを使用しています。IIS 5.1 で Web サイトをホストしようとしていますが、ログインしようとすると (IIS 5.1 経由でページにアクセスすると)、次のエラーが発生します。
Cannot open database "WCF" requested by the login. The login failed.Login failed for user .
WCF はデータベースの名前です。私の認証セクション web.config は
<authentication mode="Forms">
<forms loginUrl="Default2.aspx" timeout="2880" />
</authentication>
IISにあるセキュリティと認証の設定は
私の接続文字列は
<connectionStrings>
<add name="WCFConnectionString" connectionString="Data Source=localhost;Initial Catalog=WCF;Integrated Security=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
なぜそれが起こっているのですか?助けてください。