フォーム認証が必要なディレクトリに Web サービス (asmx ファイル) があります。
VS2005 を介して WebReference を追加しようとすると、次のエラーが表示されます。
The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/webchat/login.aspx?ReturnUrl=%2fwebchat%WebService.asmx">here</a>.</h2>
</body></html>
そのディレクトリの web.config を削除すると (そして基本的にフォーム認証の要件を削除すると)、すべて正常に動作します。WebReference を追加できます。
何か案が?