Friday, March 30, 2012
Instance/sqlservr.exe problem
sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100% CPU
time, but I don't know to which instance it belongs?
regards, Tomatoma
DBCC MEMORYSTATUS on the both instances
"toma" <toma@.kolumbus.fi> wrote in message
news:ab32h.43057$8W7.25630@.reader1.news.jippii.net...
> Hi! I have SQL 2000 server with several instance. Every instance start own
> sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100%
> CPU time, but I don't know to which instance it belongs?
> regards, Toma
>|||From Task Manager, you can find the process ID of the sqlservr.exe process.
If the ProcessID column is not displayed, Go to Views -> Select Columns...
and click on PID.
In the errorlog of a SQL instance, the process ID of that instance is
reported at the beginning of the errorlog. Alternatively, you can query the
process ID of the instance with SERVERPROPERTY('ProcessID').
Linchi
"toma" wrote:
> Hi! I have SQL 2000 server with several instance. Every instance start own
> sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100% CP
U
> time, but I don't know to which instance it belongs?
> regards, Toma
>
>|||You can get the PID you see in Task Manager by executing the
following on an instance:
SELECT SERVERPROPERTY('ProcessID')
-Sue
On Wed, 1 Nov 2006 17:37:38 +0200, "toma" <toma@.kolumbus.fi>
wrote:
>Hi! I have SQL 2000 server with several instance. Every instance start own
>sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100% CPU
>time, but I don't know to which instance it belongs?
>regards, Toma
>
Instance/sqlservr.exe problem
sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100% CPU
time, but I don't know to which instance it belongs?
regards, Toma
toma
DBCC MEMORYSTATUS on the both instances
"toma" <toma@.kolumbus.fi> wrote in message
news:ab32h.43057$8W7.25630@.reader1.news.jippii.net ...
> Hi! I have SQL 2000 server with several instance. Every instance start own
> sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100%
> CPU time, but I don't know to which instance it belongs?
> regards, Toma
>
|||From Task Manager, you can find the process ID of the sqlservr.exe process.
If the ProcessID column is not displayed, Go to Views -> Select Columns...
and click on PID.
In the errorlog of a SQL instance, the process ID of that instance is
reported at the beginning of the errorlog. Alternatively, you can query the
process ID of the instance with SERVERPROPERTY('ProcessID').
Linchi
"toma" wrote:
> Hi! I have SQL 2000 server with several instance. Every instance start own
> sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100% CPU
> time, but I don't know to which instance it belongs?
> regards, Toma
>
>
|||You can get the PID you see in Task Manager by executing the
following on an instance:
SELECT SERVERPROPERTY('ProcessID')
-Sue
On Wed, 1 Nov 2006 17:37:38 +0200, "toma" <toma@.kolumbus.fi>
wrote:
>Hi! I have SQL 2000 server with several instance. Every instance start own
>sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100% CPU
>time, but I don't know to which instance it belongs?
>regards, Toma
>
Instance/sqlservr.exe problem
sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100% CPU
time, but I don't know to which instance it belongs?
regards, Tomatoma
DBCC MEMORYSTATUS on the both instances
"toma" <toma@.kolumbus.fi> wrote in message
news:ab32h.43057$8W7.25630@.reader1.news.jippii.net...
> Hi! I have SQL 2000 server with several instance. Every instance start own
> sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100%
> CPU time, but I don't know to which instance it belongs?
> regards, Toma
>|||From Task Manager, you can find the process ID of the sqlservr.exe process.
If the ProcessID column is not displayed, Go to Views -> Select Columns...
and click on PID.
In the errorlog of a SQL instance, the process ID of that instance is
reported at the beginning of the errorlog. Alternatively, you can query the
process ID of the instance with SERVERPROPERTY('ProcessID').
Linchi
"toma" wrote:
> Hi! I have SQL 2000 server with several instance. Every instance start own
> sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100% CPU
> time, but I don't know to which instance it belongs?
> regards, Toma
>
>|||You can get the PID you see in Task Manager by executing the
following on an instance:
SELECT SERVERPROPERTY('ProcessID')
-Sue
On Wed, 1 Nov 2006 17:37:38 +0200, "toma" <toma@.kolumbus.fi>
wrote:
>Hi! I have SQL 2000 server with several instance. Every instance start own
>sqlservr.exe task on Task Manager. Now one of sqlservr.exe is take 100% CPU
>time, but I don't know to which instance it belongs?
>regards, Toma
>
instance name
I just install msde SQL2kdesksp3.exe and also WebMatrix.To use WebMatrix and manage database, i need something like: myservername\instancename to connect but how do i know my instance name ?i found, i needed to reboot. actually i can connect with my SERVERNAME but can i use my IP address instead SERVERNAME cause i would like to connect remotly. MSDE and Webmatrix are installed in my Windows 2003 Server and i would like to connect that database remotly.
Is it possible ?|||fixed
Wednesday, March 28, 2012
installtion file for SQL CE 2.0 to install in Real PocketPC
HI,
i have one instalation file of SQL CE 2.0 named setup.exe ,i installed that in my desktop it works well.i could not install the same file inside the pocketPC.Can any one give me some information about how to get the installation file of SQL CE 2.0 and how to install that in real pocketPC.Thanks in advance.
Best Regards
Ihsan
Not having worked with SQL CE 2.0 (available here) for a while I would assume that it follows the same pattern as the current verion which is that the installer is to be run on the desktop NOT the device. After running the installer either the runtime dlls or a mobile installer will be available - you should also read the ReadMe and consider installing the books online (available locally after installing the main SQL CE 2.0 installer)
Hope this helps.
Friday, March 23, 2012
Installing SQL Server Desktop Engine & Enterprise Manager
"MSDE2000A.exe".
Then, thinking I needed "sql2ksp3.exe" to install Enterprise Manager, I
attempted to install that.
But, I got an error message: "SQL Server 2000 is not installed on this
machine. Setup will now exit".
So, obviously the error message is wrong, as I did install SQL Server 2000.
So, don't know what to do.
One thing that may be affecting this is that when doing the S.S. 2000
install, I had to do it via a DOS window in order to set a flag for what's
called an "SA" password. And I was thinking that maybe that's affecting the
subsequent attempt to install Enterprise Manager?
I'm running WinXP Professional with SP2 on my PC.
A thought...since I really don't have SQL Server 2000 installed, but instead
the Desktop version, maybe "sql2ksp3.ext" is the wrong file?
Thanks.Hi,
Did you install MSDE SP3?
From the file name "sql2ksp3.exe", I think it's not the appropariate
release. The SP3 name for MSDE is sql2kdesksp3.exe.
You can download it from:
http://www.microsoft.com/downloads/details.aspx?familyid=90DCD52C-0488-4E46-
AFBF-ACACE5369FA3&displaylang=en
If you have any other questions or concerns, please feel free to let me
know.
Charles Wang
Microsoft Online Community Support
======================================================When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================This posting is provided "AS IS" with no warranties, a
nd confers no rights.
======================================================|||andyboy wrote on Thu, 3 Aug 2006 13:29:02 -0700:
> I downloaded and successfully installed SQL Server 2000 Desktop edition
> via "MSDE2000A.exe".
> Then, thinking I needed "sql2ksp3.exe" to install Enterprise Manager, I
> attempted to install that.
That's Service Pack 3 for SQL Server 2000. Enterprise Manager comes on the
SQL Server CD.
> But, I got an error message: "SQL Server 2000 is not installed on this
> machine. Setup will now exit".
> So, obviously the error message is wrong, as I did install SQL Server
> 2000. So, don't know what to do.
You installed SQL Server 2000 Desktop (MSDE). That is not the same as the
"proper" SQL Server (Standard and Enterprise).
> One thing that may be affecting this is that when doing the S.S. 2000
> install, I had to do it via a DOS window in order to set a flag for what's
> called an "SA" password. And I was thinking that maybe that's affecting
> the subsequent attempt to install Enterprise Manager?
> I'm running WinXP Professional with SP2 on my PC.
> A thought...since I really don't have SQL Server 2000 installed, but
> instead the Desktop version, maybe "sql2ksp3.ext" is the wrong file?
> Thanks.
If you want Enterprise Manager, you'll need to buy SQL Server. The
Desktop/MSDE version doesn't come with a GUI management tool. I'm not sure
if the SQL Server Express 2005 Management Studio GUI will work with Desktop
2000, if it does then you could use that.
Dan|||ok, thanks and 2 things:
1) the link you posted to get 'sql2kdesksp3.exe' isn't valid.
2) can I install Enterprise Manager with the desktop sql server?
"Charles Wang[MSFT]" wrote:
> Hi,
> Did you install MSDE SP3?
> From the file name "sql2ksp3.exe", I think it's not the appropariate
> release. The SP3 name for MSDE is sql2kdesksp3.exe.
> You can download it from:
> http://www.microsoft.com/downloads/details.aspx?familyid=90DCD52C-0488-4E46-
> AFBF-ACACE5369FA3&displaylang=en
> If you have any other questions or concerns, please feel free to let me
> know.
> Charles Wang
> Microsoft Online Community Support
> ======================================================> When responding to posts, please "Reply to Group" via
> your newsreader so that others may learn and benefit
> from this issue.
> ======================================================> This posting is provided "AS IS" with no warranties, a
> nd confers no rights.
> ======================================================>|||and I did successfully install sql server version 8.00.760.
so, is that the desktop version of sql server, or is it the 'full' version?
and if it's the full version, I'd prefer to leave it installed, I guess, and
then install Enterprise Manager for it.
so, how do I do that?
thanks.
"Charles Wang[MSFT]" wrote:
> Hi,
> Did you install MSDE SP3?
> From the file name "sql2ksp3.exe", I think it's not the appropariate
> release. The SP3 name for MSDE is sql2kdesksp3.exe.
> You can download it from:
> http://www.microsoft.com/downloads/details.aspx?familyid=90DCD52C-0488-4E46-
> AFBF-ACACE5369FA3&displaylang=en
> If you have any other questions or concerns, please feel free to let me
> know.
> Charles Wang
> Microsoft Online Community Support
> ======================================================> When responding to posts, please "Reply to Group" via
> your newsreader so that others may learn and benefit
> from this issue.
> ======================================================> This posting is provided "AS IS" with no warranties, a
> nd confers no rights.
> ======================================================>|||Hi,
Thanks for your post.
I tried the link again and can get access the web. The sql2kdesksp3.exe
package for downloading locates under the page below.
I recommend that you check wheter or not the url is devided into two lines.
If so, you need to combine the two lines into one line url.
You can install SQL Enterprise Mnager with MSDE2000, however, you need to
install it with named instance.
It's only allowed only one default instance installed on one server.
Sincerely yours,
Charles Wang
Microsoft Online Community Support|||Hi ,
I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.
Have a great day!
Charles Wang
Microsoft Online Community Support
Wednesday, March 21, 2012
Installing SQL Server Desktop Engine & Enterprise Manager
"MSDE2000A.exe".
Then, thinking I needed "sql2ksp3.exe" to install Enterprise Manager, I
attempted to install that.
But, I got an error message: "SQL Server 2000 is not installed on this
machine. Setup will now exit".
So, obviously the error message is wrong, as I did install SQL Server 2000.
So, don't know what to do.
One thing that may be affecting this is that when doing the S.S. 2000
install, I had to do it via a DOS window in order to set a flag for what's
called an "SA" password. And I was thinking that maybe that's affecting the
subsequent attempt to install Enterprise Manager?
I'm running WinXP Professional with SP2 on my PC.
A thought...since I really don't have SQL Server 2000 installed, but instead
the Desktop version, maybe "sql2ksp3.ext" is the wrong file?
Thanks.Hi,
Did you install MSDE SP3?
From the file name "sql2ksp3.exe", I think it's not the appropariate
release. The SP3 name for MSDE is sql2kdesksp3.exe.
You can download it from:
http://www.microsoft.com/downloads/...D52C-0488-4E46-
AFBF-ACACE5369FA3&displaylang=en
If you have any other questions or concerns, please feel free to let me
know.
Charles Wang
Microsoft Online Community Support
========================================
==============
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
========================================
==============
This posting is provided "AS IS" with no warranties, a
nd confers no rights.
========================================
==============|||andyboy wrote on Thu, 3 Aug 2006 13:29:02 -0700:
> I downloaded and successfully installed SQL Server 2000 Desktop edition
> via "MSDE2000A.exe".
> Then, thinking I needed "sql2ksp3.exe" to install Enterprise Manager, I
> attempted to install that.
That's Service Pack 3 for SQL Server 2000. Enterprise Manager comes on the
SQL Server CD.
> But, I got an error message: "SQL Server 2000 is not installed on this
> machine. Setup will now exit".
> So, obviously the error message is wrong, as I did install SQL Server
> 2000. So, don't know what to do.
You installed SQL Server 2000 Desktop (MSDE). That is not the same as the
"proper" SQL Server (Standard and Enterprise).
> One thing that may be affecting this is that when doing the S.S. 2000
> install, I had to do it via a DOS window in order to set a flag for what's
> called an "SA" password. And I was thinking that maybe that's affecting
> the subsequent attempt to install Enterprise Manager?
> I'm running WinXP Professional with SP2 on my PC.
> A thought...since I really don't have SQL Server 2000 installed, but
> instead the Desktop version, maybe "sql2ksp3.ext" is the wrong file?
> Thanks.
If you want Enterprise Manager, you'll need to buy SQL Server. The
Desktop/MSDE version doesn't come with a GUI management tool. I'm not sure
if the SQL Server Express 2005 Management Studio GUI will work with Desktop
2000, if it does then you could use that.
Dan|||ok, thanks and 2 things:
1) the link you posted to get 'sql2kdesksp3.exe' isn't valid.
2) can I install Enterprise Manager with the desktop sql server?
"Charles Wang[MSFT]" wrote:
> Hi,
> Did you install MSDE SP3?
> From the file name "sql2ksp3.exe", I think it's not the appropariate
> release. The SP3 name for MSDE is sql2kdesksp3.exe.
> You can download it from:
> [url]http://www.microsoft.com/downloads/details.aspx?familyid=90DCD52C-0488-4E46-[/ur
l]
> AFBF-ACACE5369FA3&displaylang=en
> If you have any other questions or concerns, please feel free to let me
> know.
> Charles Wang
> Microsoft Online Community Support
> ========================================
==============
> When responding to posts, please "Reply to Group" via
> your newsreader so that others may learn and benefit
> from this issue.
> ========================================
==============
> This posting is provided "AS IS" with no warranties, a
> nd confers no rights.
> ========================================
==============
>|||and I did successfully install sql server version 8.00.760.
so, is that the desktop version of sql server, or is it the 'full' version?
and if it's the full version, I'd prefer to leave it installed, I guess, and
then install Enterprise Manager for it.
so, how do I do that?
thanks.
"Charles Wang[MSFT]" wrote:
> Hi,
> Did you install MSDE SP3?
> From the file name "sql2ksp3.exe", I think it's not the appropariate
> release. The SP3 name for MSDE is sql2kdesksp3.exe.
> You can download it from:
> [url]http://www.microsoft.com/downloads/details.aspx?familyid=90DCD52C-0488-4E46-[/ur
l]
> AFBF-ACACE5369FA3&displaylang=en
> If you have any other questions or concerns, please feel free to let me
> know.
> Charles Wang
> Microsoft Online Community Support
> ========================================
==============
> When responding to posts, please "Reply to Group" via
> your newsreader so that others may learn and benefit
> from this issue.
> ========================================
==============
> This posting is provided "AS IS" with no warranties, a
> nd confers no rights.
> ========================================
==============
>|||Hi,
Thanks for your post.
I tried the link again and can get access the web. The sql2kdesksp3.exe
package for downloading locates under the page below.
I recommend that you check wheter or not the url is devided into two lines.
If so, you need to combine the two lines into one line url.
You can install SQL Enterprise Mnager with MSDE2000, however, you need to
install it with named instance.
It's only allowed only one default instance installed on one server.
Sincerely yours,
Charles Wang
Microsoft Online Community Support|||Hi ,
I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.
Have a great day!
Charles Wang
Microsoft Online Community Support
Wednesday, March 7, 2012
installing SQL Express via commandline
So, I read this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=416220&SiteID=1, which suggested that I could call SQLEXPR32.EXE (the SP2 download) with the relevant commandline args in exactly the same way I could call setup.exe. Namely, if I were to call:
Code Snippet
setup.exe /qb /settings "c:/setup.ini"then I should be able to use
Code Snippet
SQLEXPR32.exe /qb /settings "c:/setup.ini"where my setup.ini contains
Code Snippet
[Options]ADDLOCAL=SQL_Data_Files,SQL_Replication,Connectivity
INSTANCENAME=AuctionI
SAPWD=auctioni_000
SECURITYMODE=SQL
However, this doesn't seem to be working at all - the commandline params to SQLEXPR32.EXE are completely ignored, and it runs as if they were not specified.
Would be great to get some help on this. I'm equally happy with the set of commands I need to call in order to extract SQLEXPR32 and then run setup, but SQLEXPR32 seems to extract to a random GUID dir, and automatically start setup, neither of which is condusive to automating it.
Thanks,
Dan
hi Dan,
you did not specify the /settings parameter, which identifies the template ini file to be consumed..
I just tested an installation as following:
c:\start /wait c:\share\sqlexpr.exe /qb /settings c:\share\sqlexpress.ini
[file sqlexpress.ini]
[OPTIONS]
ADDLOCAL=SQL_Engine
INSTANCENAME=MyInstance
SAPWD=auctioni_000
SECURITYMODE=SQL
[/file sqlexpress.ini]
and worked as expected..
regards
|||Hi Andrea,
Isn't that exactly what I have in my code snippet? I have /settings "c:\settings.ini" right there... Also, the key here is that I want this to work with the SP2 download of SQLExpress, specifically, this file: http://go.microsoft.com/fwlink/?LinkId=65212
(not the files that are a result of extracting that file)
Probably I am missing something simple in your reply.
Thanks much,
Dan
|||-- bump --|||bump again|||hi Dan,
Dan560472 wrote:
Hi Andrea,
Isn't that exactly what I have in my code snippet? I have /settings "c:\settings.ini" right there... Also, the key here is that I want this to work with the SP2 download of SQLExpress, specifically, this file: http://go.microsoft.com/fwlink/?LinkId=65212
(not the files that are a result of extracting that file)
Probably I am missing something simple in your reply.
Thanks much,
Dan
sorry, I've misread your post, but my test actually worked as expected... so the following question comes to mind.. is the setting file available and present in the target file system in order to be consumed by the setup?
regards
|||Dan-
I am working with this exact process right now for an installation project in my office. In order to use the command line parameters you first have to extract the SQLEXPR32.EXE file by typing something such as c:\(dirname)\SQLEXPR32.EXE /X
Setup will then prompt you for a place to extract the files and you can then use the SETUP.EXE command from that folder with the /SETTINGS option. Hope this helps.
Braden
installing SQL Express via commandline
So, I read this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=416220&SiteID=1, which suggested that I could call SQLEXPR32.EXE (the SP2 download) with the relevant commandline args in exactly the same way I could call setup.exe. Namely, if I were to call:
Code Snippet
setup.exe /qb /settings "c:/setup.ini"then I should be able to use
Code Snippet
SQLEXPR32.exe /qb /settings "c:/setup.ini"where my setup.ini contains
Code Snippet
[Options]ADDLOCAL=SQL_Data_Files,SQL_Replication,Connectivity
INSTANCENAME=AuctionI
SAPWD=auctioni_000
SECURITYMODE=SQL
However, this doesn't seem to be working at all - the commandline params to SQLEXPR32.EXE are completely ignored, and it runs as if they were not specified.
Would be great to get some help on this. I'm equally happy with the set of commands I need to call in order to extract SQLEXPR32 and then run setup, but SQLEXPR32 seems to extract to a random GUID dir, and automatically start setup, neither of which is condusive to automating it.
Thanks,
Dan
hi Dan,
you did not specify the /settings parameter, which identifies the template ini file to be consumed..
I just tested an installation as following:
c:\start /wait c:\share\sqlexpr.exe /qb /settings c:\share\sqlexpress.ini
[file sqlexpress.ini]
[OPTIONS]
ADDLOCAL=SQL_Engine
INSTANCENAME=MyInstance
SAPWD=auctioni_000
SECURITYMODE=SQL
[/file sqlexpress.ini]
and worked as expected..
regards
|||Hi Andrea,
Isn't that exactly what I have in my code snippet? I have /settings "c:\settings.ini" right there... Also, the key here is that I want this to work with the SP2 download of SQLExpress, specifically, this file: http://go.microsoft.com/fwlink/?LinkId=65212
(not the files that are a result of extracting that file)
Probably I am missing something simple in your reply.
Thanks much,
Dan
|||-- bump --|||bump again|||hi Dan,
Dan560472 wrote:
Hi Andrea,
Isn't that exactly what I have in my code snippet? I have /settings "c:\settings.ini" right there... Also, the key here is that I want this to work with the SP2 download of SQLExpress, specifically, this file: http://go.microsoft.com/fwlink/?LinkId=65212
(not the files that are a result of extracting that file)
Probably I am missing something simple in your reply.
Thanks much,
Dan
sorry, I've misread your post, but my test actually worked as expected... so the following question comes to mind.. is the setting file available and present in the target file system in order to be consumed by the setup?
regards
|||Dan-
I am working with this exact process right now for an installation project in my office. In order to use the command line parameters you first have to extract the SQLEXPR32.EXE file by typing something such as c:\(dirname)\SQLEXPR32.EXE /X
Setup will then prompt you for a place to extract the files and you can then use the SETUP.EXE command from that folder with the /SETTINGS option. Hope this helps.
Braden
installing SQL Express via commandline
So, I read this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=416220&SiteID=1, which suggested that I could call SQLEXPR32.EXE (the SP2 download) with the relevant commandline args in exactly the same way I could call setup.exe. Namely, if I were to call:
Code Snippet
setup.exe /qb /settings "c:/setup.ini"then I should be able to use
Code Snippet
SQLEXPR32.exe /qb /settings "c:/setup.ini"where my setup.ini contains
Code Snippet
[Options]ADDLOCAL=SQL_Data_Files,SQL_Replication,Connectivity
INSTANCENAME=AuctionI
SAPWD=auctioni_000
SECURITYMODE=SQL
However, this doesn't seem to be working at all - the commandline params to SQLEXPR32.EXE are completely ignored, and it runs as if they were not specified.
Would be great to get some help on this. I'm equally happy with the set of commands I need to call in order to extract SQLEXPR32 and then run setup, but SQLEXPR32 seems to extract to a random GUID dir, and automatically start setup, neither of which is condusive to automating it.
Thanks,
Dan
hi Dan,
you did not specify the /settings parameter, which identifies the template ini file to be consumed..
I just tested an installation as following:
c:\start /wait c:\share\sqlexpr.exe /qb /settings c:\share\sqlexpress.ini
[file sqlexpress.ini]
[OPTIONS]
ADDLOCAL=SQL_Engine
INSTANCENAME=MyInstance
SAPWD=auctioni_000
SECURITYMODE=SQL
[/file sqlexpress.ini]
and worked as expected..
regards
|||Hi Andrea,
Isn't that exactly what I have in my code snippet? I have /settings "c:\settings.ini" right there... Also, the key here is that I want this to work with the SP2 download of SQLExpress, specifically, this file: http://go.microsoft.com/fwlink/?LinkId=65212
(not the files that are a result of extracting that file)
Probably I am missing something simple in your reply.
Thanks much,
Dan
|||-- bump --|||bump again|||hi Dan,
Dan560472 wrote:
Hi Andrea,
Isn't that exactly what I have in my code snippet? I have /settings "c:\settings.ini" right there... Also, the key here is that I want this to work with the SP2 download of SQLExpress, specifically, this file: http://go.microsoft.com/fwlink/?LinkId=65212
(not the files that are a result of extracting that file)
Probably I am missing something simple in your reply.
Thanks much,
Dan
sorry, I've misread your post, but my test actually worked as expected... so the following question comes to mind.. is the setting file available and present in the target file system in order to be consumed by the setup?
regards
|||Dan-
I am working with this exact process right now for an installation project in my office. In order to use the command line parameters you first have to extract the SQLEXPR32.EXE file by typing something such as c:\(dirname)\SQLEXPR32.EXE /X
Setup will then prompt you for a place to extract the files and you can then use the SETUP.EXE command from that folder with the /SETTINGS option. Hope this helps.
Braden
installing SQL Express via commandline
So, I read this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=416220&SiteID=1, which suggested that I could call SQLEXPR32.EXE (the SP2 download) with the relevant commandline args in exactly the same way I could call setup.exe. Namely, if I were to call:
Code Snippet
setup.exe /qb /settings "c:/setup.ini"then I should be able to use
Code Snippet
SQLEXPR32.exe /qb /settings "c:/setup.ini"where my setup.ini contains
Code Snippet
[Options]ADDLOCAL=SQL_Data_Files,SQL_Replication,Connectivity
INSTANCENAME=AuctionI
SAPWD=auctioni_000
SECURITYMODE=SQL
However, this doesn't seem to be working at all - the commandline params to SQLEXPR32.EXE are completely ignored, and it runs as if they were not specified.
Would be great to get some help on this. I'm equally happy with the set of commands I need to call in order to extract SQLEXPR32 and then run setup, but SQLEXPR32 seems to extract to a random GUID dir, and automatically start setup, neither of which is condusive to automating it.
Thanks,
Dan
hi Dan,
you did not specify the /settings parameter, which identifies the template ini file to be consumed..
I just tested an installation as following:
c:\start /wait c:\share\sqlexpr.exe /qb /settings c:\share\sqlexpress.ini
[file sqlexpress.ini]
[OPTIONS]
ADDLOCAL=SQL_Engine
INSTANCENAME=MyInstance
SAPWD=auctioni_000
SECURITYMODE=SQL
[/file sqlexpress.ini]
and worked as expected..
regards
|||Hi Andrea,
Isn't that exactly what I have in my code snippet? I have /settings "c:\settings.ini" right there... Also, the key here is that I want this to work with the SP2 download of SQLExpress, specifically, this file: http://go.microsoft.com/fwlink/?LinkId=65212
(not the files that are a result of extracting that file)
Probably I am missing something simple in your reply.
Thanks much,
Dan
|||-- bump --|||bump again|||hi Dan,
Dan560472 wrote:
Hi Andrea,
Isn't that exactly what I have in my code snippet? I have /settings "c:\settings.ini" right there... Also, the key here is that I want this to work with the SP2 download of SQLExpress, specifically, this file: http://go.microsoft.com/fwlink/?LinkId=65212
(not the files that are a result of extracting that file)
Probably I am missing something simple in your reply.
Thanks much,
Dan
sorry, I've misread your post, but my test actually worked as expected... so the following question comes to mind.. is the setting file available and present in the target file system in order to be consumed by the setup?
regards
|||Dan-
I am working with this exact process right now for an installation project in my office. In order to use the command line parameters you first have to extract the SQLEXPR32.EXE file by typing something such as c:\(dirname)\SQLEXPR32.EXE /X
Setup will then prompt you for a place to extract the files and you can then use the SETUP.EXE command from that folder with the /SETTINGS option. Hope this helps.
Braden
Installing SQL Express from command prompt
command prompt. I've downloaded the redistributable SQLEXPR32.EXE and
now want to get my hands on setup.exe, template.ini, etc.. that I will
run from the command prompt. I can see them being created in a
temporary folder when I launch SQLEXPR32.EXE, but they cannot be
accessed or copied because they are in use, and when I quit the GUI
installer all the files disappear.
Anyone out there had any success a doing this with Express?See the following article on how to install SQL Server 2005 from the command
prompt:
http://msdn2.microsoft.com/en-us/library/ms144259.aspx
Towards the end of the article you will see all parameters that can be
configured to create an installation ini script.
Regards,
Plamen Ratchev
http://www.SQLStudio.com|||On 28 Feb, 16:31, "Plamen Ratchev" <Pla...@.SQLStudio.com> wrote:
> See the following article on how to install SQL Server 2005 from the comma
nd
> prompt:http://msdn2.microsoft.com/en-us/library/ms144259.aspx
> Towards the end of the article you will see all parameters that can be
> configured to create an installation ini script.
> Regards,
> Plamen Ratchevhttp://www.SQLStudio.com
read it already. Have you installed Express from the command prompt
successfully? Like I said in original post I can't get hold of all
the files that are generated by running the redistributable. I could
get hold of the setup.exe and build my own ini script but won't I be
missing files?|||Yes, I have installed successfully SQL Server Express from the command
prompt. You do not need to access directly the extracted files. The
compressed installer file (SQLEXPR32.EXE) supports the same command line
parameters as setup.exe. Actually it will just pass the parameters to
setup.exe once it is extracted onto the hard drive.
Regards,
Plamen Ratchev
http://www.SQLStudio.com|||Si,
It is necessary to include the full path name of the ini file in quotes:
SQLEXPR32.exe /qn /settings "C:\MyDir\command.ini"
Also if the install had failed earlier it is necessary to go to Add/Remove
programs and clean outany Microsoft SQL progams before re-running this.
One culprit is "Microsoft SQL Server Native Client" that remains after a
failed install.
Scott
"Si" wrote:
> I'm attempted to run an installation of SQL Express 2005 from the
> command prompt. I've downloaded the redistributable SQLEXPR32.EXE and
> now want to get my hands on setup.exe, template.ini, etc.. that I will
> run from the command prompt. I can see them being created in a
> temporary folder when I launch SQLEXPR32.EXE, but they cannot be
> accessed or copied because they are in use, and when I quit the GUI
> installer all the files disappear.
> Anyone out there had any success a doing this with Express?
>
Installing SQL Express from command prompt
command prompt. I've downloaded the redistributable SQLEXPR32.EXE and
now want to get my hands on setup.exe, template.ini, etc.. that I will
run from the command prompt. I can see them being created in a
temporary folder when I launch SQLEXPR32.EXE, but they cannot be
accessed or copied because they are in use, and when I quit the GUI
installer all the files disappear.
Anyone out there had any success a doing this with Express?
See the following article on how to install SQL Server 2005 from the command
prompt:
http://msdn2.microsoft.com/en-us/library/ms144259.aspx
Towards the end of the article you will see all parameters that can be
configured to create an installation ini script.
Regards,
Plamen Ratchev
http://www.SQLStudio.com
|||On 28 Feb, 16:31, "Plamen Ratchev" <Pla...@.SQLStudio.com> wrote:
> See the following article on how to install SQL Server 2005 from the command
> prompt:http://msdn2.microsoft.com/en-us/library/ms144259.aspx
> Towards the end of the article you will see all parameters that can be
> configured to create an installation ini script.
> Regards,
> Plamen Ratchevhttp://www.SQLStudio.com
read it already. Have you installed Express from the command prompt
successfully? Like I said in original post I can't get hold of all
the files that are generated by running the redistributable. I could
get hold of the setup.exe and build my own ini script but won't I be
missing files?
|||Yes, I have installed successfully SQL Server Express from the command
prompt. You do not need to access directly the extracted files. The
compressed installer file (SQLEXPR32.EXE) supports the same command line
parameters as setup.exe. Actually it will just pass the parameters to
setup.exe once it is extracted onto the hard drive.
Regards,
Plamen Ratchev
http://www.SQLStudio.com
|||Si,
It is necessary to include the full path name of the ini file in quotes:
SQLEXPR32.exe /qn /settings "C:\MyDir\command.ini"
Also if the install had failed earlier it is necessary to go to Add/Remove
programs and clean outany Microsoft SQL progams before re-running this.
One culprit is "Microsoft SQL Server Native Client" that remains after a
failed install.
Scott
"Si" wrote:
> I'm attempted to run an installation of SQL Express 2005 from the
> command prompt. I've downloaded the redistributable SQLEXPR32.EXE and
> now want to get my hands on setup.exe, template.ini, etc.. that I will
> run from the command prompt. I can see them being created in a
> temporary folder when I launch SQLEXPR32.EXE, but they cannot be
> accessed or copied because they are in use, and when I quit the GUI
> installer all the files disappear.
> Anyone out there had any success a doing this with Express?
>
Installing SQL Express from command prompt
command prompt. I've downloaded the redistributable SQLEXPR32.EXE and
now want to get my hands on setup.exe, template.ini, etc.. that I will
run from the command prompt. I can see them being created in a
temporary folder when I launch SQLEXPR32.EXE, but they cannot be
accessed or copied because they are in use, and when I quit the GUI
installer all the files disappear.
Anyone out there had any success a doing this with Express?See the following article on how to install SQL Server 2005 from the command
prompt:
http://msdn2.microsoft.com/en-us/library/ms144259.aspx
Towards the end of the article you will see all parameters that can be
configured to create an installation ini script.
Regards,
Plamen Ratchev
http://www.SQLStudio.com|||On 28 Feb, 16:31, "Plamen Ratchev" <Pla...@.SQLStudio.com> wrote:
> See the following article on how to install SQL Server 2005 from the command
> prompt:http://msdn2.microsoft.com/en-us/library/ms144259.aspx
> Towards the end of the article you will see all parameters that can be
> configured to create an installation ini script.
> Regards,
> Plamen Ratchevhttp://www.SQLStudio.com
read it already. Have you installed Express from the command prompt
successfully? Like I said in original post I can't get hold of all
the files that are generated by running the redistributable. I could
get hold of the setup.exe and build my own ini script but won't I be
missing files?|||Yes, I have installed successfully SQL Server Express from the command
prompt. You do not need to access directly the extracted files. The
compressed installer file (SQLEXPR32.EXE) supports the same command line
parameters as setup.exe. Actually it will just pass the parameters to
setup.exe once it is extracted onto the hard drive.
Regards,
Plamen Ratchev
http://www.SQLStudio.com|||Si,
It is necessary to include the full path name of the ini file in quotes:
SQLEXPR32.exe /qn /settings "C:\MyDir\command.ini"
Also if the install had failed earlier it is necessary to go to Add/Remove
programs and clean outany Microsoft SQL progams before re-running this.
One culprit is "Microsoft SQL Server Native Client" that remains after a
failed install.
Scott
"Si" wrote:
> I'm attempted to run an installation of SQL Express 2005 from the
> command prompt. I've downloaded the redistributable SQLEXPR32.EXE and
> now want to get my hands on setup.exe, template.ini, etc.. that I will
> run from the command prompt. I can see them being created in a
> temporary folder when I launch SQLEXPR32.EXE, but they cannot be
> accessed or copied because they are in use, and when I quit the GUI
> installer all the files disappear.
> Anyone out there had any success a doing this with Express?
>
Friday, February 24, 2012
Installing SQL Errors - Anyone please read my log file
Microsoft SQL Server 2005 Setup beginning at Sat Jan 14 20:31:52 2006
Process ID : 896
c:\ef878dcc6c3c3c0766424d939e4b7c78\setup.exe Version: 2005.90.1399.0
Running: LoadResourcesAction at: 2006/0/14 20:31:51
Complete: LoadResourcesAction at: 2006/0/14 20:31:51, returned true
Running: ParseBootstrapOptionsAction at: 2006/0/14 20:31:51
Loaded DLL:c:\ef878dcc6c3c3c0766424d939e4b7c78\xmlrw.dll Version:2.0.3604.0
Complete: ParseBootstrapOptionsAction at: 2006/0/14 20:31:52, returned true
Running: ValidateWinNTAction at: 2006/0/14 20:31:52
Complete: ValidateWinNTAction at: 2006/0/14 20:31:52, returned true
Running: ValidateMinOSAction at: 2006/0/14 20:31:52
Complete: ValidateMinOSAction at: 2006/0/14 20:31:52, returned true
Running: PerformSCCAction at: 2006/0/14 20:31:52
Complete: PerformSCCAction at: 2006/0/14 20:31:52, returned true
Running: ActivateLoggingAction at: 2006/0/14 20:31:52
Complete: ActivateLoggingAction at: 2006/0/14 20:31:52, returned true
Delay load of action "DetectPatchedBootstrapAction" returned nothing. No action will occur as a result.
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__896" returned false.
Running: PerformSCCAction2 at: 2006/0/14 20:31:52
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Product "{2750B389-A2D2-4953-99CA-27C1F2A8E6FD}" versioned 9.00.1116 is not compatible with current builds of SQL Server.Expected at least version: 9.00.1399.06
The Product Name is "Microsoft SQL Server 2005 Tools Express Edition CTP"
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Error: Action "PerformSCCAction2" threw an exception during execution.
Return Code: 70032
Message displayed to user
SQL Server 2005 Setup has detected incompatible components from beta versions of Visual Studio, .NET Framework, or SQL Server 2005. Use Add or Remove Programs to remove these components, and then run SQL Server 2005 Setup again. For detailed instructions on uninstalling SQL Server 2005, see the SQL Server 2005 Readme.
Class not registered.
Delay load of action "UploadDrWatsonLogAction" returned nothing. No action will occur as a result.
Message pump returning: 70032
I have scraped this maching clean and still get the residue beta version exception. Got any clues to find this stuff that exist on my machine- XP home addtion
In the note log it says Watson failed.
Try the following.
1. Uninstall all visible Beta components in Add/Remove Programes.
2. Detect the Beta components infromation in the the log file located in %Program Files%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup_%machinename%_Core(Local).log.
3. Search the whole registry keys, remove those registy keys related to those Beta components. This is time-consuming.
4. Kill all Beta SQL Services (including SQL, OLAP, RS, SQLBROWSER, SQLAGENT, etc.) if they are existing with command sc.
5. Reboot the machine.
6. Start Setup again.
Or you can send me email so I can send a script for you to clean beta components.
installing SQL 2005 Management Studio
When I try to install SQL Server 2005 Management Studio from the
SQLRun_Tools.exe file on the CD, I get a message saying the following:
"A component that you have specificed in the ADD_LOCAL propety is already
installed. To upgrade the existing component, refer to the template ini and
set the UPGRADE property to the name of the component."
How do I get past this and get the Studio installed?
Thanks!
childofthe1980sHi
To install the client tools from the command line check out
http://msdn2.microsoft.com/en-us/library/ms144259.aspx#installationscripts
and the ADDLOCAL option with the value SQL_Tools90
John
"childofthe1980s" wrote:
> Hello:
> When I try to install SQL Server 2005 Management Studio from the
> SQLRun_Tools.exe file on the CD, I get a message saying the following:
> "A component that you have specificed in the ADD_LOCAL propety is already
> installed. To upgrade the existing component, refer to the template ini and
> set the UPGRADE property to the name of the component."
> How do I get past this and get the Studio installed?
> Thanks!
> childofthe1980s
Installing SQL 2005 Express and attaching database from CD
Hi there,
I have created an .iss file which when compiled creates a setup.exe file on a cd rom. Within the .iss I have extracted the sqlexpress files out so that it will install straight from disk to the users machine rather than from the .msi file. All this has been successful so far....
My problem is:- I want to attach a database to the an instance of sqlexpress on the users machine. I have detached it from SQL Server 2000 and copied it over to the cd. The setup file copies these over the users hard drive. I have looked through many forums etc and the words that keep popping up are:-
sqlcmd.exe
template.ini
type into the command prompt.
Sorry if I'm a little ignorant but I am not sure how to go about these. How do I open the command prompt on the users machine from CD? Do I have to create something to do this?
Any information would be appreciated, any guidance or scripts would be great.
Regards
Sam
That depends how you do your copy job to copy the database to the folder. If you just copy it over you can just append another line with using the SQLCMD -Q"sp_attachdb ..... using the path to you already copied the file of the database to.Jens K. Suessmeyer.
http://www.sqlserver2005.de
|||
Thank you for your reply.
I'm still a little unsure of what you mean. Do you mean to add a new line of code within my .iss file.
I have detached my database from my machine using SQL Server 2000 and I want to attach it to the users machine from CD.
Here is a sample of the code within my .iss file.
[Files]
Source: "D:\dotnetfx.exe"; Flags: dontcopy
Source: "D:\WEB\WCU\SSE\SQLEXPR.EXE"; Flags: dontcopy
Source: "D:\UltiDevCassiniWebServer2.exe"; Flags: dontcopy
Source: "D:\CA\*"; DestDir: "C:\CA\"; Flags: ignoreversion recursesubdirs createallsubdirs ' aspx files
Source: "D:\CA.mdf"; DestDir: "C:\CA\"; Flags: ignoreversion recursesubdirs createallsubdirs ' detached database
Source: "D:\c_icons.ico"; DestDir: "C:\CA\"; Flags: ignoreversion
Source: "D:\CA.url"; DestDir: "{userdesktop}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Run]
Filename: "D:\WEB\WCU\SSE\SQLEXPR.EXE"; StatusMsg: "Installing SQL Server 2005 Express Edition..."; Flags: skipifdoesntexist;
Filename: "D:\UltiDevCassiniWebServer2.exe"; StatusMsg: "Installing UltiDev Cassini Web Server 2.0..."; Flags: skipifdoesntexist;
thanks
Sam
Sunday, February 19, 2012
installing sp3?
trying to install sp3a because it is a prereq for reporting services.
I installed sql2ksp3.exe. Everything seems to install fine and a messagebox
is
returned with a the "package has been installed succesful" message.
I restarted sql then ran the @.@. version query and still sp2
I restarted Window, then ran the query again with the same result
What my next step?
--
---
Yes, I searched first :)> I restarted sql then ran the @.@. version query and still sp2
AFAIK @.@.version gives you the SP of the OS, not of the SQL Server. What do
you get if you run
SELECT SERVERPROPERTY('ProductLevel')
?
--
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com|||SELECT SERVERPROPERTY('ProductLevel')
returns "sp2"
by the way:
@.@.version returns
sql 8.00.534 . thats not my OS.
"Dejan Sarka" wrote:
> > I restarted sql then ran the @.@. version query and still sp2
> AFAIK @.@.version gives you the SP of the OS, not of the SQL Server. What do
> you get if you run
> SELECT SERVERPROPERTY('ProductLevel')
> ?
> --
> Dejan Sarka, SQL Server MVP
> Associate Mentor
> www.SolidQualityLearning.com
>
>|||It only installed the setup locally, now you need to run the setup. The
default setup install location is c:\sql2ksp3
Jeff
"Kmistic" <Kmistic@.discussions.microsoft.com> wrote in message
news:F4074DFD-0CA9-4843-82D5-969D431D2866@.microsoft.com...
> I am using SQL 2000 Developers Edition with sp2
> trying to install sp3a because it is a prereq for reporting services.
> I installed sql2ksp3.exe. Everything seems to install fine and a
messagebox
> is
> returned with a the "package has been installed succesful" message.
> I restarted sql then ran the @.@. version query and still sp2
> I restarted Window, then ran the query again with the same result
> What my next step?
> --
> ---
> Yes, I searched first :)|||ok, i see now. Thanks Jeff Dillon!!
"Jeff Dillon" wrote:
> It only installed the setup locally, now you need to run the setup. The
> default setup install location is c:\sql2ksp3
> Jeff
> "Kmistic" <Kmistic@.discussions.microsoft.com> wrote in message
> news:F4074DFD-0CA9-4843-82D5-969D431D2866@.microsoft.com...
> > I am using SQL 2000 Developers Edition with sp2
> >
> > trying to install sp3a because it is a prereq for reporting services.
> >
> > I installed sql2ksp3.exe. Everything seems to install fine and a
> messagebox
> > is
> > returned with a the "package has been installed succesful" message.
> >
> > I restarted sql then ran the @.@. version query and still sp2
> >
> > I restarted Window, then ran the query again with the same result
> >
> > What my next step?
> > --
> > ---
> > Yes, I searched first :)
>
>|||> by the way:
> @.@.version returns
> sql 8.00.534 . thats not my OS.
In your first post you did not mention version number, but you metioned
service pack explicitly, and @.@.version returns explicit service pack of the
OS.
--
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com
installing sp3?
trying to install sp3a because it is a prereq for reporting services.
I installed sql2ksp3.exe. Everything seems to install fine and a messagebox
is
returned with a the "package has been installed succesful" message.
I restarted sql then ran the @.@. version query and still sp2
I restarted Window, then ran the query again with the same result
What my next step?
Yes, I searched first
> I restarted sql then ran the @.@. version query and still sp2
AFAIK @.@.version gives you the SP of the OS, not of the SQL Server. What do
you get if you run
SELECT SERVERPROPERTY('ProductLevel')
?
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com
|||SELECT SERVERPROPERTY('ProductLevel')
returns "sp2"
by the way:
@.@.version returns
sql 8.00.534 . thats not my OS.
"Dejan Sarka" wrote:
> AFAIK @.@.version gives you the SP of the OS, not of the SQL Server. What do
> you get if you run
> SELECT SERVERPROPERTY('ProductLevel')
> ?
> --
> Dejan Sarka, SQL Server MVP
> Associate Mentor
> www.SolidQualityLearning.com
>
>
|||It only installed the setup locally, now you need to run the setup. The
default setup install location is c:\sql2ksp3
Jeff
"Kmistic" <Kmistic@.discussions.microsoft.com> wrote in message
news:F4074DFD-0CA9-4843-82D5-969D431D2866@.microsoft.com...
> I am using SQL 2000 Developers Edition with sp2
> trying to install sp3a because it is a prereq for reporting services.
> I installed sql2ksp3.exe. Everything seems to install fine and a
messagebox
> is
> returned with a the "package has been installed succesful" message.
> I restarted sql then ran the @.@. version query and still sp2
> I restarted Window, then ran the query again with the same result
> What my next step?
> --
> Yes, I searched first
|||ok, i see now. Thanks Jeff Dillon!!
"Jeff Dillon" wrote:
> It only installed the setup locally, now you need to run the setup. The
> default setup install location is c:\sql2ksp3
> Jeff
> "Kmistic" <Kmistic@.discussions.microsoft.com> wrote in message
> news:F4074DFD-0CA9-4843-82D5-969D431D2866@.microsoft.com...
> messagebox
>
>
|||> by the way:
> @.@.version returns
> sql 8.00.534 . thats not my OS.
In your first post you did not mention version number, but you metioned
service pack explicitly, and @.@.version returns explicit service pack of the
OS.
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com