高分求救:MemberShip Profile问题
错误提示:
“System.Web.Profile.SqlProfileProvider”要求一个与架构版本“1”兼容的数据库架构。但是,当前的数据库架构与此版本不兼容。您可能需要使用 aspnet_regsql.exe (在 framework 安装目录中提供)安装一个兼容的架构,或者将提供程序升级到一个较新的版本。
我的环境是:Windows2003 + VS2005+SQL2005
已经执行 aspnet_regsql.exe -E -S localhost -A m 建立了aspnetdb数据库
错误是出现在:
ProfileCommon p = (ProfileCommon)ProfileCommon.Create(newuser.UserName, true);
p.QQ = QQ.Text.Trim();
p.MSN = MSN.Text.Trim();
p.Save();
烦请各位大侠救救小弟!!!!