I
m trying to access default membership database. Because i have added 3 more table. I
m doing this by using entity framework. But it isn`t displaying database name. I want a single database in my project.我试图访问默认会员数据库。因为我已经添加了3个表。我这样做是通过使用实体框架。但它没有显示数据库名称。我想在我的项目中使用一个数据库。
3 个解决方案
#1
1
Are you connecting to the ApplicationServices database in your project's App_Data folder?
您是否在项目的App_Data文件夹中连接到ApplicationServices数据库?
Or did you create the ApplicationServices database on a genuine SQL Server instance?
或者您是否在正版SQL Server实例上创建ApplicationServices数据库?
In any event:
在任何情况下:
- This link can help: http://www.misfitgeek.com/adding-asp-net-membership-to-your-own-database/
- 此链接可以提供帮助:http://www.misfitgeek.com/adding-asp-net-membership-to-your-own-database/
- As always, the connection string will definitively tell you where your database is located.
- 与往常一样,连接字符串将明确告诉您数据库的位置。
#2
0
After you run your project for first time, just go to the App_Data
Folder and there you can see the database file. Remember to do the following before it:
在第一次运行项目后,只需转到App_Data文件夹,就可以看到数据库文件。请记住在此之前执行以下操作:
You can access by double clicking it..
您可以通过双击访问..
#3
0
I'm not sure I understood the question completely ... But Install SQL SERVER MANAGEMENT STUDIO . The best official programm for microsoft to connect ,show,edit and update your databases ;-)
我不确定我完全理解这个问题......但是安装SQL SERVER MANAGEMENT STUDIO。微软连接,显示,编辑和更新数据库的最佳官方程序;-)
You can through this program have a better visibilitée installed bases. Otherwise you can simply querying with the console manually using the prefix "USE [aspnet_nameTable] ..."
你可以通过这个程序有一个更好的visibilitée安装基地。否则,您只需使用前缀“USE [aspnet_nameTable] ...”手动查询控制台即可。
sample:
样品:
USE [dbo].[aspnet_users]
CREATE DATABASE blablobli......
OR you can attach the local database in SQL MANAGEMENT STUDIO
或者您可以在SQL MANAGEMENT STUDIO中附加本地数据库
#1
1
Are you connecting to the ApplicationServices database in your project's App_Data folder?
您是否在项目的App_Data文件夹中连接到ApplicationServices数据库?
Or did you create the ApplicationServices database on a genuine SQL Server instance?
或者您是否在正版SQL Server实例上创建ApplicationServices数据库?
In any event:
在任何情况下:
- This link can help: http://www.misfitgeek.com/adding-asp-net-membership-to-your-own-database/
- 此链接可以提供帮助:http://www.misfitgeek.com/adding-asp-net-membership-to-your-own-database/
- As always, the connection string will definitively tell you where your database is located.
- 与往常一样,连接字符串将明确告诉您数据库的位置。
#2
0
After you run your project for first time, just go to the App_Data
Folder and there you can see the database file. Remember to do the following before it:
在第一次运行项目后,只需转到App_Data文件夹,就可以看到数据库文件。请记住在此之前执行以下操作:
You can access by double clicking it..
您可以通过双击访问..
#3
0
I'm not sure I understood the question completely ... But Install SQL SERVER MANAGEMENT STUDIO . The best official programm for microsoft to connect ,show,edit and update your databases ;-)
我不确定我完全理解这个问题......但是安装SQL SERVER MANAGEMENT STUDIO。微软连接,显示,编辑和更新数据库的最佳官方程序;-)
You can through this program have a better visibilitée installed bases. Otherwise you can simply querying with the console manually using the prefix "USE [aspnet_nameTable] ..."
你可以通过这个程序有一个更好的visibilitée安装基地。否则,您只需使用前缀“USE [aspnet_nameTable] ...”手动查询控制台即可。
sample:
样品:
USE [dbo].[aspnet_users]
CREATE DATABASE blablobli......
OR you can attach the local database in SQL MANAGEMENT STUDIO
或者您可以在SQL MANAGEMENT STUDIO中附加本地数据库