# ASP.net/SQL newbie Question

**URL:** <https://forum.kirupa.com/t/asp-net-sql-newbie-question/214772>\
**Category:** programming\
**Created:** [January 31, 2007, 9:57pm UTC](https://forum.kirupa.com/t/asp-net-sql-newbie-question/214772 "2007-01-31T21:57:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Planker](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/planker/32/3239_2.png) [@Planker](https://forum.kirupa.com/u/Planker)\
**Post date:** [January 31, 2007, 9:57pm UTC](https://forum.kirupa.com/t/asp-net-sql-newbie-question/214772/1 "2007-01-31T21:57:42Z")

</div>

I followed the article here [http://www.kirupa.com/net/sql\_asp\_introduction.htm](http://www.kirupa.com/net/sql_asp_introduction.htm)

everything compiles ok but when it get to opening the database I get error message  
**[SIZE=2]An attempt to attach an auto-named database for file C:\Path\Games.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share[/SIZE]**

I do not have any other databases with the same name and it is on the C drive so leads me to believe for some reason it can not open the database.

could someone please help me with this.  
Thanks
