wcf中的错误
The type 'OnTheWayUI.Security.AttachContextBehavior,OnTheWayUI.Security,
Version=1.0.0.0,
Culture=neutral,
PublicKeyToken=null' registered for extension 'AttachContextBehavior' could not be loaded. (D:\OnTheWay\OnTheWayService\OnTheWayUI\web.config line 58)
这个错误怎么解决啊。 --------------------编程问答-------------------- 结帖率:0.00% --------------------编程问答-------------------- AttachContextBehavior 这个类没找到! --------------------编程问答-------------------- 重新引用OnTheWayUI.Security.dll --------------------编程问答-------------------- <behaviors>
<endpointBehaviors>
<behavior name="headerMapping">
<AttachContextBehavior></AttachContextBehavior>
</behavior>
</endpointBehaviors>
</behaviors>
<extensions>
<behaviorExtensions>
<add name="AttachContextBehavior"
type="OnTheWayUI.Security.AttachContextBehavior,
OnTheWayUI.Security,
Version=1.0.0.0,
Culture=neutral,
PublicKeyToken=null"/>
</behaviorExtensions>
</extensions>
这是在配置文件里配置的。 --------------------编程问答-------------------- OnTheWayUI.Security.dll 这个dll引用了吗?
补充:.NET技术 , ASP.NET