找不到类型或命名空间名称“ProfileCommon” 是否缺少 using 指令或程序集引用?
我是建立的WEB应用程序,不是网站.
Profile配置如下:
<profile defaultProvider="TrafficManageProfileProvider">
<providers>
<remove name="AspNetSqlProfileProvider"/>
<add name="TrafficManageProfileProvider" type="System.Web.Profile.SqlProfileProvider"
connectionStringName="TrafficManage" applicationName="TrafficManage" />
</providers>
<properties>
<add name="RealName" type="string" />
<add name="Theme" type="string" defaultValue="default"/>
</properties>
</profile>
Webconfig中的其它配置均正常.
ProfileCommon出不来,Profile后打一点,也没有RealName等出来,类关系图中找不到 ProfileCommon,请各位高手帮忙看下看,找了两天也没有找到原因.