Domanda

I got the following error while creating a new SharePoint web application on port 80:

Sorry, something went wrong Access to the path 'C:\inetpub\wwwroot\wss\VirtualDirectories\80' is denied.

creating a new SharePoint web application on others ports is working fine.

I am using farm account in SharePoint 2016

È stato utile?

Soluzione

When you create a new Web Application you have to add host header name to your webapp. This means that your Web App with the host header name "portal" will have the path C:\inetpub\wwwroot\wss\VirtualDirectories\portal80, and another web app with host header name "test" will have the path C:\inetpub\wwwroot\wss\VirtualDirectories\test80. That way you can use more than one web app running on port 80 since they have different folders in IIS.

Altri suggerimenti

Access denied means that their already web application created on that port. So you can't have two web application on single port without hostheaders.

  • delete the old web app created on port 80 and make sure no virtual directory exist after deleting on that path.now create new web app.
  • use the host headers( either FQDN or using host file entries) to create multiple web applications on port 80
  • or you can create web applications on different ports without host headers.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top