Re: Problem install SQL Server 2005 Express
- From: bettyc <bettyc@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 17 Sep 2009 12:11:02 -0700
Have tried it all the ways I can think of and keep getting:
C:\sqlcmd-s.\sqlexpress
The system cannot find the path specified.
C:\sqlcmd –s . \sqlexpress
‘sqlcmd’ is not recognized as an internal or external command operable
program or batch file.
C:\SQLCMD –S . \SQLEXPRESS
‘SQLCMD’ is not recognized as an internal or external command operable
program or batch file.
=====================
Looked into C:\WINDOWS – I notice the following – can this give you a clue?
C:\WINDOWS\SQL9_KB948109_ENU
C:\WINDOWS\SQL9_KB960089_ENU
C:\WINDOWS\SQLTools9_KB948109_ENU
C:\WINDOWS\SQLTools9_KB960089_ENU
==================
If as you indicated in your first response that it's possible to have
several instance of
SQL Server installed on the same machine - could I uninstall the one that
shows up in the "Windows Install Clean up" and reinstall following the "How
to: Install SQL Server Express" (SQL Server 2005 Books Online[Nov 2008]) and
this time select "Named instance".
---------------
The directions say:
On the Instance Name page, select a Default instance or a Named instance for
your installation. If you select Default instance, an existing default
instance will be upgraded. If you select Named Instance, specify an instance
name or the default named instance of SQLExpress is used. Click Next.
Click Installed Instances to view a list of installed SQL Server Express
instances and components on the computer where SQL Server Express Setup is
running. The installed instance details pane will display upgrade options for
installed instances.
SQL Server Express Setup checks whether the instance name SQLExpress exists
at startup.
If SQLExpress instance exists, then by default, the Instance name page
appears.
If SQLExpress instance does not exist, then by default, the Instance name
page is hidden from the user. However, if you clear the Hide Advanced
configuration options check box on the Registration Information page, the
Instance name dialog box appears at all times.
-----------------------------
Appreciate you help.
--
Bettyc
"Aaron Bertrand" wrote:
Maybe you should leave the spaces intact? In Erland's example, there is a.
space before and after "-S" ...
On 9/17/09 12:20 PM, in article
0EC10E72-4F31-404B-9C8E-0461BC72777D@xxxxxxxxxxxxx, "bettyc"
<bettyc@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Trying to learn ASP.Net and Visual Web Developer I was using book from Scott
Mitchell - installed disk that came with that.
I am new at this - how/where do I write the line? Do I go to
Start
Accessories--
Command Prompt
c:\SQLCMD-S.\SQLEXPRESS
?? AND KEEP GETTING MESSAGE NO RECOGNIZED.
Would appreciate your help.
Bettyc
"Erland Sommarskog" wrote:
bettyc (bettyc@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
My System is Windows XP Professional - have installed Visual Web
Developer 2005 Express Edition and trying to install SQL Server 2005
Express and keep having problems. I have tried several time to remove
and reinstall both programs following directions from the Microsoft
site, used the Window Install Clean Up etc.
So which instance name do you specify when you install SQL Server?
It seems that you already have an instance called SQLEXPRESS, so
you would need to choose a different name - or use this instance you
apparently already have.
This is the background: it's possible to have several instance of
SQL Server installed on the same machine. The instance can be of
different versions of SQL Server, different editions, or be all the
same. They are entirely independent from each other with their own
logins etc.
One instance can be a default instance, to which you refer the with
servername only. All others are named instance to which you refer
as MACHINE\INSTANCE. When you install SQL Server Express, it is by
default installed as a named instance (in case you install one of
the major editions later), and by default the name for that instance
is SQLEXPRESS.
You may already have SQL Express installed, because it may come
with some third-party software. You may also get it when you install
Visual Studio.
Try opening a command-line window and run:
SQLCMD -S .\SQLEXPRESS
(The dot is a shorthand for the local machine.)
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
- Follow-Ups:
- Re: Problem install SQL Server 2005 Express
- From: Erland Sommarskog
- Re: Problem install SQL Server 2005 Express
- References:
- Re: Problem install SQL Server 2005 Express
- From: Erland Sommarskog
- Re: Problem install SQL Server 2005 Express
- From: bettyc
- Re: Problem install SQL Server 2005 Express
- From: Aaron Bertrand
- Re: Problem install SQL Server 2005 Express
- Prev by Date: Re: Problem install SQL Server 2005 Express
- Next by Date: Re: Problem install SQL Server 2005 Express
- Previous by thread: Re: Problem install SQL Server 2005 Express
- Next by thread: Re: Problem install SQL Server 2005 Express
- Index(es):
Relevant Pages
|