Script To Save DTS To Another Server Without Any Administrative Efforts

Mar 5, 2008

I have a DTS package in a QA server (MS SQL SERVER 2000). Now I want to implement that DTS package to the Production Server (MS SQL SERVER 2000) without any administrative effort.

I just wanted to create a script which can then execute to the production server to create that DTS package.

Till now what I have done to overcome this issues are..


I have save the DTS package in QA Server as Structured Storage File.
And then copied the Structured Storage file from the QA Server to the production Server
And then execute the package using dtsrun utilities.
But in that case it is not creating the package in the production server.So that one can update or view the package from SQL Server Enterprise Manager ->Data transformation Service->Locale Package.

View 1 Replies


ADVERTISEMENT

Administrative Question For SQL Server 2000

Jun 1, 2004

Hello gentlemen,

I would like to ask a question, more like to verify something that I know myself.
I have an installation in SQL Server 7.0 (SP4), that hosts a database of 70gb with an average growth of 5 gb a month, that is being 'hitted' with an average of 600 clients, (about 50 to 90 concurrent hits). My question is :

Given the fact that I wish to upgrade my server to an SQL Server 2000 Enterprise Edition, how much RAM should I fit to the new machine?

I do have my suspicion, and I would like to keep it to myself for now, I would like also to ask if there's a formula for ram calculation. Mind you I don't ask for MINIMUM RAM, but more like OPTIMUM RAM, being that this Server hosts a critical system.

Thank you in advance.

View 2 Replies View Related

Administrative Commands Via XP_CmdShell In SQL Server 2005

Dec 13, 2007

SQL Server 2005: Microsoft SQL Server Enterprise Edition (64-bit)
Microsoft Windows NT 5.2 (3790)

SQL Version 9.00.3175.00


I have 2 identical servers... one for DEV and one for TEST. On the DEV server, I can use xp_cmsdhell to execute "administrative commands" such as NET SHARE and AT. On the identically configured TEST server, I can not. Those command return the "System error 5 has occurred. Access is denied" error. I CAN run other commands via xp_cmdshell (DIR, NET USE, etc.). This is true regardless of the account I connect as.

The SQL Server service accounts in both instances are domain accounts belonging to the local admin group.

I "know" that I ran across this when setting up the DEV server and am "fairly sure" I found a reference to a known problem with 2005's xp_cmdshell and administrative commands. But for the life of me I can not now find any such reference, nor can I find any differences between the DEV and TEST servers in the area of users, groups, policies, or anything else security-related. (99.9% of the internet searches I do end up being about either enabling xp_cmdshell -- done -- or setting up an xp_cmdshell proxy account -- not needed).

Any input is greatly appreciated.

Thanks!
-dave

View 7 Replies View Related

SQL Server Admin 2014 :: Audit Administrative Logins

Jun 20, 2015

I should audit all access by dba (italian privacy law) in my sql server , what is the best way?

Using the build in audit i can't achieve this goal, do i miss something?

My sqlserver use windows auth.

View 9 Replies View Related

Transaction Log Not Dumping Despite All Knowledgeable Efforts

Sep 7, 1999

The transaction log does not truncate despite all
attempts (no_log,truncate_only, etc...) This database is a subscriber
for replication. Tried the reconfigure with override.
There are no open transactions (dbcc opentran)

Need help fast !!!

Danke schoen

View 2 Replies View Related

SQL Server 2005 - Save Tran Save Point Name Case Sensitive?

Feb 11, 2006

Hello:I didn't find any documentation that notes save point names are casesensitive, but I guess they are...Stored Proc to reproduce:/* START CODE SNIPPET */If Exists (Select * From sysobjects Where Type = 'P' and Name ='TestSaveTran')Drop Procedure dbo.TestSaveTranGoCreate Procedure dbo.TestSaveTranAsBeginDeclare@tranCount int--Transaction HandlingSelect @tranCount = @@TRANCOUNTIf (@tranCount=0)Begin Tran localtranElseSave Tran localtranBegin Try--Simulate Error While ProcessingRAISERROR('Something bad happened', 16, 1)/*If this proc started transaction then commit it,otherwise return and let caller handle transaction*/IF (@tranCount=0)Commit Tran localtranEnd TryBegin Catch--Rollback to save pointRollback Tran LOCALTRAN --<< NOTE case change--Log Error--Reraise ErrorEnd CatchEndGo--Execute Stored ProcExec dbo.TestSaveTran/*Should receive the following message:Cannot roll back LOCALTRAN. No transaction or savepoint of that namewas found.*//* END CODE SNIPPET */What is really strange, if there is a transaction open, then no erroris thrown. So if you execute as so:/* START CODE SNIPPET */Begin Tran--Execute Stored ProcExec dbo.TestSaveTran/* END CODE SNIPPET */There is no "Cannot roll back LOCALTRAN...." message.Questions:1-)Can someone confirm save point names are case sensitve and this isnot happening because of a server setting?2-)Is this a logic error that I am not seeing in the example codeabove?We have changed our code to store the save point name in a variable,which will hopefully mitigate this "problem".Thx.

View 4 Replies View Related

Administrative Rights For Local Machine To Deploy Dynamically Created Report From Web App To Report Server

Feb 5, 2007

The current way I have my asp.net 2.0 web app running reports is, based on an
interface the user selects the criteria for a report. The .RDL file is created
dynamically based on the user's selections.
I then need to SOAP the dynamically created report to the report server and
then the report runs fine.
BUT it requires Adminstrative rights to do this. Can this be accomplished
without giving the local machine admin rights. I am sorry if this question
has been answered before but i have not been up here in a while.

View 1 Replies View Related

Administrative Installation

Jan 21, 2008

Can a Administrative Installation be performed with SQL 2005, and if so how is it done.

View 5 Replies View Related

Problem W/ Proliferating Administrative Rights

May 9, 2002

Hi,
I'm the DBA of a 500 person state agency. I have 16 accounts with SysAdmin rights. That seems way too many. But the other server rights seem to be too restrictive. Even dbOwner seems restrictive. What sort of consensus is there for the rights other application developers and SAs ought to have?

MichaelG

View 1 Replies View Related

Replication :: Unable To Connect To Remote Distributor From Publisher Using Administrative Link Password?

Jan 29, 2008

I am not able to connect to Remote Distributor from Publisher using Administrative Link Password. I have configured the Distributor on 1 m/c and Publisher on another m/c. When i use the wizard to configure the publisher using remote distributor. I have also specified the same Admin Password link (distributor_admin) in the distributor m/c.
 
I am getting the following message:
 
TITLE: New Publication Wizard------------------------------
SQL Server could not connect to the Distributor using the specified password.

[URL]

------------------------------ADDITIONAL INFORMATION:

Connection to server [SANMENON] failed.OLE DB provider "SQLNCLI" for linked server "D956CF83-AE2E-4FC5-83DD-BE90D84A3950" returned message "Login timeout expired".OLE DB provider "SQLNCLI" for linked server "D956CF83-AE2E-4FC5-83DD-BE90D84A3950" returned message "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.". (Microsoft SQL Server, Error: 21670)

[URL]

------------------------------BUTTONS:
OK------------------------------

View 12 Replies View Related

How Can I Change The Default Save-As/Save Directory

Jun 26, 2007

I am new to sql sever management studio express, but a long time query analyzer user. This is a very basic question.



I want to change the default directory in sql server management studio express so that when I go to save a query, it is already pointed to the correct one. Where do I change that?



Thanks,

Nanci





View 2 Replies View Related

Save A Images Into SQL Server Using VB.Net

Feb 29, 2008

I am trying to create a website that people can upload an image and have it saved to a database.  Can someone point me in the right direction on this?  What properties need to be saved in the db and how?

View 4 Replies View Related

How To Save A File In SQL Server

Feb 25, 2004

I have the need to allow a user to upload a file via the web and then save it into a database. THen I also need to be able to retrieve the file for download.

Can someone give me guidance as to code or a sample on how to do this.

Thanks.

View 2 Replies View Related

Image Save To SQL Server

Apr 7, 2004

When I am trying to save byte[] of an image to SQL server which is having an image column, I am getting an error like this " A severe error occured on the current command. The results, if any, should be discarded.". I am trying to save through a stored procedure.
In the sp also, the datatype is image.

Can you give a reply to this?

View 4 Replies View Related

How To Save Html In SQL Server

Oct 31, 2004

I am using a Wysiwig editor, FCKeditor, i my CMS. I try to save the html text from the editor in a SQL Server. But noting get stored in the database.

I think the problem is how the tabel in the datebase is setup.

How shall a tabel look like so it can store html?

View 1 Replies View Related

How Save A DTS Package On SQL Server?

May 16, 2002

Hi all,
When I try to save a DTS package on SQL Server(local),I have a error message "refused acces" ,T don't know what's the problem?

Any help will be appreciate?
thanks in advance

View 3 Replies View Related

How Do U Save Url Address To Sql Server

Dec 5, 2005

Hi im trying to save the location of images to a sql server db in the form of a url, i am trying to find out what datatype this comes under here. In ms access u can just select the hyperlink option in the data type dropdown and it saves the address entered into these fields as a hyperlink to the database. How can u do this in sql server ?????

View 3 Replies View Related

How To Save PDF Files To SQL Server?

Aug 23, 2006

Hellow, everyone:

I have PDF files on local hard drive, and want to save them to the table in SQL Server. Can I execute by SQL Server? If yes, how to do that.

Someone said to create a table with IMAGE column, and write PDF files to this table. How about details for this way?

Thanks a lot.

ZYT

View 2 Replies View Related

SQL Server Does Not Save New Passwords

Mar 30, 2007

Hello All, I have a problem with my database. It appears that it does not save the passwords for a login account that I have created. Every time I put in the password (using the Management Studio) it looks like the new password has been accepted. But when I look at the password using properties, the password is different. Any ideas? Thanks a lot for your help.

View 2 Replies View Related

Trying To Save Package To Sql Server

Jan 24, 2007

When I try to save a package to sql server with the delpoyment manifest I got this error



TITLE: Package Installation Wizard
------------------------------

Could not save the package "C:copiaPackage.dtsx" to SQL Server "ATLANTE".

------------------------------
ADDITIONAL INFORMATION:

The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Client unable to establish connection). The SQL statement that was issued has failed.


------------------------------

The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Client unable to establish connection). The SQL statement that was issued has failed.


------------------------------
BUTTONS:

OK
------------------------------


===================================

Could not save the package "C:copiaPackage.dtsx" to SQL Server "ATLANTE". (Package Installation Wizard)

===================================

The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Client unable to establish connection). The SQL statement that was issued has failed.


------------------------------
Program Location:

at Microsoft.SqlServer.Dts.Runtime.Application.SaveToSqlServer(Package package, IDTSEvents events, String serverName, String serverUserName, String serverPassword)
at Microsoft.SqlServer.Dts.Deployment.DtsInstaller.SavePackageToSqlServer(WizardInputs wizardInputs, String packagePassword, Boolean bUseSeverEncryption, String serverName, String userName, String password, String packageFilePath, List`1 configFileNames)
at Microsoft.SqlServer.Dts.Deployment.DtsInstaller.InstallPackagesToSqlServer(WizardInputs wizardInputs)

===================================

The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Client unable to establish connection). The SQL statement that was issued has failed.


------------------------------
Program Location:

at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.SaveToSQLServer(IDTSPackage90 Package, IDTSEvents90 pEvents, String ServerName, String ServerUserName, String ServerPassword)
at Microsoft.SqlServer.Dts.Runtime.Application.SaveToSqlServer(Package package, IDTSEvents events, String serverName, String serverUserName, String serverPassword)

View 4 Replies View Related

How To Save A Dataset To A Sql Server Table?

Sep 21, 2007

Scenario:  I have created a dataset from an excel file to display it on a screen. Now I would like to save this same dataset in a SQL Server table.
 Any ideas would be greatly appreciated.
 
Thanks

View 7 Replies View Related

Save File Into The Sql Server Database

Feb 28, 2008

Hi,
I want to upload a file (e.g. .xls, .pdf, .doc) and save into the Sql Server 2000 database through the web interface, and then to download this file. Any idea???

View 2 Replies View Related

How To Save Image To SQL Server 2000

Nov 19, 2003

Hi,

I have to store images in database. I have a table which contains field picture which is an image.

How can I do this using C# ?

In Visual Studio .NET i found a code how to obtain BLOB values from the database but I do not know how to do upload an image to the database.

Thanks in advance for your help.

Rafi

View 2 Replies View Related

Save Pictures In Sql Server Table

Aug 15, 2004

how can i save pictures in sql server and retreive them

View 1 Replies View Related

Can I Save SQL Server 2005 Db As SS 2000?

Dec 21, 2005

    Hi,on my dev-machine i am running SQL Server 2005 Standard Edition.Now i have to do a project for a client who is on a server with ASP.NET 1.1 and SQL Server 2000.Is there a way i can build his database in 2005 and export or whatever it as SQL Server 2000?I don't really like the idea of installing 2000 and 2005 side by side on the same machine.Thank you very much in advance.Tjerk Heringa

View 1 Replies View Related

How To Save Custome Object AS IS In SQL Server

Jun 10, 2006

Hi there,Not sure if this is the right place to ask. I have a custom object in ASP.NET called TransactionResponseObject.And I want to save this object AS IS - in one piece in SQL Server 2005 (instead of taking each and every property of it and individually saving it into separate columsn of a table in the database).Question:1). What type of SQL Server 2005 datatype will I be using in this case ?2). Is there a good and easy tutorial on converting a custom object into XML format? and perhaps saving the xml into the database (I feel it's just an extra step - meaning extra processing which i want to avoid).ThanksTorontoMale

View 1 Replies View Related

Cannot Save DTS Packages After Server Name Change

Oct 2, 2002

I previously installed SQL 7.0 on my machine. The name of the Server was DEVELOPMENT. Unfortunately I needed to change the computer name, but I had already created my databases and did not want to lose the information. It was suggested that I should simply change the computer name and reinstall SQl. I changed the name to DEVSERVER. This seemed to work fine. Now I am having a problem when I try to create a DTS package on the renamed server from another SQL server . I receive the following error. "A connection could not be established to Development. Specified SQLserver not found" The server which is now called Devserver, is registered on the server I am creating the package from, however the message seems to imply that the server I'm connecting to is still called Developement and cannot be found. Any ideas would be appreciated.

View 8 Replies View Related

How To Save More Than 10,000 Characters In SQL Server 2000?

Mar 25, 2003

How to save more than 10,000 characters in SQL Server 2000? I have a text field in a table. but it only takes about 2000 characters.

Thanks,

View 1 Replies View Related

How To Save Statistics In SQL Server 2005

Jan 1, 2008

hi all

I am working on query performance and tuning.
I want to save current statistics for the latter use. do SQL Server provide any utility or command (like exec dbms_stats in ORACLE and OPTDIAG in sybase) to do this?
thanks

Gourav

View 1 Replies View Related

Where/how Do I Save My Ssis Package Into Sql Server ?

May 10, 2007

So now ive got a ssis project that works and does what i need it to. How do I save the package into sql server ?

View 4 Replies View Related

Please Save Me. (File Get Deleted In SQL Server, How To Restore?)

Jun 14, 2001

Hi All,

In SQL Server 2000(Sql Query Analyzer), I had opened a main program file for debugging purpose.

Somehow by mistake its entire contents get replaced/deleted.

I don't have the backup.

I would appreciate anyone who can save me by advising to restore this program.

View 4 Replies View Related

SQL Server 2005 Mgmt Studio Do You Want To Save Changes...

Feb 7, 2006

No. No I do not want to save changes to that sp_who2 query I just ran. I just want to close the window, and not be bothered with the computer's obsessive compulsive need to save everything I do. Dang it all, it sounds like my computer is working for the NSA leaving a paper trail that even a kitten with Attention Deficit Disorder on catnip could follow.

As you can tell, I am weaning myself off of Query Analyzer, and can not find the checkbox for "Don't bother me when I close a window". Anyone else come across it, yet? It does not appear to be under tools->options or query->query options.

View 1 Replies View Related

SQL 2012 :: Save Binary Data Into Server

Oct 15, 2014

I was assigned a project to read binary data file (2G) and select data from OrderID, OrderDate and Price three columns (there are about 50 columns) into SQL table.

Where to start? Do I need to convert entire binary data file into text file?

View 0 Replies View Related







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