本文是小编为大家收集整理的关于在asp中创建webservice方法。net应用程序的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。
问题描述
你好,
我在我的 web 应用程序中创建了一个 .asmx.cs,其中 getProducts() 是从我的数据库获取产品信息的 web 方法名称.当我运行此应用程序时,它显示错误为
HTTP 错误 401.2 - 未经授权由于身份验证标头无效,您无权查看此页面.详细错误信息:模块 IIS Web 核心通知 AuthenticateRequest处理程序 PageHandlerFactory-Integrated-4.0错误代码 0x80070005请求的 URL http://localhost:1643/UI/Default.aspx物理路径 D:\Admin Site\ReCon\UI\Default.aspx登录方式尚未确定登录用户尚未确定请求跟踪目录 C:\Users\kalpana\Documents\IISExpress\TraceLogFiles\RECON
请指正.
提前致谢.
推荐答案
http://social.msdn.microsoft.com/Forums/en-IN/Geneva/thread/a6ce0a76-b477-4d02-ba0c-a06a77b41143[^]
参考此链接中的步骤
http://support.microsoft.com/kb/942043[^]
问题描述
Hi,
I created one .asmx.cs in my webapplication in that getProducts() is the web method name foe getting products information from my database.when i run this application it shows the error as
HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.
Detailed Error Information:
Module IIS Web Core
Notification AuthenticateRequest
Handler PageHandlerFactory-Integrated-4.0
Error Code 0x80070005
Requested URL http://localhost:1643/UI/Default.aspx
Physical Path D:\Admin Site\ReCon\UI\Default.aspx
Logon Method Not yet determined
Logon User Not yet determined
Request Tracing Directory C:\Users\kalpana\Documents\IISExpress\TraceLogFiles\RECON
Please correct me.
Thanks in advance.
推荐答案
http://social.msdn.microsoft.com/Forums/en-IN/Geneva/thread/a6ce0a76-b477-4d02-ba0c-a06a77b41143[^]
Refer steps from this link
http://support.microsoft.com/kb/942043[^]
相关标签/搜索
form.submit不能触发onsubmit事件
php 图片 视频 音频上传(支持预览 拖拽)
oracle存储过程中%rowtype和%type的区别
vue3点击按钮添加class
苹果一体机安装软件提示安装目录写权限不足
XP 64位 MSDN
pandas的shift
print("该字符为数字和字母组合")
quartz在线配置
curl下载命令怎么用
怎么知道Oracle数据库的ip和端口
echarts geo坐标转换
asmxandxml
ASP.NET
asp-net
c#
asp.net
multithreading
C#
.NET3.5
.NET
MVC4