![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #11 (permalink) |
| | Re: Does SQL Server 2008 run in Virtual PC 2007 SP1? "ronald" <ronald@xxxxxx> wrote in message news:2BD42B74-92D2-4401-8841-72197CDE078F@xxxxxx Quote: > I am setting up a development environment (SQL Server, etc.) in a guest VM > and want to store all my souce code and databases on the host so that my > data > is always on the host as I add new guest VMs as the development > environment > tools get updated over time. 1) Mapped a Z:\ drive pointing to another machine on my network 2) Launched SQL Server 2008 Management Studio 3) Started the "Create new database" wizard 4) Clicked on the Browse (...) button to select the new databases data and log files - only the local drives were available, not the mapped Z:\ drive 5) Altered the location of the new database and log files manually to point at the mapped Z:\ drive - this produced SQL Server error: 5133 "CREATE DATABASE failed. Some filenames listed could not be created. Check related errors." Turns out that SQL Server doesn't support mapped drives by default because of the massive degredation in performance. There is a trace flag which you can enable which allows this, but Microsoft don't recommend it: http://support.microsoft.com/kb/304261 Quote: > It has been suggested to use regular Windows networking on the guest to > access a shared folder on the host (instead of VPC Shared Folders), but I > am > not sure how to do this. the VM's network adaptor is pointing at your host's physical NIC and not e.g. NAT or Local Only... -- Mark Rae ASP.NET MVP http://www.markrae.net |
My System Specs![]() |
| | #12 (permalink) |
| | Re: Does SQL Server 2008 run in Virtual PC 2007 SP1? Thanks, I finally got it - I had to turn on File Sharing on my guest vm (I wrongly thought this setting was only to share files FROM my guest vm) and once I did this I could see my host and map a drive. Thanks for everyone's help - I learned a lot from ya'll and this experience. "Mark Rae [MVP]" wrote: Quote: > "ronald" <ronald@xxxxxx> wrote in message > news:2BD42B74-92D2-4401-8841-72197CDE078F@xxxxxx > Quote: > > I am setting up a development environment (SQL Server, etc.) in a guest VM > > and want to store all my souce code and databases on the host so that my > > data > > is always on the host as I add new guest VMs as the development > > environment > > tools get updated over time. > I have just tried to do the following: > > 1) Mapped a Z:\ drive pointing to another machine on my network > > 2) Launched SQL Server 2008 Management Studio > > 3) Started the "Create new database" wizard > > 4) Clicked on the Browse (...) button to select the new databases data and > log files - only the local drives were available, not the mapped Z:\ drive > > 5) Altered the location of the new database and log files manually to point > at the mapped Z:\ drive - this produced SQL Server error: 5133 "CREATE > DATABASE failed. Some filenames listed could not be created. Check related > errors." > > Turns out that SQL Server doesn't support mapped drives by default because > of the massive degredation in performance. There is a trace flag which you > can enable which allows this, but Microsoft don't recommend it: > http://support.microsoft.com/kb/304261 > Quote: > > It has been suggested to use regular Windows networking on the guest to > > access a shared folder on the host (instead of VPC Shared Folders), but I > > am > > not sure how to do this. > Exactly the same as you would on a physical machine - just make sure that > the VM's network adaptor is pointing at your host's physical NIC and not > e.g. NAT or Local Only... > > > -- > Mark Rae > ASP.NET MVP > http://www.markrae.net > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: Office 2007 does not install on Server 2008 Virtual Machine | Virtual PC | |||
| Install Virtual Machine additions on Server 2008 server core. | Virtual PC | |||
| Windows Server 2008 hosted on Virtual Server 2005 R2 very slow | Virtual Server | |||
| Virtual PC 2007 SP1 64 bit on Windows Server 2008 standard 64 bit | Virtual PC | |||
| Can't join Virtual Vista to a Virtual 2008 Domain Server | Virtual PC | |||