如何使用Asp.Net成员身份连接到服务器 [英] How Can I Connect To Server Using Asp.Net Membership
本文介绍了如何使用Asp.Net成员身份连接到服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我正在使用asp.net会员资格创建一个应用程序。自动创建的数据库使用mdf扩展名,即在SQLExpress中创建。但我需要在服务器中创建它,即使用dbo扩展。请帮帮我。
解决方案
您可以使用aspnet_regsql工具创建ASP.NET成员资格所需的表格。
因此,在运行UI工具时,选择Datasource作为Microsoft SQL Server而不是Microsoft SQL Server Compact。
希望这会对您有所帮助
Hi I am creating an application using asp.net membership. The database which is automatically created is with mdf extension, that is it is created in SQLExpress. But I need it to be created in Server, that is with dbo extension. Please help me in this.
解决方案
You can create the tables required for ASP.NET membership using aspnet_regsql tool.
So while running the UI tool, select the Datasource as "Microsoft SQL Server" instead of "Microsoft SQL Server Compact".
Hope this will help you.
这篇关于如何使用Asp.Net成员身份连接到服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文