Installation error

Topics: Installing BugNET
Dec 2, 2013 at 12:54 PM
On installation I got error:

File BugNET.Data.SqlDataProvider.sql
Error Could not open new database 'C:\INETPUB\BUGNET\APP_DATA\DATABASE.MDF'. CREATE DATABASE is aborted. An attempt to attach an auto-named database for file C:\inetpub\bugnet\App_Data\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. File activation failure. The physical file name "C:\inetpub\bugnet\App_Data\Database_log.ldf" may be incorrect. The log cannot be rebuilt when the primary file is read-only.

Account NETWORK Service has Full Control on APP_DATA directory. I use SQL Express 2010 installation.
Coordinator
Dec 2, 2013 at 2:42 PM
In IIS, verify that the application pool identity is also NETWORK SERVICE.
Marked as answer by dubeaud on 12/2/2013 at 10:12 AM
Dec 2, 2013 at 4:59 PM
Thank you! It's work.