2009-05-06 17 views
0

を示しています。究極のVistaを実行しているマシンで http://msdn.microsoft.com/en-us/library/879kf95c(VS.80).aspxASP.NET Webサイト管理ツールの[セキュリティ]タブには、私はこのチュートリアルを以下のよエラー1802

、私がインストールされている:

  • SQLをIIS Server Express 2005
  • Visual Studio 2005

I crea新しいウェブサイトを作成しました。私はhttp://127.0.0.1 で確認できますが、ログインを作成してユーザーのメンバーシップを取得する方法を学びたいと思います。

私はチュートリアルのステップに到達すると:

To create a membership user

  1. On the Website menu, click ASP.NET Configuration.
  2. Select the Security tab, ...

私はこのエラーを取得する:

There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.

The following message may help in diagnosing the problem: An error occurred during the execution of the SQL file 'InstallCommon.sql'. The SQL error number is 1802 and the SqlException message is: CREATE DATABASE failed. Some file names listed could not be created. Check related errors. CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'C:\INETPUB\WWWROOT\MEMBERSHIP\APP_DATA\ASPNETDB_TMP.MDF'. Creating the ASPNETDB_9b571c52c35b447ab7947888fa99b6b8 database...

なぜ?私は管理者としてVisual Studioを実行しています。 (「管理者として実行」オプションを右クリックします)。

答えて

1

OKです、それに固定するもの:

  • は、パネルを制御するために行ってきました

    1) - >プログラムと機能 - > Windowsの機能を有効または無効にします。 >管理ツール - - >インターネットインフォメーションサービス(IIS)

screencap http://i44.tinypic.com/20pop1.png

2)

  • 私はパネルを制御するために行ってきました。ここでは、 "Windows認証" にチェック

  • マネージャー

  • マイウェブを選択左のツリーのアプリ。 IIS

  • 有効 "Windows認証"

0

多分C:\のinetpub \ wwwrootの会員\ \ App_Dataに\読み取り専用で、ここで

+0

フォルダのアクセス許可を確認したところ、フルコントロールのアカウント(「ネットワークシステム」など)がいくつかありました。たぶんアカウントの一部が欠落している可能しかし、それは最後に何もしなかった。 – rec

関連する問題