Click here to Skip to main content
14,774,396 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am a non-admin user trying to deploy a .net core app to IIS. I have been able to successfully publish the app to a folder, however, I am unable to open IIS manager without admin privilege so I can complete the deployment to IIS. Is there a way to do this without admin access or as a non-admin user?

What I have tried:

I have been able to successfully publish the app to a folder, however, I am unable to open IIS manager without admin privilege so I can complete the deployment to IIS.
Posted
Updated 14-Sep-20 19:41pm

1 solution

Seems this should help: Microsoft Tech Community: Use Local IIS without Administrator rights [^]:
1. Run the application pool under the non-admin user’s account
2. Give SeDebugPrivilige to the domain user account

Quote:
For the two approaches mentioned there would be a negative affect as mentioned there, so please take that into consideration

Assuming it's your organization laptop and thus you don't have privilege. Talk to your manager/IT department. You can get an exception for learning purpose? Or admin limited priviledge for IIS folders.
   
Comments
Member 14908535 15-Sep-20 3:33am
   
I did ask. I was told to deploy the app to a folder and then configure IIS virtual application to point to that folder. I can deploy the app to a folder fine but I don't know how to do the IIS virtual application configuration, especially since I can't open IIS Manager. Do you have any suggestions, please?
Sandeep Mewara 15-Sep-20 4:38am
   
Did you tell them to configure in IIS as virtual app you need to open IIS?
Member 14908535 15-Sep-20 4:42am
   
I need to open IIS to configure the virtual app?
Sandeep Mewara 15-Sep-20 4:47am
   
Read
https://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/sites/site/application/virtualdirectory
https://docs.microsoft.com/en-us/iis/get-started/planning-your-iis-architecture/understanding-sites-applications-and-virtual-directories-on-iis

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900