Hi, 

I am new to Windows Server and now I have some trouble.

Published .net extension which reffers some batch file located on "c:\<shared foleder>...\bin\xxx.bat"

RunAs settings in ServiceCenter had been done but still access from extension file was denied.

Do you have any idea to fix that problem?

Do I need some IIS settings?

Thanks  

Hi Kazy,

Make sure you set the Run As for the top-level Consumer, as that's the Module that will actually run. The Extension (like any other Producer) is just a DLL file that's loaded when the Module is accessed.

Hi, Kilian 

Thanks a lot for your support.

Actually It's run as "opc" , which is a menber of Adminstrators as you can see bellow pic.




I thought that "opc" is the top-level consumer. 

Do you say it's wrong and need to change user??  


Solution

Kilian Hekhuis wrote:

Hi Kazy,

Make sure you set the Run As for the top-level Consumer, as that's the Module that will actually run. The Extension (like any other Producer) is just a DLL file that's loaded when the Module is accessed.

Hi, Kilian 


Problem solved!!

I just needed to fix the shared folders' property.

Because the folder's property was not inherited.

Thanks for you warm support my dear!


Kazy 


Solution

Hi Kazy,

Great you found the cause. Happy coding!