SSEUtil.exe Redistributable?

Aug 28, 2007

Hi.

I've been tasked with creating an installer that will either install SQL Express or connect to an existing SQL server.
Then I'm to run an .sql script to initialize a new database.

I'm using SSEUtil.exe as there will be no SQLCMD if the existing SQL server is on a remote machine.

Can I package SSEUtil.exe into my installer? Is this legal?

If not, is there a standard SQL Server client I can use to achieve this?


TIA,

lushdog

View 1 Replies


ADVERTISEMENT

SQL Server Management Studio Express: User Instances Listed/founded In SSEUtil - How They Got In And Stay In SSEUtil?

Nov 23, 2007

I have used SQL Server Management Studio Express (SSMSE) and Visual Basic 2005 Express (VBE) for more than one year to pick up the Transect-SQL, ADO.NET 2.0, SQL Server 2005 Express, SQLCLR, etc. Yesterday, I used SSEUtil to execute:
C:SSEUtil>SSEUtil -l
I got the following:
1. master
2. tempdb
3. model1
4. msdb
5. 56713D4D965AE4455_TSVISUAL STUDIO 2005PROJECTSMYFIRSTAPPSSE-VBEXPRESS-WINDOWSAPPLICATION1BINDEBUGMYDB1.MDF
6. C:DOCUMENTS AND SETTINGSCOTT H CHANGMY DOCUMENTSVISUAL STUDIO 2005PROJECTSMASTERDETAILMASTERDETAILBINDEBUGMYDB1.MDF
7. C:ADONET2CODE-JOHNSONVBCHAPTER02CONNECTEDCLASSESSETBINDEBUGPUBS.MDF
8. C:PROGRAM FILESMICROSOFT SQL SERVERMSSQL.1MSSQLDATANORTHWIND.MDF
9. C:ADVENTUREWORKSLTADVENTUREWORKSLT_DATA.MDF
I created some VBE projects and used some examples from some tutorial books and websites in the past. But, I thought that user instance timeout is 60 minutes and user instances should be gone after 60 minutes. Why do I have the above-mentioned user instances remained in SSEUtil now? Please explain this thing for me.

Thanks,
Scott Chang

View 5 Replies View Related

Does SSEUtil.exe Have A Errorlevel?

Feb 6, 2006

I am going to write a DOS batch file to execute a bunch of SSEUTIL command, such as

sseutil -run aaa.sql -m

sseutil -run bbb.sql -m

....



My question is, can I use the following skills to show error message if the aaa.sql failed to be executed?

SSEUTIL-run aaa.sql -m
if errorlevel 1 goto ERROR1

...

Thanks.

View 3 Replies View Related

SSEUTIL -run Question

May 18, 2006

If I do the following:

sseutil -create test.mdf
sseutil -attach test.mdf
sseutil -run testscript.sql

it seems the first line in testscript.sql has to be use "<fullpath> est.mdf", or the script runs against some other database (which one, I'm not sure). It makes we wonder what the attach is doing.

Anyway, I'm looking for a command file way to create and define a database that is not tied to a directory structure. In other words, the commands above may be part of a .bat file, and many different developers may try to run this on their pc in an unknown directory. Any ideas or pointers greatly appreciated!
Thanx!

View 1 Replies View Related

SSEUtil.exe Legal To Redistribute?

Aug 28, 2007

Hi.

I've been tasked with creating an installer that will either install SQL Express or connect to an existing SQL server.
Then I'm to run an .sql script to initialize a new database.

I'm using SSEUtil.exe as there will be no SQLCMD if the existing SQL server is on a remote machine.

Can I package SSEUtil.exe into my installer? Is this legal?

If not, is there a standard SQL Server client I can use to achieve this?


TIA,

lushdog

View 10 Replies View Related

What Is Redistributable?

May 13, 2006

My company wants to redistribute SQL Express with our product. I have not been able to figure out what is redistributable. Is it just the SQL Express package (SQLEXPR.exe) or is one also allowed to distribute the advanced package (SQLEXPR_ADV.exe)?

Thanks!

View 1 Replies View Related

SSEUtil.exe SQL Server Express Utility

Jan 22, 2006

All,

When I try to start the SQL Server Express Utility (SSEUtil.exe), I get the following crash output message below ...

I have checked all of my instances. The all work with windows authentication and sql server authentication.

I have used the surface area configration manager to allow 'everything' and rebooted my machine.

I have tested each through osql. I have turned my firewall on an off. The problem stilll persists.

Could this have something to do with my SQL Services running under the local account?

Y:All_DatabaseMSsSQLServerSQLServerExpressUtilityJan2006Extracted>SSEUtil.exe -consolewnd -server HOME -user sa -password mypass -timeout 60

Unhandled Exception: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Versi
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Console.SetOut(TextWriter newOut)
at SSEUtil.ConsoleHandler.EnsureRedirectOutputStream()
at SSEUtil.Program.Main(String[] args)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
The first permission that failed was:
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="UnmanagedCode"/>

The demand was for:
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="UnmanagedCode"/>

The granted set of the failing assembly was:
<PermissionSet class="System.Security.PermissionSet"
version="1">
<IPermission class="System.Security.Permissions.FileDialogPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Access="Open"/>
<IPermission class="System.Security.Permissions.IsolatedStorageFilePermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Allowed="ApplicationIsolationByUser"
UserQuota="512000"/>
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Execution"/>
<IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Window="SafeTopLevelWindows"
Clipboard="OwnClipboard"/>
<IPermission class="System.Security.Permissions.UrlIdentityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Url="file:///Y:/All_DatabaseMSs/SQLServer/SQLServerExpressUtilityJan2006Extracted/SSEUtil.exe"/>
<IPermission class="System.Security.Permissions.ZoneIdentityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Zone="Internet"/>
<IPermission class="System.Drawing.Printing.PrintingPermission, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
version="1"
Level="SafePrinting"/>
</PermissionSet>

The assembly or AppDomain that failed was:
SSEUtil, Version=1.0.2130.35318, Culture=neutral, PublicKeyToken=null
The method that caused the failure was:
Void EnsureRedirectOutputStream()
The Zone of the assembly that failed was:
Internet
The Url of the assembly that failed was:
file:///Y:/All_DatabaseMSs/SQLServer/SQLServerExpressUtilityJan2006Extracted/SSEUtil.exe

Y:All_DatabaseMSsSQLServerSQLServerExpressUtilityJan2006Extract



Any Ideas ?

Thanks,

AIMDBA

View 9 Replies View Related

Does Sseutil Work Properly On Vista?

Mar 10, 2008

Does sseutil work properly on vista? I need a way to programmatically detach a user instance on Vista.
The following launches and runs ok on XP.
Doesn't run on Vista? Is there some problem with Process on Vista? sseutil runs ok from the command line in Vista.

public void DetachDatabase(string filePath)
{
ProcessStartInfo startInfo = new ProcessStartInfo("SSEUtil.exe");
startInfo.WindowStyle = ProcessWindowStyle.Normal; //.Hidden;
startInfo.Arguments = "-d "" + filePath + """;
Process detachProcess = Process.Start(startInfo);
while(!detachProcess.HasExited)
{
Thread.Sleep(1000);
}

}

View 5 Replies View Related

SQLCE 3.5 For X86 CE 4.2 Redistributable

Jan 31, 2008

Hi,

We have over 1000 terminals running CE 4.2 on an x86 cpu currently using SQLCE 3.1.

We have just upgraded to VS 2008 and found the projects have been upgraded to reference SQL CE 3.5 - this is great, as we wish to use things like TOP etc.

However, all the distributable packages only include CAB files for CE 4.2 for the ARM Processor, or CE 5.0 for the x86. Is there a CAB package available for CE 4.2 for the x86 CPU? (please...)

Even just the relevant .DLL files would be fine as we repackage them ourselves anyway.

Thanks.

View 1 Replies View Related

SP2 Redistributable Size

Mar 16, 2007

SQL Server 2005 Express (no sp) is 53.5 MB
http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4448-8848-dcc397514b41&displaylang=en

SQL Server 2005 Express SP2 is 36.5 MB
http://msdn.microsoft.com/vstudio/express/sql/download/

That's a diff in size of almost 20 MB. How can the SP2 be so much smaller?

View 1 Replies View Related

Redistributable Package?

Feb 17, 2008

Does the Redistributable Package need to be installed when when calling reports in remote mode? If so, does it need to be installed on the SQL server where reporting services is installed or just on the web server that calls the reports or both? Also, since the SQL server has the reporting services version of Visual Studio, does that version of Visual Studio need to be updated to SP1?

View 3 Replies View Related

Is SSMSE Redistributable

Apr 25, 2006

Is SSMSE Redistributable?

View 1 Replies View Related

SP1 For ReportViewer Redistributable?

Dec 29, 2006

Hi
Everyone. I see that Visual Studio 2005 SP1 is out and includes an updated
ReportViewer control. Is there an update to the ReportViewer
Redistributable with those same fixes? Our product installs this
redistributable silently, and we render reports locally (i.e. RDLC), so
installing the full Visual Studio service pack would not help us (and installing just the assemblies would not either, since the Redistributable install seems to do other things "under the hood."
Thanks for your help!

Erik

View 3 Replies View Related

Running SSEUtil On SQL Server 2000/2005

May 23, 2008

Hi,

I have three systems that running different version of SQL sever..
1. my notebook - SQL Server Express 2005
2. my WS - SQL Server 2005 Standard
3. my server - SQL Server 2000

I installed SSEUtil to all of them and only the notebook works..
I read the Read me but it doesn't help me resolve my problem so I hope someone from this forum can help me out..

The problem:
Running sseutil on system 2. and 3. get this error, but not on 1.
SSEUtil
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Additional information:
The service 'MSSQL$SQLEXPRESS' is not installed.


I tried -m but it doesn't help..

Any idea how to fix it?

Thanks,

T.

View 8 Replies View Related

SSIS And Program Redistributable

Oct 9, 2007

I wrote program which connect to some remote MS SQL Server 2005, create SSIS package and store it to drive. Also it have ability to load SSIS package from drive, connect to server, load the SSIS package to specified server and execute it. Obviously, I used references to SSIS dlls in program. Question is - is SQL2005 necessary to be installed on computer where I execute the program? Since the program works with remote SQL Servers, I think what only some dlls is necessary for the program. Is it so?

View 12 Replies View Related

SQL Express With Advanced Services Redistributable

Dec 20, 2006

Hi,

Can any body tell me whether SQL Express with advanced services is availabe as a redistributable so that i could package it up with my application. Basically i need to supply different reports with my application for which i dont want to use any Crystal Reports type of thing. Moreover i also want such kind of reports available on the net. Please tell me how can i do that?

Regards,

Wasif Ehsan.

View 1 Replies View Related

Redistributable SQL Express Registration Requirement?

Oct 30, 2006

I noticed that Microsoft gives license to redistribute SQL Server Express as part of an application (though we have to register for this - http://www.microsoft.com/sql/editions/express/howtobuy.mspx).

So we would like to take advantage of this, and redistribute SQL Server Express 2005 as part of our WinForms application (using the method described http://blogs.msdn.com/sqlexpress/archive/2006/09/20/763956.aspx or http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsse/html/emsqlexcustapp.asp)

My Question is: If we perform a silent install on the client machine (included with the installation of our application), are our end-users required to register Sql Server Express in order to use it? From this page (http://msdn.microsoft.com/vstudio/express/register/) it appears that in order to use an Express version for longer than 30 days, one is required to register it. However, requiring our clients to register their version of Express kind of defeats the purpose of our using Express as our database format. We need a database that we can distribute with our application, that the end-users can use without having to register.

So is the redistribution license enough (in order that the end-users do not have to register their individual copies)? Or will the end-users also have to register their copies (in which case we probably cannot use SQL Express)?

View 3 Replies View Related

Adding Logins Via SSEUtil Compared To SQL Server Management Studio

Feb 7, 2007

Hello all,

I am currently in the process of setting up an SQL Server Express installation that comes packaged with an application I have written. My problem is that I want to use SQL Server user management (not just windows users) which work fine if I set them up manually. I started writing a script that I have SSEUtil execute once the application is fully installed (a step in my installation script) which sets up the users and passwords etc. The script is similar to the following:

USE [DBName]
GO

EXEC sp_DropUser 'user1'
EXEC sp_DropUser 'user2'
EXEC sp_DropUser 'user3'
EXEC sp_DropUser 'user4'
GO

USE [master]
GO

EXEC sp_DropLogin 'user1'
EXEC sp_DropLogin 'user2'
EXEC sp_DropLogin 'user3'
EXEC sp_DropLogin 'user4'
GO

CREATE LOGIN user1 WITH Password = 'user1', CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
CREATE LOGIN user2 WITH Password = 'user2', CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
CREATE LOGIN user3 WITH Password = 'user3', CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
CREATE LOGIN user4 WITH Password = 'user4', CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
GO

USE [DBName]
GO

EXEC sp_AddUser 'user1'
EXEC sp_AddUser 'user2'
EXEC sp_AddUser 'user3'
EXEC sp_AddUser 'user4'
GO

ALTER USER user1 WITH DEFAULT_SCHEMA = MySchema
ALTER USER user2 WITH DEFAULT_SCHEMA = MySchema
ALTER USER user3 WITH DEFAULT_SCHEMA = MySchema
ALTER USER user4 WITH DEFAULT_SCHEMA = MySchema
GO

REVOKE ALTER,DELETE,INSERT,SELECT,UPDATE ON MySchema.Table1 FROM MyRole
REVOKE ALTER,DELETE,INSERT,SELECT,UPDATE ON MySchema.Table2 FROM MyRole
REVOKE ALTER,DELETE,INSERT,SELECT,UPDATE ON MySchema.Table3 FROM MyRole
REVOKE ALTER,DELETE,INSERT,SELECT,UPDATE ON MySchema.Table4 FROM MyRole
GO

EXEC sp_DropRole 'MyRole'
EXEC sp_AddRole 'MyRole'
GO

GRANT ALTER,DELETE,INSERT,SELECT,UPDATE ON MySchema.Table1 TO MyRole
GRANT ALTER,DELETE,INSERT,SELECT,UPDATE ON MySchema.Table2 TO MyRole
GRANT ALTER,DELETE,INSERT,SELECT,UPDATE ON MySchema.Table3 TO MyRole
GRANT ALTER,DELETE,INSERT,SELECT,UPDATE ON MySchema.Table4 TO MyRole
GO

EXEC sp_AddRoleMember 'MyRole','user1'
EXEC sp_AddRoleMember 'MyRole','user2'
EXEC sp_AddRoleMember 'MyRole','user3'
EXEC sp_AddRoleMember 'MyRole','user4'
GO

Now if I run this script from within SQL Server Management Studio it executes perfectly. The logins add, the role is added, each user is added to the database logins and assigned to the role, the schema is set correctly on each user.

Then when I try to run the exact same script from the SSEUtil application (SSEUTIL -s PCNAMEInstance -run USERS.SQL), it processes everything, except the Logins.

This is frustrating as it means to install for a client I would need to either get them to open the management console and run the script from there, or I have to go to site just to setup users.

Am I on the right track? Or is there another way to automate the adding of Logins?

Thanks in advance,

DSXC

View 5 Replies View Related

Download For Redistributable SQL Server Express Edition?

Jan 26, 2007



Where do I find the setup files needed to redistribute sql server express installation files? I downloaded the SQLEXPR_ADV.EXE but the files disappear as soon as you cancel the installation.

I need the sql server setup files to package with my program fr distribution.



THANKS SO MUCH



View 8 Replies View Related

Availability Of SSIS Run-time Support (Redistributable Package)?

May 23, 2007

Can somebody please help answering this question?



I'm planning to consider writing a SSIS package for a new project that requires downloading large chunk of data and transform into the diverse databases such as MS SQL or Oracle depending on the Client's Datbase.



For the clients having SQL Server installed at their end, i had no issues in deploying this package on their server and run it in their licensed instance.



What should be the case for others having Oracle database? Wouldn't installing the SQL 2005 client tools install the necessary run-time services for running SSIS packages? What i understood from the MSDN library (http://msdn2.microsoft.com/en-us/library/ms403355.aspx) is that there's no run-time support available for running the SSIS packages (unlike DTS run-time support) in production environment!



Would that mean that it requires a SQL Standard edition, at minimum, (as Integration Services is OOTB from Standard Edition onwards) to be installed at the production site to run this package?



If so, the client wouldn't be ready (which is fair too) to buy the new license just to run this package. Is there any work-around/suggestions for this case?



If not, can somebody please point me to the right location where i can download the run-time support for running SSIS packages?



Any thoughts on this is highly appreciated.

Thanks for your time.

~Sagar

View 6 Replies View Related

Date Selector Control Issues After Installing Report Viewer 2005 Service Pack 1 Redistributable

Jan 17, 2008

I am doing drillthrough from ReportA to ReportB via the Date field on ReportA. In Report Manager, all is well. However, when run through a custom app using asp.net and the report viewer control, the behavior was erratic. sometimes it would work. sometimes it would merely bring up the ReportA again and i would have to click Date again and then it would work.

a coworker recommended the Report Viewer fix http://support.microsoft.com/kb/933137. Since the redistributable was not present in Add/Remove programs on my test box, i installed the full version. I then started up the .net app in debug and ran ReportA and drilled through to ReportB several times and could not make it fail. I was happy.


Since the redistributable was not present on the production box, i installed the full install there as well. However, the erratic report viewer behavior continued.


I decided to try runnign ReportB directly instead of via the drill through from ReportA. ReportB had always run perfectly on its own. When i try to use the graphical date selector control, the results are different depending on the machine I use.


1. If i am using my test box, and i run ReportB directly via the app in debug mode, i get a runtime error indicating Microsoft JScript runtime error: Object required. It then points to Reserved.ReportViewerWebControl.axd at the GetObjectPosition(obj) function.


2. If i am using my test box and go out to the live production website, i get the same runtime error.


3. If i am using another machine and go out to the live production website, the data selector control merely seems to refresh the report. This is the same behavior i get when using the production server and going out to the live website.


The redistributable has been uninstalled from both the test box and the production box. This did not change the behavior described above.


All of the Microsoft.ReportViewer items in C:Windowsassembly indicate version 8.0.0.0.


Any help would be grand. Also, please let me know if I should cross post this in the .Net forums.


Thank you.

View 5 Replies View Related

SQL Server Express Utility: How Can I Install SSEUtil.exe In My PC? How Can I Use It To Interact With SQL Server Express?

Nov 12, 2007

Hi all,

I downloaded the SSEUtilSetup.EXE and extracted the SSEUtil.exe to a folder of C:drive of my PC that is Windows XP Pro. I plan to learn the CLR programming via user-instance of SQL Server Express. I need to have SQL Server Express Utility installed. Please help and tell me how I can install SSEUtil.exe in my PC and how I use it to interact with SQL Server Express.

Thanks,
Scott Chang

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved