本文介绍了身份验证Web服务:ErrorCode:NotInFormsAuthentication的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在页面上添加了Webreference Authentication.asmx..
Added webreference Authentication.asmx to page..
Authentication auth = new Authentication();
AuthenticationMode authmode = auth.Mode();
LoginResult x = auth.Login("username", "password");
此处Mode返回"Windows",并在x中显示ErrorCode:NotInFormsAuthentication..
Here Mode is returning "Windows", and in x it says ErrorCode:NotInFormsAuthentication..
Can you please suggest how can we proceed further if it is the case?
推荐答案
这篇关于身份验证Web服务:ErrorCode:NotInFormsAuthentication的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!