Groups | Blog | Home
all groups > dotnet ado.net > june 2007 >

dotnet ado.net : SQL Server 2005 installation


Steve Bugden
6/20/2007 9:56:01 AM
Hi,

Could someone please tell me what I would need to install if anything on a
client machine to access an SQL Server 2005 database from a .Net component?

Is it sufficient just to have the database files (.mdf and .ldf) and access
them via ADO.NET?

I only have a development machine and therefore can't properly test this
without deinstalling/reinstalling sql server.

Thanks

William (Bill) Vaughn
6/20/2007 3:27:08 PM
It really depends on your architecture. SQL Server is a service-based DBMS.
You need to be running this service on the same system as the .MDF. The
client need not host either the .MDF or the service, but it can.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

[quoted text, click to view]

RobinS
6/21/2007 12:23:07 AM
I test this sort of thing by setting up a VM (I use VMWare -- the (free)
server version) and accessing the SQLServer running on my machine from
within the VM.

Robin S.
----------------------
[quoted text, click to view]

William (Bill) Vaughn
6/21/2007 9:47:47 AM
I've done this as well using Microsoft VPC. Unfortunately, even if it's
configured "correctly" it might not reveal issues you'll see with a real
client/server rig. I would spring for a testbed that duplicates the typical
client systems--without virtualization smoke and mirrors.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

[quoted text, click to view]

AddThis Social Bookmark Button