Server Error in '/' Application. Database cannot be upgraded... ?

Server Error in '/' Application.

Database 'C:\INETPUB\DEMO.TRUTHSTONE.COM\APP_DATA\ASPNETDB.MDF' cannot be upgraded because it is read-only or has read-only files. Make the database or files writeable, and rerun recovery.
Cannot open user default database. Login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.


Huh? I have a clue that this may be something to do with setting up the ASP.NET permissions to the database or its folder. However, I have no clue on how to actually set this up.

Is this the problem or am I barking up the wrong tree?

[728 byte] By [mrwebster] at [2007-12-17]
# 1

Hi!

Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx?tabindex=1&tabid=39

Make sure that Network Service has Full access to the file ASPNETDB.MDF, if that doesn't get you going, try posting over in the ASP.NET forums.

HTH,

PEte

PeteL-MSFT at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 2
Hi Peter,

Thanks for the prompt reply. Apologies for "unmarking this one". Still have questions...

I am still a rookie, so I need more information on even the simple stuff.

Just how does one one "Make sure that Network Service has Full access to the file ASPNETDB.MDF"?

Which "Network Service"? (and what is meant my Network service?)
Which tool should I be using to do this?
Where can I find more information about the underlying principles / methodology?

MRW

PS I have posted this over in ASP.NET as well. I find this forum more responsive and easier to use. My threads makes the difference as I don't get any alerts from either.

mrwebster at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 3
Where is the thread over on the ASP.NET forums (please provide the link) and I'll make sure it gets answered over there!

PEte

PeteL-MSFT at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 4
Have a look at the following post, it goes through setting up your web server, it might help.

http://www.asp.net/faq/AspNetAndIIS6.aspx?tabindex=0&tabid=1

GlennWilson at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...