Showing posts with label http. Show all posts
Showing posts with label http. Show all posts

Friday, March 30, 2012

Instance specified not valid

Hi,

I'm trying to install MSDE SP3 which I downloaded from MS at http://www.asp.net/msde/.
Following the instructions as best I can I unzipped the file into a Folder now called MSDE located on C: I then went to a command prompt and typed in the command given to start the install:

setup SAPWD=testsite SecurityMode=SQL

Hit enter and the installer started up and ran for a few secs and then came back with

The Instance named specified is invalid

There was no mention of including an instance name or the format for it.

Suggestions please?

Also, if I want to completly uninstall MSDE if I need to how would I do it?

Thanks,
BobWell, I had this message come up if I tried to run setup for the instance that was already on the system.

I used this setup to install msde on my machine.

setup instancename="netsdk" sapwd="your password for sa" securitymode=sql

Reason for using instance name netsdk was that it seems that SDK kit needs this instance to install pubs and nwind database.

After executing this i did not get any error messages but when I started service manager I could not see any servers listed. It took me solid two hours to come up with idea to look into error log and there it was.

2004-03-09 11:57:44.50 server Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Desktop Engine on Windows NT 5.1 (Build 2600: Service Pack 1)

2004-03-09 11:57:44.50 server Copyright (C) 1988-2002 Microsoft Corporation.
2004-03-09 11:57:44.50 server All rights reserved.
2004-03-09 11:57:44.50 server Server Process ID is 3456.
2004-03-09 11:57:44.50 server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL$NETSDK\LOG\ERRORLOG'.
2004-03-09 11:57:44.52 server SQL Server is starting at priority class 'normal'(2 CPUs detected).
2004-03-09 11:57:44.63 server SQL Server configured for thread mode processing.
2004-03-09 11:57:44.63 server Using dynamic lock allocation. [500] Lock Blocks, [1000] Lock Owner Blocks.
2004-03-09 11:57:44.63 spid2 Warning ******************
2004-03-09 11:57:44.63 spid2 SQL Server started in single user mode. Updates allowed to system catalogs.
2004-03-09 11:57:44.63 spid2 Starting up database 'master'.
2004-03-09 11:57:44.98 spid5 Starting up database 'model'.
2004-03-09 11:57:44.98 server Using 'SSNETLIB.DLL' version '8.0.766'.
2004-03-09 11:57:45.03 spid2 Server name is 'PC0491-EPITKA\NETSDK'.
2004-03-09 11:57:45.03 spid2 Skipping startup of clean database id 5
2004-03-09 11:57:45.03 spid2 Skipping startup of clean database id 6
2004-03-09 11:57:45.03 spid2 Starting up database 'msdb'.
2004-03-09 11:57:45.17 server SQL server listening on Shared Memory.
2004-03-09 11:57:45.17 server SQL Server is ready for client connections
2004-03-09 11:57:45.38 spid5 Clearing tempdb database.
2004-03-09 11:57:46.12 spid5 Starting up database 'tempdb'.
2004-03-09 11:57:46.20 spid2 Recovery complete.
2004-03-09 11:57:46.20 spid2 SQL global counter collection task is created.
2004-03-09 11:57:46.22 spid2 Warning: override, autoexec procedures skipped.
2004-03-09 11:57:56.94 spid51 Error: 15457, Severity: 0, State: 1
2004-03-09 11:57:56.94 spid51 Configuration option 'allow updates' changed from 0 to 1. Run the RECONFIGURE statement to install..
2004-03-09 11:57:57.08 spid51 Error: 15457, Severity: 0, State: 1
2004-03-09 11:57:57.08 spid51 Configuration option 'allow updates' changed from 1 to 0. Run the RECONFIGURE statement to install..
2004-03-09 11:57:57.34 spid2 SQL Server is terminating due to 'stop' request from Service Control Manager.

There is a line that says servername, I typed it in and I was able to start service. Log should be under c:\program files\microsoft sql server\mssql${your instance name}\log.

I am very new to windows world since I worked on Unix platform for past six years, so for you gurus out there this migth be something that does not need to be explained. Anyway I hope this helps.sql

Wednesday, March 28, 2012

Installing Visual Web Dev. 2005 Express: Must uninstall ANY previous versions of SQL Server

Hello,
According to http://msdn.microsoft.com/vstudio/express/vwd/download/, I have to uninstall any and all versions of SQL before I attempt to install the VWD 2005 express edition. is there a work around this? I currently have SQL 2000 installed for my work; a must have for me, I can't just uninstall it.
(yes I left a similar question in the Visual forums, but haven't received any replies as of yet..just fishing for an answer here)
thanks so much, looking forward to giving VWD a test drive.
Ron Malizia
rmalizia@.co.grays-harbor.wa.us

That warning was intended to have users remove any and all previous Betas of SQL Server 2005 prior to installing VWD Express.

It's okay to have MSDE or SQL 2000 on your box, or even to have SQL Server 2005 on your box. But if you have any of the SQL Server 2005 Betas or CTP installs, please remove them first.

-Jeffrey

Monday, March 26, 2012

installing SQLDMO 2005

This article describes how to install SQLDMO 2000.

http://support.microsoft.com/?kbid=326613

Anyone know the procedure for SQL 2005?

The procedure is basically the same. You need to register SQLDMO.DLL (typically located at %ProgramFiles%\Microsoft SQL Server\80\Tools\binn):

regsvr32 sqldmo.dll

For SQLDMO to work MDAC must be installed on your machine.

Hope this helps,

Artur Laksberg

SQL Server Team

|||

If you want to redist DMO with your application you need to include the Microsoft SQL Server 2005 Backward Compatibility Components MSI. The SP1 CTP is available here: http://www.microsoft.com/downloads/details.aspx?FamilyID=ae94bb12-c839-4b4f-a71b-412fb3a0500e&DisplayLang=en

RTM is available here: http://www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&DisplayLang=en

DMO is installed as part of this MSI.

installing SQLDMO 2005

This article describes how to install SQLDMO 2000.

http://support.microsoft.com/?kbid=326613

Anyone know the procedure for SQL 2005?

The procedure is basically the same. You need to register SQLDMO.DLL (typically located at %ProgramFiles%\Microsoft SQL Server\80\Tools\binn):

regsvr32 sqldmo.dll

For SQLDMO to work MDAC must be installed on your machine.

Hope this helps,

Artur Laksberg

SQL Server Team

|||

If you want to redist DMO with your application you need to include the Microsoft SQL Server 2005 Backward Compatibility Components MSI. The SP1 CTP is available here: http://www.microsoft.com/downloads/details.aspx?FamilyID=ae94bb12-c839-4b4f-a71b-412fb3a0500e&DisplayLang=en

RTM is available here: http://www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&DisplayLang=en

DMO is installed as part of this MSI.

Friday, March 23, 2012

Installing SQL Server Express edition

When I try to Install SQL Server expres edition I keep on getting this error: http://www.fambouman.com/SQLError.JPG

I'am running Windows SBS 2003 fully updated via windows update.. When I go to the URL mentioned in the error I get an error and the browser redirects to microsoft search.

Anybody know how I can setup SQL Expres ? I need it for dotnetnuke to run.

Thanks in advance

Sorry I can not read the error, could you post it in english.

|||

Sorry for the 'Dutch' error.. I thought mayb somebody could do something with it and I didn't really now how to 'generate' a english error.

But now I tried installing the 'english' version of SQL Server Expres and it gives the same error in english so here it is: http://www.fambouman.com/SQLError_english.JPG

Thanks in advance for helping me out.

|||

Hello Antonie,

it seems that your windows version does not match the requirements for sql server express.

To find out what windows version you have:

(Sorry, i'm from germany, i have the german version of windows,
and i don't know the english terms. I mentioned this here:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=466124&SiteID=1

I think it would be better when all developpers use the english original versions.
Then all developpers would use the same terms! On Condition that the well understandable
subset of english is used in the developper tools that microsoft uses today.)

To find out what windows version you have:
task manager / systemcontrol (try to translate...) / system /systemproperties.

To find out what windows versions are required:
http://msdn2.microsoft.com/en-us/library/ms143506(SQL.90).aspx

Regards,
Markus

Wednesday, March 21, 2012

Installing SQL Server 2005 Reporting Services

Dear All,

I've installed SQL Server 2005 Management Studio Express on my computer from

http://msdn.microsoft.com/vstudio/express/sql

Now, I would like to get SQL Server 2005 Reporting Services and Business Intelligence Developer Studio.

Can I go ahead and install "SQL Server 2005 Express Edition with Advanced Services" provided on the above link?

My question is, "SQL Server 2005 Express Edition with Advanced Services" comes with SQL Server 2005 Management Studio Express that I already have on my computer. When I install "SQL Server 2005 Express Edition with Advanced Services" , does it impact SQL Server 2005 Management Studio Express that I already have on my computer?

Do I have to uninstall Server 2005 Management Studio Express and

then...install "SQL Server 2005 Express Edition with Advanced Services" ?

Please suggest. Thank you

You are in the wrong forum. Please head over to the SQL Server Reporting Services forum for more assistance.|||This thread started in SSIS forum...moved to SSRS.|||You should be able to install "SQL Server 2005 Express Edition with Advanced Services SP1" and "SQL Server 2005 Express Edition Toolkit SP1" right over the top of whatever you got with VS Express. I'm pretty sure the setup programs will just skip over Management Studio Express if it's already on the box.sql

Monday, March 12, 2012

Integrate Reports in ASP.Net Web Form

Hi,
I have my reports at http:\\localhost\ReportServer and need to use them in
ASP.NET Web Form.I have a few questions reg. this
--> I want to generate a PDF when a button labeled "Generate Report" is
clicked"
(1) I tried this using the below code:
Dim myResponse As Byte()
Dim url As String = http://localhost/reportserver?/Reports/Sales
Invoice&ORDER_ID=1879&rs:Format=PDF
Dim myWebClient As New WebClient
myWebClient.Credentials = CredentialCache.DefaultCredentials
myResponse = myWebClient.DownloadData(url)
Response.ContentType = "application/pdf"
Response.AddHeader("content-disposition", "attachment; filename=Sales
Invoice.PDF")
Response.BinaryWrite(myResponse)
But got the error "The remote server returned an error: (403) Forbidden"
I have included "<identity impersonate="true"/>" in Web.Config File.
This Error is because the Credentials is null. I don't know why the
credentials are null even after I use myWebClient.Credentials = CredentialCache.DefaultCredentials
The same code works if I Create new Credentials specifying UserName and
Password. But I am cannot specify Username and password. The Application has
take the credentials from the server.
(2) Why can't I use the following one line of code(This works, I want to
know are there any kind issues with
this)Response.Redirect(http://localhost/reportserver?/Reports/Sales
Invoice&ORDER_ID=1879&rs:Format=PDF)
(3) What are other ways to integrate reports with ASP.NET Web Form.
(4)I need to deploy the Reports that I created in my machine to the server
I tried to deploy setting TargetServerURL=http://servername/ReportServer in
Project Properties, but got the error
"The permissions granted to user are insufficient for performing this
operation". What kind of permissions are required.
(5)What are different ways to deploy Reports on a Server.It sounds like you are running into the double hop issue. You can not make
an impersonated call to another machine if you are currently impersonated,
unless the machines trust one another. You would need to set up Kerberos to
get the machines to trust each other.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Kiran" <Kiran@.nospam.net> wrote in message
news:O7VH3Z35EHA.1564@.TK2MSFTNGP09.phx.gbl...
> Hi,
> I have my reports at http:\\localhost\ReportServer and need to use them in
> ASP.NET Web Form.I have a few questions reg. this
> --> I want to generate a PDF when a button labeled "Generate Report"
> is clicked"
> (1) I tried this using the below code:
> Dim myResponse As Byte()
> Dim url As String = http://localhost/reportserver?/Reports/Sales
> Invoice&ORDER_ID=1879&rs:Format=PDF
> Dim myWebClient As New WebClient
> myWebClient.Credentials = CredentialCache.DefaultCredentials
> myResponse = myWebClient.DownloadData(url)
> Response.ContentType = "application/pdf"
> Response.AddHeader("content-disposition", "attachment; filename=Sales
> Invoice.PDF")
> Response.BinaryWrite(myResponse)
> But got the error "The remote server returned an error: (403) Forbidden"
> I have included "<identity impersonate="true"/>" in Web.Config File.
> This Error is because the Credentials is null. I don't know why the
> credentials are null even after I use myWebClient.Credentials => CredentialCache.DefaultCredentials
> The same code works if I Create new Credentials specifying UserName and
> Password. But I am cannot specify Username and password. The Application
> has take the credentials from the server.
> (2) Why can't I use the following one line of code(This works, I want to
> know are there any kind issues with
> this)Response.Redirect(http://localhost/reportserver?/Reports/Sales
> Invoice&ORDER_ID=1879&rs:Format=PDF)
> (3) What are other ways to integrate reports with ASP.NET Web Form.
> (4)I need to deploy the Reports that I created in my machine to the server
> I tried to deploy setting TargetServerURL=http://servername/ReportServer
> in Project Properties, but got the error
> "The permissions granted to user are insufficient for performing this
> operation". What kind of permissions are required.
> (5)What are different ways to deploy Reports on a Server.
>|||For deploying you should have rights in the report server to deploy report.
Log on to the machine to which you are tryiong to deploy , open the report
manager and under security add yourself as a user with deployment rights.
Reponse.Redirect works fine for me. also have you tried using report viewer
HTH
"Kiran" <Kiran@.nospam.net> wrote in message
news:O7VH3Z35EHA.1564@.TK2MSFTNGP09.phx.gbl...
> Hi,
> I have my reports at http:\\localhost\ReportServer and need to use them in
> ASP.NET Web Form.I have a few questions reg. this
> --> I want to generate a PDF when a button labeled "Generate Report"
> is clicked"
> (1) I tried this using the below code:
> Dim myResponse As Byte()
> Dim url As String = http://localhost/reportserver?/Reports/Sales
> Invoice&ORDER_ID=1879&rs:Format=PDF
> Dim myWebClient As New WebClient
> myWebClient.Credentials = CredentialCache.DefaultCredentials
> myResponse = myWebClient.DownloadData(url)
> Response.ContentType = "application/pdf"
> Response.AddHeader("content-disposition", "attachment; filename=Sales
> Invoice.PDF")
> Response.BinaryWrite(myResponse)
> But got the error "The remote server returned an error: (403) Forbidden"
> I have included "<identity impersonate="true"/>" in Web.Config File.
> This Error is because the Credentials is null. I don't know why the
> credentials are null even after I use myWebClient.Credentials => CredentialCache.DefaultCredentials
> The same code works if I Create new Credentials specifying UserName and
> Password. But I am cannot specify Username and password. The Application
> has take the credentials from the server.
> (2) Why can't I use the following one line of code(This works, I want to
> know are there any kind issues with
> this)Response.Redirect(http://localhost/reportserver?/Reports/Sales
> Invoice&ORDER_ID=1879&rs:Format=PDF)
> (3) What are other ways to integrate reports with ASP.NET Web Form.
> (4)I need to deploy the Reports that I created in my machine to the server
> I tried to deploy setting TargetServerURL=http://servername/ReportServer
> in Project Properties, but got the error
> "The permissions granted to user are insufficient for performing this
> operation". What kind of permissions are required.
> (5)What are different ways to deploy Reports on a Server.
>

integrate google map into reporting services report

Google Maps has an API described at http://www.google.com/apis/maps/ .
It would be nice to include the map within the report. I've achieved to
pass coordinates to the map though the map will start in a new window.
To achieve an integrated map I need to paste some javascript code as
described
within
http://www.google.com/apis/maps/documentation/ .
In what part of the xml code is it possible to paste the javascript
code and achieve a highly integrated webpage?Have you had any luck with this? I'd love to be able to do this exact same
thing, and am curious if you got it to work.
-Ben
"nickismyname" wrote:
> Google Maps has an API described at http://www.google.com/apis/maps/ .
> It would be nice to include the map within the report. I've achieved to
> pass coordinates to the map though the map will start in a new window.
> To achieve an integrated map I need to paste some javascript code as
> described
> within
> http://www.google.com/apis/maps/documentation/ .
> In what part of the xml code is it possible to paste the javascript
> code and achieve a highly integrated webpage?
>

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