Allow the Asp.net program to access the network folder using the unc path

Source: Internet
Author: User

Problem Found: During the Vs2010 test, the network folder can be normally accessed, \ 192.168.2.249 \ d $ \ IndexRoot

However, it cannot be accessed when it is configured on IIS, because asp.net development server has the highest permissions and can perform authentication by using the unc username and password stored on the local machine. Therefore, there is a breakthrough to solve this problem, as shown below:

Host A: 192.168.2.249

B (WSZHOHO-PC): 192.168.2.149 need to access the D: \ IndexRoot directory on

Steps:

1. Create the same username and password for the two machines (the password must be the same after testing). Here we will use the default administrator account for demonstration;

2. On machine B, add the administrator account to the IIS_WPG group. This group is used to start the w3wp process. Then, in the application pool, set the ID to the administrator account, in this way, the IIS application can access machine A through the administrator account;

3. No more than 3.







From day to day★Wind nest
 


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.