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 - Vitual PC 2007 and SQL Server 2005 Express

Reply
 
Old 08-25-2008   #1 (permalink)
Newby


 
 

Vitual PC 2007 and SQL Server 2005 Express

Hi folks,

As a developer I have installed Virtual PC as Microsoft suggest its a better
solution than multi booting one PC.

I have a problem connecting to an SQL database on the host.

I can use and test Applications if I install SQL Server 2005 Express in each
of the VM's but keeping all the db's in sync is a real pain. When trying to
acces the Host db, all attempts fail to connect.

Yes I know I can install a database on another physical PC but thats not
always possible.

Has anyone got any suggestions on how to overcome this??

Thanks

My System SpecsSystem Spec
Old 08-25-2008   #2 (permalink)
Steve Jain


 
 

Re: Vitual PC 2007 and SQL Server 2005 Express

On Mon, 25 Aug 2008 16:37:01 -0700, Newby
<Newby@xxxxxx> wrote:
Quote:

>Hi folks,
>
>As a developer I have installed Virtual PC as Microsoft suggest its a better
>solution than multi booting one PC.
>
>I have a problem connecting to an SQL database on the host.
>
>I can use and test Applications if I install SQL Server 2005 Express in each
>of the VM's but keeping all the db's in sync is a real pain. When trying to
>acces the Host db, all attempts fail to connect.
>
>Yes I know I can install a database on another physical PC but thats not
>always possible.
>
>Has anyone got any suggestions on how to overcome this??
>
>Thanks
Assuming that you've got network connectivity between the 2 it should
work. Need more info:
Host OS, VM OS?
Are you connected to a network? If so, what do you have selected for
networking options under the VM?
Have you set an exception in the firewall to let SQL out to the VM?
Can you ping the host PC from the VM?

--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
I do not work for Microsoft.
My System SpecsSystem Spec
Old 08-25-2008   #3 (permalink)
Newby


 
 

Re: Vitual PC 2007 and SQL Server 2005 Express

Hi Steve,

I can use either Windows Xp Pro SP2 or SP3, or Vista Premium as the host wth
the same result.
Yes I am connected to a network and I can Access SQL 2005 Servers elsewhere
on the network from the VM. Its just trying to keep it local that fails.
For the purpose of this exercise and resolving the issue, I've turned off
all firewalls. but still not working.

Host IP 192.168.1.100
VM IP 192.168.1.111
Can ping both ways without any problems

I'm not an MVP but been playing with Windows since 3.0 and this one has got
me stumped.

I used virtual machines for years as an IBM Mainframe VM Sysprog but doesn't
relate although I understand the principle.

I look forward to any pointers as I'm not ready to give up yet.

Thanks

Peter.
"Steve Jain" wrote:
Quote:

> On Mon, 25 Aug 2008 16:37:01 -0700, Newby
> <Newby@xxxxxx> wrote:
>
Quote:

> >Hi folks,
> >
> >As a developer I have installed Virtual PC as Microsoft suggest its a better
> >solution than multi booting one PC.
> >
> >I have a problem connecting to an SQL database on the host.
> >
> >I can use and test Applications if I install SQL Server 2005 Express in each
> >of the VM's but keeping all the db's in sync is a real pain. When trying to
> >acces the Host db, all attempts fail to connect.
> >
> >Yes I know I can install a database on another physical PC but thats not
> >always possible.
> >
> >Has anyone got any suggestions on how to overcome this??
> >
> >Thanks
>
> Assuming that you've got network connectivity between the 2 it should
> work. Need more info:
> Host OS, VM OS?
> Are you connected to a network? If so, what do you have selected for
> networking options under the VM?
> Have you set an exception in the firewall to let SQL out to the VM?
> Can you ping the host PC from the VM?
>
> --
> Cheers,
> Steve Jain, Virtual Machine MVP
> http://vpc.essjae.com/
> I do not work for Microsoft.
>
My System SpecsSystem Spec
Old 08-26-2008   #4 (permalink)
Steve Jain


 
 

Re: Vitual PC 2007 and SQL Server 2005 Express

On Mon, 25 Aug 2008 20:03:02 -0700, Newby
<Newby@xxxxxx> wrote:
Quote:

>Hi Steve,
>
>I can use either Windows Xp Pro SP2 or SP3, or Vista Premium as the host wth
>the same result.
> Yes I am connected to a network and I can Access SQL 2005 Servers elsewhere
>on the network from the VM. Its just trying to keep it local that fails.
>For the purpose of this exercise and resolving the issue, I've turned off
>all firewalls. but still not working.
>
>Host IP 192.168.1.100
>VM IP 192.168.1.111
>Can ping both ways without any problems
>
>I'm not an MVP but been playing with Windows since 3.0 and this one has got
>me stumped.
>
>I used virtual machines for years as an IBM Mainframe VM Sysprog but doesn't
>relate although I understand the principle.
>
>I look forward to any pointers as I'm not ready to give up yet.
>
>Thanks
>
>Peter.

Can you you access any shares, i.e. \\hostPC?
Is the host x64 by chance, with 64bit SQL? I'm wondering if that is
the issue with the 32bit OS on the VM?

--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
I do not work for Microsoft.
My System SpecsSystem Spec
Old 08-26-2008   #5 (permalink)


Vista Ultimate 32 bit & Home Premium 32 bit
 
 

Re: Vitual PC 2007 and SQL Server 2005 Express

Quote  Quote: Originally Posted by Newby View Post
Hi Steve,

I can use either Windows Xp Pro SP2 or SP3, or Vista Premium as the host wth
the same result.
Yes I am connected to a network and I can Access SQL 2005 Servers elsewhere
on the network from the VM. Its just trying to keep it local that fails.
For the purpose of this exercise and resolving the issue, I've turned off
all firewalls. but still not working.

Host IP 192.168.1.100
VM IP 192.168.1.111
Can ping both ways without any problems

I'm not an MVP but been playing with Windows since 3.0 and this one has got
me stumped.

I used virtual machines for years as an IBM Mainframe VM Sysprog but doesn't
relate although I understand the principle.

I look forward to any pointers as I'm not ready to give up yet.

Thanks

Peter.
"Steve Jain" wrote:
Quote:
> On Mon, 25 Aug 2008 16:37:01 -0700, Newby
> <Newby@xxxxxx> wrote:
>
Quote:
> >Hi folks,
> >
> >As a developer I have installed Virtual PC as Microsoft suggest its a better
> >solution than multi booting one PC.
> >
> >I have a problem connecting to an SQL database on the host.
> >
> >I can use and test Applications if I install SQL Server 2005 Express in each
> >of the VM's but keeping all the db's in sync is a real pain. When trying to
> >acces the Host db, all attempts fail to connect.
> >
> >Yes I know I can install a database on another physical PC but thats not
> >always possible.
> >
> >Has anyone got any suggestions on how to overcome this??
> >
> >Thanks
>
> Assuming that you've got network connectivity between the 2 it should
> work. Need more info:
> Host OS, VM OS?
> Are you connected to a network? If so, what do you have selected for
> networking options under the VM?
> Have you set an exception in the firewall to let SQL out to the VM?
> Can you ping the host PC from the VM?
>
> --
> Cheers,
> Steve Jain, Virtual Machine MVP
> esSJae.com Virtual Machine Downloads
> I do not work for Microsoft.
>
How have you got SQL2005 Express configured? What kind (if any) errors are you getting when you attempt to connect to sql server? Did you configure it to accept IP address or named pipes? What kind of account access did you set up (Windows Auth. or SQL account)?
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Vitual Server 2005 R2 Installation Virtual Server
Microsoft SQL Server 2005 Express Edition SP2 install problem Vista installation & setup
microsoft sql server 2005 express edition service pack 2 install failure Vista General
SQL Server 2005 Express Edition Vista installation & setup
Microsoft SQL Server 2005 Express Edition Service Pack 2 (KB 92189 Vista General


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