Web Access Failure Error When Creating a new ASP.NET Web APP
-
Hello, I'm trying to create a new ASP.Net Web Application and get the following error message: The default Web access mode for this project is set to file share, but the project folder at 'http://localhost/webapplication2' cannot be opened with the path "\\SERVER\wwwroot$\WebApplication2'. The error returned was: Unable to create Web project 'WebApplication2'. The UNC share "\\SERVER\wwwroot$\WebApplication2' does not exist or you do not have access. Does anyone know why I'm getting this error and how to fix it? Thanks so much! Vi
-
Hello, I'm trying to create a new ASP.Net Web Application and get the following error message: The default Web access mode for this project is set to file share, but the project folder at 'http://localhost/webapplication2' cannot be opened with the path "\\SERVER\wwwroot$\WebApplication2'. The error returned was: Unable to create Web project 'WebApplication2'. The UNC share "\\SERVER\wwwroot$\WebApplication2' does not exist or you do not have access. Does anyone know why I'm getting this error and how to fix it? Thanks so much! Vi
This is usually caused by either incorrect NTFS permissions on the directory wwwroot (meaning you don't have the rights to create anything in here), or the wwwroot folder is not being shared as wwwroot$, or both! The share wwwroot$ should be created on the \InetPub\wwwroot folder and the share permissions should include VS Developers with Full Control access. The NTFS permissions (Security tab) should include everything EXCEPT Full Control, Change Permissions, and Take Ownership. You can get to these from the Security tab by clicking on the Advanced button at the bottom. If VS Developers is not there, Add it, then make sure all the permissions are enabled except for the three I just mentioned. RageInTheMachine9532
-
This is usually caused by either incorrect NTFS permissions on the directory wwwroot (meaning you don't have the rights to create anything in here), or the wwwroot folder is not being shared as wwwroot$, or both! The share wwwroot$ should be created on the \InetPub\wwwroot folder and the share permissions should include VS Developers with Full Control access. The NTFS permissions (Security tab) should include everything EXCEPT Full Control, Change Permissions, and Take Ownership. You can get to these from the Security tab by clicking on the Advanced button at the bottom. If VS Developers is not there, Add it, then make sure all the permissions are enabled except for the three I just mentioned. RageInTheMachine9532