Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Virtual PC

Vista - Does SQL Server 2008 run in Virtual PC 2007 SP1?

Reply
 
Old 12-31-2008   #11 (permalink)
Mark Rae [MVP]


 
 

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.
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 SpecsSystem Spec
Old 12-31-2008   #12 (permalink)
ronald


 
 

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 SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46