1
我正在使用ScrewTurn Wiki。它是预先编辑的版本。所以,当我在我的宠物网站上运行IIS作为应用程序时,它会给出错误,例如无法找到类型或命名空间名称“AddressInfo”。但是,当我运行它作为网站比它工作正常。我在哪里做错了任何参考添加或我错过的东西。作为应用程序在IIS 7中的网站
public class ProfileCommon : System.Web.Profile.ProfileBase
{ public virtual AddressInfo BillingAddress
{ get { return ((AddressInfo)(this.GetPropertyValue("BillingAddress")));
在女巫DLL这个AddressInfo是?也许你忘了包括它? – Aristos 2012-02-10 06:08:39
public class ProfileCommon:System.Web.Profile.ProfileBase { public virtual AddressInfo BillingAddress { return {(AddressInfo)(this.GetPropertyValue(“BillingAddress”))); – 2012-02-10 06:17:54