using System.Web.Profile;public class ProfileCommon : System.Web.Profile.ProfileBase {
public virtual Cart ShoppingCart {
get {
return ((Cart)(this.GetPropertyValue("ShoppingCart")));
}
set {
this.SetPropertyValue("ShoppingCart", value);
}
}
public virtual ProfileCommon GetProfile(string username) {
return ((ProfileCommon)(ProfileBase.Create(username)));
}
}
我用服务器分配给我的用户,比如说:itest_f,只有这个用户和密码才能链接上服务器.....
aspnet_CheckSchemaVersion 我可以在服务器创建 拥有者是 itest_f, 拥有者也可以 是dbo.
问题是,拥有者是 itest_f的时候,报错:未能找到存储过程 'dbo.aspnet_CheckSchemaVersion'。 拥有者是 dbo 的时候,报错:'dbo.aspnet_CheckSchemaVersion' 拒绝 execute 权限....
public virtual Cart ShoppingCart {
get {
return ((Cart)(this.GetPropertyValue("ShoppingCart")));
}
set {
this.SetPropertyValue("ShoppingCart", value);
}
}
public virtual ProfileCommon GetProfile(string username) {
return ((ProfileCommon)(ProfileBase.Create(username)));
}
}
我用服务器分配给我的用户,比如说:itest_f,只有这个用户和密码才能链接上服务器.....
aspnet_CheckSchemaVersion 我可以在服务器创建 拥有者是 itest_f, 拥有者也可以 是dbo.
问题是,拥有者是 itest_f的时候,报错:未能找到存储过程 'dbo.aspnet_CheckSchemaVersion'。 拥有者是 dbo 的时候,报错:'dbo.aspnet_CheckSchemaVersion' 拒绝 execute 权限....
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货