I get an error dialog when I try to create a new SQL database, both via the Add New Item dialog and the property wizard of a new SqlDataSource control. The error is:
Local Database File:
User does not have permission to perform this action.
I've searched for help with this.
- I ensured the App_Data folder exists and I added the local ASP.NET account to the group that have R/W access to it (although the RO flag is in an unchangeable tri-state on the folder).
- The SQL Server Express error log is clean and indicates full functionality.
- Everything is running locally.
- No VWD installation errors.
Any ideas
Thank you!

Error creating first SQL Express database via VWD 2005 Express: "User does not have permission to perform this action"
mrdolby
VWD creates your database using a User Instance is your User Profile, it almost sounds like something is wrong with your profile. Let's start by seeing if SQL Express is working as expected, do the following:
Let me know what happens, hopefully it will succeed. If it does, then SQL Express is working as expected in the parent instance and it's likely that something is messed up about your profile or the permissions in your profile directory.
Regards,
Mike Wachal
SQL Express team
Ajeeth Kumar
Hi Mike,
Thanks, we found the problem. Our Local Security Policy GPOs were preventing ASPNET from "Log on as a service". I was able to get a generic VWD install to run perfectly within a Virtual PC session.
VWD is great--it's like my familiar IIS, Access, and FrontPage apps all rolled into a cohesive, integrated IDE--I'm loving VWD! I'm also pleased that our GPOs are working as designed, and that VPC (another utility Microsoft is giving away free) solves this (and other) problems in such an effective way.
Thanks!
A Satisfied Customer
(John Kirkwood
Canada IT
PricewaterhouseCoopers)