IIS 7.5 - Configuring a virtual directory to share a file in another domain

I have a Windows 2008 R2 server with IIS 7.5. I would like to create a virtual directory for my website to allow downloading of video files from a file share on a server in a different domain. I have a username and password, which allows me to access this file resource. However, when I try to configure the virtual directory in IIS, I get the following error message:

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Module: IIS Web Core Notification: BeginRequest Handler: Not yet determined Error Code: 0x8007052e Config Error: Cannot read configuration file Config File: \\?\UNC\z27ar1cfvs004.abc.se\video$\web.config Requested URL: http://localhost:8080/Video Physical Path: \\z27ar1cfvs004.abc.se\video$ Logon Method: Not yet determined Logon User: Not yet determined 

Oddly enough, I can get into Explore in my virtual directory, and IIS will launch Explorer, showing me the files.

For the verification settings of my site, I have set Basic and Windows authentication settings.

Here is what I tried unsuccessfully:

  • Change Connect As ... name for users to use domain user credentials
  • Change Connect As ... name for virtual directory to use domain user credentials
  • Change the application pool identifier for a website to use domain user account credentials
  • Creating a local user account on the IIS server with the same username / password as on the domain server, and repeating all three steps above, but only specifying the username and not the domain \ username
  • Change in Pipeline Control: Neither Integrated nor Classic makes any difference.

I have Googled until my eyes are blurry and spent a lot of time on many of the recommended suggestions, but all this did not help.

How can I solve this problem?

+4
source share

Source: https://habr.com/ru/post/1501810/


All Articles