chump2877
09-02-2007, 04:10 AM
I created a web site in VS2005, and originally specified the location as the local file system.
Now I want to publish the site on my local IIS server for testing.
I created a new virtual directory in the Computer Management dialog, via right clicking on Services and Applications -> Internet Information Services -> Web Sites -> Default Web Site, selecting New -> Virtual Directory, and running the wizard.
In the wizard, I set the local path to the path of my VS2005 project folder inside of my My Documents folder. I set the default permissions.
I go to IE and type in http://localhost/ProjectName/default.htm in the address bar. I get the following error:
You are not authorized to view this page
You do not have permission to view this directory or page using the credentials you supplied.
HTTP 401.3 - Access denied by ACL on resource
Internet Information Services
So I don;t see the web site....What am I doing wrong here?
Also, what is best practices for publishing an ASP.NET web site/application and running it on IIS? I hear you can also publish a web site, without creating a new virtual directory, by simply dumping the necessary files into the C:\Inetpub\wwwroot folder...Which way is better, and, again, how do you go about successfully implementing that way?
Thanks.
Now I want to publish the site on my local IIS server for testing.
I created a new virtual directory in the Computer Management dialog, via right clicking on Services and Applications -> Internet Information Services -> Web Sites -> Default Web Site, selecting New -> Virtual Directory, and running the wizard.
In the wizard, I set the local path to the path of my VS2005 project folder inside of my My Documents folder. I set the default permissions.
I go to IE and type in http://localhost/ProjectName/default.htm in the address bar. I get the following error:
You are not authorized to view this page
You do not have permission to view this directory or page using the credentials you supplied.
HTTP 401.3 - Access denied by ACL on resource
Internet Information Services
So I don;t see the web site....What am I doing wrong here?
Also, what is best practices for publishing an ASP.NET web site/application and running it on IIS? I hear you can also publish a web site, without creating a new virtual directory, by simply dumping the necessary files into the C:\Inetpub\wwwroot folder...Which way is better, and, again, how do you go about successfully implementing that way?
Thanks.