I'm attempting to install the .net framework 2.0 sdk samples via
configsamples.exe, and according to the help file, I should be able to
install the sample databases to my default sql instance (instead of
(local)\NetSDK) by running:
configsamples.exe -sql_instance:<instance name>
In an attempt to install the sample databases to my default sql instance I
have tried
configsamples.exe -sql_instance:(local)
configsamples.exe -sql_instance:local
configsamples.exe -sql_instance:<my machine name>
configsamples.exe -sql_instance:default
configsamples.exe -sql_instance:(default)
configsamples.exe -sql_instance:./
and the wizard ignores the switch entirely and asks me to install sql
express. When I tell the wizard to not install sql express, the wizard
completes, but the database-centric samples fail because I don't have the
(local)/NetSDK sql instance installed.
How can I use the -sql_instance switch to force the wizard to install the
sample databases to my default sql instance?
TIA,

Signature
Berry Morgan
JSO
"Peter Huang" [MSFT] - 15 Feb 2006 08:30 GMT
Hi
Based on my test, it seems that if we use the syntax as below. it will
install the database in the default instance of the sql server 2005
successfully.
configsamples.exe -sql_instance:.
You may have a try.
Best regards,
Peter Huang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.