IIS - Required permissions cannot be obtained. Enable Full Trust and Download User Profile in the Application Pool True

Customization

In .NET 2.0, Server-A has IIS 6. IIS 7 Server-B must host the same code base under a different URL. I created a virtual directory under Server-B for the network path of the application on server-A. I included this virtual directory on server-B as an application running in its own .NET 2.0 application pool in classic mode. Both application pools work as a single domain account that has access to this folder.

Question

When accessing the site from server-A, it works fine. However, access to it from server-B generates the infamous " Required permissions that cannot be obtained. ".

I tried to find a solution to this problem for two days. The two most common solutions were checking the CLR trust level on the Server-B field or setting the Load User Profile property in the application pool to True. Since I have full administrator rights, I set the trust level to Full and set the profile to True. Strongly calling all the builds of the application and throwing them into the GAC, I don't want to go there.

I'm sure I just missed some configuration somewhere. Any ideas? Thank.

+3
source share
4 answers

.

, , . , , .

, .

+1

, . Windows ( - "runas/User: {Domain\UserName} net use {\ server\share}" ).

ShareMonitor, . , . , , . , , - , .

, . , , , , ASP.NET( Windows ).

" ASP.NET". , .

0

IIS LoadUserProfile = false, Identify ( ). , / Webroot (/bin) . LoadUserProfile = true .

0

( ) . , , , .

0

All Articles