Inadequate write permissions for a deployment directory, or a deployment computer with a hyphen in its name, may prevent you from deploying Web Forms applications.
Using a local machine alias
You can deploy a Web Forms project to a local IIS server using “localhost” or
one of the following aliases:
However, in order to use the machine IP address or the generic
DNS address for the local machine, you must share the wwwroot directory
as “wwwroot$” and enable write permissions
for this directory.
Host name issue
Web Forms deployment fails with an “IIS Server not found” error
when the host name of the computer running IIS contains a hyphen.
You must remove the hyphen from the computer name before deployment
can be successful.
Vista or later platform requirement
If you are deploying .NET applications from a computer with
a Vista or later operating system, you must run PowerBuilder as
the computer administrator.