|
|
 |
| Internet Information Services Limit this to IIS questions and posts. ASP/ASP.NET questions should still go in the ASP/ASP.NET forums. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Internet Information Services section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

October 6th, 2008, 12:54 AM
|
|
Authorized User
|
|
Join Date: Feb 2006
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Moving server root outside virtual machine
I'm running IIS7 (Vista x86) virtual machine on Vista x64.
I want to set the server root on a physical disk outside the virtual machine but having problems.
I have created a shared folder (drive S) in the virtual machine which contains the server root.
(UAC=off on both the virtual machine and the host)
drive S is on the host machine.
To set a site root folder in IIS Manager I can browse to the shared folder "Network Drive S" which I can select but it just does not work.
Network connections are disabled on the virtual machine.
How to configure?
|

October 6th, 2008, 06:28 AM
|
|
Authorized User
|
|
Join Date: Feb 2006
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Not many people online here I guess?
|

October 7th, 2008, 12:47 AM
|
 |
Friend of Wrox
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
There are many people on here. However, I doubt you'll find many with experience with II7 on 64 bit virtualized vista.
For a complete shot in the dark, I'll guess that the problem has something to do with the shared folder you are sharing into the virtual OS instance. Can the system see the drive the way you expect it to? How do shared drives works? Do they show up as mapped drives? Is so, then this might be the problem. Mapped drives are mapped in the user session, not at the OS level so IIS (running as a system service) can't see them. This might be part of the problem.
-Peter
compiledthoughts.com
|

October 7th, 2008, 01:10 AM
|
|
Authorized User
|
|
Join Date: Feb 2006
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for your reply Peter.
Under "Computer" in the virtual machine I see the folder under "Network Location 1"
Storage (\\S:\) (S)
In the IIS manager I can browse to "Network Drive (S) once I select a folder on drive S: the physical path just displays as S:\inetpub\wwwroot
I also tried like \\S:\inetpub\wwwroot but this does not work either.
I also tried to create a virtual hard disk linked to a physical hard disk which failed and returned an error.
"Virtual Server supports linking a virtual hard disk to a physical hard disk on the physical computer. This virtual hard disk can have multiple volumes. The virtual hard disk is created with the actual boot partition and partition map from the drive on the physical computer. All read and write requests are forwarded directly to the linked physical hard disk.
Linked disks are intended for converting a physical disk to a virtual hard disk. You cannot use a linked disk as a startup disk. Virtual machines will not be able to start with linked disks attached. If you turn on a virtual machine with a linked disk attached, the virtual machine will turn itself back off and write an event to the event log.
For more information about converting physical disks, see Copying a physical disk to a virtual hard disk.
Linking to a physical hard disk requires the following:
You must be an administrator or a member of the Administrators group to create or use a link to a physical hard disk.
The physical disk must be a basic disk; it cannot be a dynamic disk.
Caution
Unlike the other virtual hard disk types, which permit only the virtual machine to write to the specified virtual hard disk files, a virtual hard disk linked to a physical hard disk allows the guest operating system to directly modify the contents of the linked physical hard disk. This means that the guest operating system can overwrite the contents of the linked physical hard disk and can potentially corrupt the host operating system and other programs and data of the linked physical hard disk.
Important
You cannot write to a linked physical hard disk that has 100 MB or less of available storage space. If you attempt to do so, you will receive an error message. Correct the problem by moving or deleting files on the physical drive to create more storage space."
http://technet.microsoft.com/en-us/l.../cc720356.aspx
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |