CREATE DATABASE failed. Some file names listed
could not be created. Check related errors. Cannot create file (LOCAL PATH )~\APP_DATA\ASPNETDB_TMP.MDF' because it already
exists. Change the file path or the file name, and retry the operation.
Creating the ASPNETDB_0c17d2f83a3442998eb794c39ccbcd91 database...
this error is created when webparts added to the application..can anybody give me the solution for that...
Webparts not working
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Bechir BejaouiRank #144 · 15.9K reputationPosted Sep 11, 2010, 3:15 AM EDT
When you created a web part within your application then asp automatically create a database that holds infomation related to the user interraction with those web part. This data base is named ASPNETDB and it is created for at the first time you compile the page that holds the webpart so try do not use this data base name. To verify that you can open the SSMS and check the already existed data bases.
Mittal Joshi34 reputationPosted Sep 12, 2010, 10:09 PM EDT
Bechir BejaouiRank #144 · 15.9K reputationPosted Sep 13, 2010, 3:03 AM EDT