Hi I am using sql server fulll edition.
any idea how should I solve this issue, I search on net but not found any helpful answer.
Thanks
User Instancing (which allows the automatic creation of databases from code) is not supported on the full version of SQL Server, only on the Express version.
The solution is to manually create the database in SQL Server and set the connection string to point to it. You will also need to run
aspnet_regsql.exemanually against the database if you will be using any of the new built-in database features of ASP.NET v2.0.
Ref.