I am new to asp.net.
when i place login control on the form, it auto-generates a databasefile named as "aspnedb.mdf" , then i wana copy all these roles and table from it to my custom db e.g ("inventorydb"), i run the aspnet_regsql file, and attached my shown my correct target database e.g(inventorydb) but when i run the login for it gives me the error
"An attempt to attach an auto-named database for file "c:\dbfiles\inventorydb.mdf".
what to do with this problems, any concrete solution.
thx in advance
Loading
Pravin GhadgePosted Dec 23, 2011, 1:15 AM
Do some setting in sql server:
1)Go To Start->All programs
2)Microsoft Sql server 2008/2005
3)Configuration tools
4)Sql server configuration manager.
5)In Sql server 2008 Services->Click on Sql Server Express.
6)Right click on it ->Go to properties->Select Local System as Built in Account.
7)Click on Restart button
8)Apply & OK
It may help u