![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
bettyc (bettyc (AT) discussions (DOT) microsoft.com) 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 (AT) sommarskog (DOT) se 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/prodinf...ons/books.mspx |
#4
| |||
| |||
|
|
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 (AT) discussions (DOT) microsoft.com) 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 (AT) sommarskog (DOT) se 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/prodinf...ons/books.mspx |
#5
| |||
| |||
|
|
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...soft (DOT) com, "bettyc" bettyc (AT) discussions (DOT) microsoft.com> 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 (AT) discussions (DOT) microsoft.com) 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 (AT) sommarskog (DOT) se 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/prodinf...ons/books.mspx |
#6
| |||
| |||
|
|
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". |
#7
| |||
| |||
|
|
bettyc (bettyc (AT) discussions (DOT) microsoft.com) writes: C:\SQLCMD –S . \SQLEXPRESS ‘SQLCMD’ is not recognized as an internal or external command operable program or batch file. It may be that it is not in your path. Try this: "C:\Program Files\Microsoft SQL Server\90\Tools\binn\SQLCMD.EXE" -S ..\SQLEXPRES Notes: 1) This should be all one line. 2) This may not be the exact location (but it is the one I would expect), so you may have to look around. ===================== 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 ================== Yes, you defintely have an instance of SQL Server on the machine. Those files are from patches to it. 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". You could, but if you already have one, the easiest is to use it. Oh, also check in the Start Menu, if you have a Microsoft SQL Server program group. In that case, you should find the SQL Server Configuration Manager there where you can tell which instances you currently have installed. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se 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/prodinf...ons/books.mspx |
#8
| |||
| |||
|
|
tried the things you suggest - but did not find the file. Then did a "search" of SQLCMD.exe and found one in each of the following files in in each of the folders: C:\WINDOWS\SQL9_KB948109_ENU C:\WINDOWS\SQL9_KB960089_ENU C:\WINDOWS\SQLTools9_KB948109_ENU C:\WINDOWS\SQLTools9_KB960089_ENU Are these the files I need? |
![]() |
| Thread Tools | |
| Display Modes | |
| |