Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / February 2006

Tip: Looking for answers? Try searching our database.

sql_instance switch on configsamples.exe for .net sdk 2.0 doesn't

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Berry at JSO - 15 Feb 2006 06:49 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.