<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Security</title><link>http://forums.asp.net/25.aspx</link><description>All about ASP.NET security (authentication, authorization, membership, roles, etc.) and the Login controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=24&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Database Schema not compatible</title><link>http://forums.asp.net/thread/3240067.aspx</link><pubDate>Wed, 17 Jun 2009 14:35:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3240067</guid><dc:creator>pacman74</dc:creator><author>pacman74</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3240067.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3240067</wfw:commentRss><description>&lt;p&gt;I had this problem spent an entire day on it re-scripting the database my original feeling was the problem was missing data in table aspnet_SchemaVersions so I imported this data but it made no difference.&lt;/p&gt;
&lt;p&gt;Kept modifying the db all day sometimes it would work and other times not but never really made any sense when it started working.&lt;/p&gt;
&lt;p&gt;Finally realised you can change the data in aspnet_SchemaVersions but it wont make any difference until you restart world wide web publishing service. Not sure whether this is related to the fact my DB is also a session upgraded personalisation DB.&lt;/p&gt;</description></item><item><title>Re: Database Schema not compatible</title><link>http://forums.asp.net/thread/2363722.aspx</link><pubDate>Sat, 17 May 2008 10:25:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2363722</guid><dc:creator>st_</dc:creator><author>st_</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2363722.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=2363722</wfw:commentRss><description>&lt;p&gt;I had this issue but found an easy solution:&amp;nbsp;&lt;/p&gt;&lt;p&gt;You just need to take the web application offline and then online
using Web Site Administration Tool. That makes some changes in
web.config in the pages tag and globalization if needed. Then you can
go &lt;img src="http://forums.asp.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Database Schema not compatible</title><link>http://forums.asp.net/thread/1426540.aspx</link><pubDate>Thu, 12 Oct 2006 13:41:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1426540</guid><dc:creator>Polly Anna</dc:creator><author>Polly Anna</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1426540.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1426540</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I would appreciate a bit of help as I am having the same problems when using the&amp;nbsp; ASP.Net Sql Server Registration Tool.&amp;nbsp; Do I have to change the collation for each of the new tables created in my application db, after the tool has run?&lt;/p&gt;&lt;p&gt;Many thanks for your help.&lt;/p&gt;&lt;p&gt;Polly Anna&lt;/p&gt;</description></item><item><title>Re: Database Schema not compatible</title><link>http://forums.asp.net/thread/1321707.aspx</link><pubDate>Thu, 22 Jun 2006 11:15:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1321707</guid><dc:creator>HexElffilter</dc:creator><author>HexElffilter</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1321707.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1321707</wfw:commentRss><description>Got it sorted now, had to do it on each table as well.</description></item><item><title>Re: Database Schema not compatible</title><link>http://forums.asp.net/thread/1321681.aspx</link><pubDate>Thu, 22 Jun 2006 10:31:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1321681</guid><dc:creator>HexElffilter</dc:creator><author>HexElffilter</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1321681.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1321681</wfw:commentRss><description>&lt;p&gt;Thanks.&amp;nbsp; I am trying to get this running on SQL Server 2000.&lt;/p&gt;
&lt;p&gt;I have looked at the collation on the server, and tried to use the ALTER DATABASE syntax to change the collation on the database, but this still hasn't worked and when I run aspnet_regsql it still has the same issue.&lt;/p&gt;</description></item><item><title>Re: Database Schema not compatible</title><link>http://forums.asp.net/thread/1321567.aspx</link><pubDate>Thu, 22 Jun 2006 07:49:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1321567</guid><dc:creator>zhuhua1006</dc:creator><author>zhuhua1006</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1321567.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1321567</wfw:commentRss><description>&lt;p&gt;It seems not an asp.net issue but a sql server issue. The collation of the which is created by aspnet_regsql doesn&amp;#39;t match that of the sql server.&lt;/p&gt;
&lt;p&gt;Do you use Sql Server 2000 or 2005?&lt;/p&gt;
&lt;p&gt;If you use sql express, can it work fine?&lt;/p&gt;
&lt;p&gt;You can also try to change the collation of the SQL server to solve the problem. You can serach for how to do it.&lt;/p&gt;</description></item><item><title>Database Schema not compatible</title><link>http://forums.asp.net/thread/1320823.aspx</link><pubDate>Wed, 21 Jun 2006 15:32:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1320823</guid><dc:creator>HexElffilter</dc:creator><author>HexElffilter</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1320823.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1320823</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I get the following message when trying to run the Time Tracker pages.&lt;/p&gt;
&lt;h2&gt;&lt;i&gt;The 'System.Web.Security.SqlRoleProvider' requires a database schema compatible with schema version '1'. &amp;nbsp;However, the current database schema is not compatible with this version. &amp;nbsp;You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.&lt;/i&gt; &lt;/h2&gt;
&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Exception Details: &lt;/b&gt;System.Configuration.Provider.ProviderException: The 'System.Web.Security.SqlRoleProvider' requires a database schema compatible with schema version '1'. &amp;nbsp;However, the current database schema is not compatible with this version. &amp;nbsp;You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table bgColor=#ffffcc&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;pre&gt;Line 11:         if (Roles.Enabled)
Line 12:         {
&lt;font color=red&gt;Line 13:             if (!Roles.RoleExists("ProjectAdministrator"))
&lt;/font&gt;Line 14:             {
Line 15:                 Roles.CreateRole("ProjectAdministrator");&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;&lt;font face=Verdana&gt;Source File: &lt;/font&gt;&lt;/b&gt;e:\MISintranet\TimeTracker\Global.asax&lt;b&gt;&lt;font face=Verdana&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/font&gt;&lt;/b&gt;13 &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;font face=Verdana&gt;Stack Trace:&lt;/font&gt;&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table bgColor=#ffffcc&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;pre&gt;[ProviderException: The 'System.Web.Security.SqlRoleProvider' requires a database schema compatible with schema version '1'.  However, the current database schema is not compatible with this version.  You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.]
   System.Web.Util.SecUtility.CheckSchemaVersion(ProviderBase provider, SqlConnection connection, String[] features, String version, Int32&amp;amp; schemaVersionCheck) +589
   System.Web.Security.SqlRoleProvider.CheckSchemaVersion(SqlConnection connection) +65
   System.Web.Security.SqlRoleProvider.RoleExists(String roleName) +482
   System.Web.Security.Roles.RoleExists(String roleName) +242
   ASP.global_asax.Application_Start(Object sender, EventArgs e) in e:\MISintranet\TimeTracker\Global.asax:13
&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;
&lt;hr /&gt;

&lt;p&gt;&lt;b&gt;&lt;font face=Verdana&gt;Version Information:&lt;/font&gt;&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 &lt;/p&gt;
&lt;p&gt;I have check the aspnet_SchemaVersions table, which is currently populated with '1'.&lt;/p&gt;
&lt;p&gt;And when I run aspnet_regsql.exe I get the following message:&lt;/p&gt;
&lt;p&gt;Sql error 446: Cannot resolve collation conflict for equal to operation.&lt;/p&gt;
&lt;p&gt;Is there a solution to this?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>