简体   繁体   English

asp.net mvc Web应用程序提示用户名和密码

[英]asp.net mvc web application prompting user name and password

I have a asp.net mvc web application hosted in IIS. 我在IIS中托管了一个asp.net mvc Web应用程序。 The functionality is to list the files kept in a folder PDFFiles. 该功能是列出保存在文件夹PDFFiles中的文件。

PDFFiles folder is in another server. PDFFiles文件夹在另一台服务器中。 Now when ever I try to get the mvc screen to view the files, it is asking for user name and password 3 times. 现在,无论何时我尝试通过mvc屏幕查看文件时,它都会要求输入用户名和密码3次。 Even if I am giving the credentials, it is not showing the details list. 即使我提供凭据,也不会显示详细信息列表。

Is it due to some permission issue? 是否由于某些权限问题?

Could you please help? 能否请你帮忙?

I could found the solution. 我可以找到解决方案。 IIS server needs to give the permission to the mentioned folder. IIS服务器需要将权限授予所提到的文件夹。 Once the permission is set, I could access the files. 设置权限后,即可访问文件。 Thank you. 谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM