我的图像要求输入本地网络的密码(在ASP / IIS下)

时间:2022-06-08 04:22:24

Not quite sure how to troubleshoot this. I'm maintaining an ASP site, its mostly static, but there's this one include page which brings the menu.

不太确定如何解决这个问题。我正在维护一个ASP站点,它主要是静态的,但是有一个包含菜单的页面。

Just recently I replaced some images, but now when I try the site, I get a prompt for a password as if It were looking for something on the local network!

就在最近我更换了一些图片,但现在当我尝试网站时,我得到一个密码提示,好像它正在寻找本地网络上的东西!

I checked, all image paths are written up correctly, all images are unblocked (a W2k3 safety feature) and all images are set to allow-all on all users ... yet still, I get a password prompt!

我检查过,所有图像路径都正确写入,所有图像都被解锁(W2k3安全功能),并且所有图像都设置为允许所有用户...但仍然,我收到密码提示!

Here's a sample page where it happens: http://www.iossolution.com/company/aboutus.asp (Windows only, it seems)

以下是它发生的示例页面:http://www.iossolution.com/company/aboutus.asp(仅限Windows,似乎)

Thanks.

/mp

1 个解决方案

#1


2  

mauriciopastrana,

Check that the appropriate user has permission on the files in the windows file system. For W2K3 and IIS6 I think that user is typically NETWORK SERVICE.

检查相应的用户是否具有Windows文件系统中文件的权限。对于W2K3和IIS6,我认为用户通常是NETWORK SERVICE。

Also check that the images directory has the intended authentication setup in IIS. You'll likely want to have the "enable anonymous access" checkbox checked and the "Integrated Windows Auth" box checked. You might also need to make sure that the IUSR_SERVERNAME user has access to the images.

还要检查images目录是否在IIS中具有预期的身份验证设置。您可能希望选中“启用匿名访问”复选框并选中“集成Windows身份验证”复选框。您可能还需要确保IUSR_SERVERNAME用户可以访问图像。

Good luck!

#1


2  

mauriciopastrana,

Check that the appropriate user has permission on the files in the windows file system. For W2K3 and IIS6 I think that user is typically NETWORK SERVICE.

检查相应的用户是否具有Windows文件系统中文件的权限。对于W2K3和IIS6,我认为用户通常是NETWORK SERVICE。

Also check that the images directory has the intended authentication setup in IIS. You'll likely want to have the "enable anonymous access" checkbox checked and the "Integrated Windows Auth" box checked. You might also need to make sure that the IUSR_SERVERNAME user has access to the images.

还要检查images目录是否在IIS中具有预期的身份验证设置。您可能希望选中“启用匿名访问”复选框并选中“集成Windows身份验证”复选框。您可能还需要确保IUSR_SERVERNAME用户可以访问图像。

Good luck!