Thanks for the reply to you both,
HOWEVER
I created a folder in the public documents folder called Apress2 and a subfolder called BegWeb2 inside it and placed a hello world2.htm file in that folder ie.
Physical path C:\Users\Public\Documents\Apress2\BegWeb2\HelloWorld2.htm
I set the Alias to Apress2BegWeb2 in Edit Virtual Directory and use Pass-through authentication (although I installed the basic authentication option in windows set-up of IIS)
Browsing to it from IIS: Manage Virtual Directory: Drop Down "Browse" : and my browser goes to
http://localhost/Apress2BegWeb2
this gives me
This problem can be caused by a variety of issues, including:
- Internet connectivity has been lost.
- The website is temporarily unavailable.
- The Domain Name Server (DNS) is not reachable.
- The Domain Name Server (DNS) does not have a listing for the website's domain.
- There might be a typing error in the address.
- If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.
For offline users
You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds
- Click the Favorites Center button , click Feeds, and then click the feed you want to view.
To view recently visited webpages (might not work on all pages)
- Click Tools , and then click Work Offline.
- Click the Favorites Center button , click History, and then click the page you want to view.
But now I have no specific error message. So the browser isnt able to resolve the virtual directory name.
setting the browser to this=> http://localhost/Apress2/BegWeb2/HelloWorld2.htm
gives me another error, see below
Internet Information Services 7.0
Error Summary
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Detailed Error Information
| Module |
IIS Web Core |
| Notification |
MapRequestHandler |
| Handler |
StaticFile |
| Error Code |
0x80070002 |
| Requested URL |
http://localhost:80/Apress2/BegWeb2/HelloWorld2.htm |
| Physical Path |
C:\inetpub\wwwroot\Apress2\BegWeb2\HelloWorld2.htm |
| Logon Method |
Anonymous |
| Logon User |
Anonymous |
Most likely causes:
- The directory or file specified does not exist on the Web server.
- The URL contains a typographical error.
- A custom filter or module, such as URLScan, restricts access to the file.
Things you can try:
- Create the content on the Web server.
- Review the browser URL.
- Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.
Links and More InformationThis error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
View more information »
Now these virtual folders im browsing to are at the same level as the iis splash screen in local host which is visible
All folders in the path ie the folders ive created and the file have been given full permissions
I cant seem to change the permissions for the default public or user Document folder but they are set to full permissions already. One thing Im considering is the share status on the share tab of the documents folders I think It has to be set to allow all network users access to share change create.
Thanks for your suggestions they give me inspiration to hack away some more if not perfect results which I guess is nigh impossible if your not sitting at the machine.
Cheers
Pat