- Visual Studio 2010 终极版
- 微软 SQL 服务器 2008
- 默认 .NET SqlMembershipProvider(aspnet_Users、aspnet_Memmbership 等...)
我建立了一个数据库项目,以保持数据库在环境之间同步并保持版本化。该数据库有一些我创建的简单表,然后是运行该aspnet_regsql.exe
工具时获得的 SqlMembership 提供程序的默认安装。我执行了从数据库到数据库项目的模式比较,VS 生成了所有脚本。伟大的。
但是,我收到了一堆错误,这些错误会破坏有关该aspnet_regsql
工具创建的某些对象的构建。
Schema: [aspnet_WebEvent_FullAccess] has an unresolved reference to object [aspnet_WebEvent_FullAccess].
Schema: [aspnet_Membership_BasicAccess] has an unresolved reference to object [aspnet_Membership_BasicAccess].
Schema: [aspnet_Membership_FullAccess] has an unresolved reference to object [aspnet_Membership_FullAccess].
Schema: [aspnet_Membership_ReportingAccess] has an unresolved reference to object [aspnet_Membership_ReportingAccess].
Schema: [aspnet_Personalization_BasicAccess] has an unresolved reference to object [aspnet_Personalization_BasicAccess].
Schema: [aspnet_Personalization_FullAccess] has an unresolved reference to object [aspnet_Personalization_FullAccess].
Schema: [aspnet_Personalization_ReportingAccess] has an unresolved reference to object [aspnet_Personalization_ReportingAccess].
Schema: [aspnet_Profile_BasicAccess] has an unresolved reference to object [aspnet_Profile_BasicAccess].
Schema: [aspnet_Profile_FullAccess] has an unresolved reference to object [aspnet_Profile_FullAccess].
Schema: [aspnet_Profile_ReportingAccess] has an unresolved reference to object [aspnet_Profile_ReportingAccess].
Schema: [aspnet_Roles_BasicAccess] has an unresolved reference to object [aspnet_Roles_BasicAccess].
Schema: [aspnet_Roles_FullAccess] has an unresolved reference to object [aspnet_Roles_FullAccess].
Schema: [aspnet_Roles_ReportingAccess] has an unresolved reference to object [aspnet_Roles_ReportingAccess].
在我看来,它们都非常循环。如何摆脱这些错误?如果我不能摆脱它们,我可以将它们从我的模式比较中排除吗?如何?
提前致谢!