发布与Web项目相关的问题 [英] publishing a web project related issue

查看:70
本文介绍了发布与Web项目相关的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经在台式机上的文件夹中发布了我的项目,并在IIS服务器中创建了一个与.sln文件同名的虚拟目录,但是当我浏览该目录时,它在浏览器中显示了一个您无权查看此页面的消息",您提供的凭据不正确".HTTP错误401.3.
当我是系统管理员时,当我检查Windows集成安全性但无法访问时.

请帮我.

谢谢
Abhishek

Hi,

I have published my project on desktop in a folder and created a virtual directory, with same name as .sln file, in IIS server but when i browse it then it diplays a massege in browser that "YOU ARE NOT AUTHORIZED TO SEE THIS PAGE, THE CREDENTIALS YOU SUPPLIED IS NOT CORRECT".HTTP ERROR 401.3.
While i am the administrator of my system and when i check windows integrated security but unable to access.

Pls help me out.

Thanks
Abhishek

推荐答案

发布Web项目时,登录的安全凭据无关紧要. ASP.NET页是通过其他帐户处理的(取决于IIS版本).默认情况下,该帐户的权限非常有限.您需要为该帐户分配权限.

而且在我看来,在桌面上创建虚拟目录并不是一个好主意,尽管我认为其中没有任何问题.如果要在系统上进行测试,则应在一个驱动器中创建一个文件夹,并将所有Web应用程序保留在不同的文件夹中.

顺便说一句,如果您
When you publish your web project, your logged in security credentials doesn''t matter. ASP.NET pages are processed through a different account (depends on IIS version). By default that account has very limited permissions. You need to assign permissions to that account.

Moreover creating a virtual directory on a desktop doesn''t sound like a good idea to me, though I don''t think there''s anything wrong in it. You should create a folder in one of the drive and keep all your web applications inside different folders if you are testing on your system.

BTW if you search Google for http error 401.3[^], you will get a lot of links discussing the same. Read them and you will get detailed information abut the issue.

Hope this helps!


这篇关于发布与Web项目相关的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆