Edison
Edison

Reputation: 4281

aspnetdb.mdf file is not getting created?

I have VS2012 and I'm creating a website application in ASP.NET using C#. I want to use VS2012 built in membership and role tool to create users and roles.

Problem is that ASPNETDB.mdf database is not getting created in App_Data folder when I launch ASP.net configuration utlility. Moreover there is no refresh utility when I right click on my solution explorer?

My SQL Server 2008 and IIS are on another machine.

How to resolve this issue?

Upvotes: 1

Views: 1116

Answers (1)

marc_s
marc_s

Reputation: 754220

You need to either create the database and tables yourself using SQL scripts that Microsoft provides - or use the aspnet_regsql.exe utility in your ASP.NET folder to create those objects for you (in whichever database you choose to create them in).

Upvotes: 1

Related Questions