SSIS: Changing URL In HTTPConnectionManager Not Working?

Dec 3, 2007

I've been building a prototype using Webservices (coded in .NET) and SSIS to move data from our order/fulfillment system to our accounting system. I have struggled a bit with SSIS's WebService Tasks; but, finally have a package that runs locally that calls a web service and loads the data into SQL Server. I tried to move this to our server, I modify the HTTPConnection Parameter to the Product WS URL and the web service task fails with an "Unable to Connect to Server" error.

So, I decided to try running the production WS in my local (development) SSIS. I change the HTTP Connection URL, save, rebuild and run. The job runs successfully - against my LOCAL Web Service. It did not recognize the change or is somehow cached.

How do I get it to run against my Production Web Service???

Thanks.

Jennifer

View 4 Replies


ADVERTISEMENT

Changing Working Database From SQL To SQL Mobile

Nov 9, 2007

I am working on an application that was initially set to connect to a SQL database.

The application is for a Pocket PC and now I have converted the original SQL database to a SQL Mobile database.

Does anyone know if there is a way to change the the code to be able to access the SQL mobile database without having to go through all the code and manually make the changes?

Thanks

View 1 Replies View Related

Changing SQL 2005 Password Policy Not Working

Feb 19, 2007

I have modified the Security Settings>Account Policies>Password Policy on my PC as follows:

Minimum password length: 10 characters

Password must meet complexity requirements: Enabled

However, when creating a login within SQL Server 2005, which does not adhere to the amended policy, this does not seem to be taken into account:

CREATE LOGIN testlogin WITH PASSWORD='a',

DEFAULT_DATABASE=[master],

DEFAULT_LANGUAGE=[us_english],

CHECK_EXPIRATION=ON, CHECK_POLICY=ON

have tried restarting the SQL Server and rebooting the PC, but this does not solve the problem.

View 7 Replies View Related

SSIS Variables Not Changing Value?!

Jun 6, 2006

Greetings my SQL friends,

I have a very simple package which consists of a SQL Task component and a Script Task.

The SQL Task retrieves a single value from 1 row table in one of my database and assigns that value to a variable. The Script task simply outputs the value of the variable in to a message box. I know, it's all simple stuff (I am trying to master SSIS )

The problem I have is that when I change the value of the column in my table, the value of the variable is not changing when I re-run my package. It seems to be the same value every time.

What am I doing wrong?!

Your help would be much appreciated.

View 8 Replies View Related

Changing Dynamically The Destination Name In Ssis

Apr 15, 2008

i am transfering the table from one database to csv file format..i did it.. again i want to shift that csv files to another databse as tables. how to do this task.. pls help me.. its very urgent..out TL had given me the dead line.. send reply soon....

View 5 Replies View Related

Changing SSIS Property Defaults

Sep 5, 2006

To make certain SSIS features work there are many properties that need to be set over and over for most containers in the package. For example with CheckpointRestart, you need to set (in most cases) all of the tasks' FailPackageOnFailure to True. If you miss one, the package may not restart properly and you might never know. There are other situations where as a development team we want certain properties to be usually set the same but differently from the SSIS default.

Is there a way to control the defaults that the SSIS IDE uses?

I remember back in classic VB that if you wanted to change the defaults of a bare form you could create a template form adjusted the way you like and put it in a templates folder. Then new forms added to a project would be based on the template form.

View 5 Replies View Related

Changing SSIS Production Code

Jan 14, 2008



I am curious to find out by other people on how they manage incremental code changes to SSIS packages. I am in a situation now where we deliver production SSIS packages to a client, where the client changes the connection details to the data sources and exectues the packages on a nightly basis.

We have had instances where clients are asking for enhancements and modifications to the SSIS package whereby we would develop it in our development environment then replace the existing copy in the clients production environment. There has been instances whereby the packages would work as desired on our end, but it requires further refinement on the clients side. As such, we have had instances where we had to "back-out" into the previous packages.

I am just trying to find out what methods or procedures other people are following to acknowledge situations like this or similar to this. Currently we are following an exhaustive method of having two copies of the code on the client side, the "live" code is never modified, just the secondary copy, then when all is good, we move this code into the "live" code. Does anyone have any means of performing incremental updates on SSIS packages easily?

View 8 Replies View Related

Changing A SSIS Package Before Each Execute

Feb 7, 2008



I'm new to SSIS so I have not found the answer yet. I have a SSIS package that needs to be run everyday,that loads a basic text file. The only problem is that the text file may not be in the same location everyday so my users will need to locate the path prior to running the package. Is there a way to browse to the text file then have my users execute the package sort of like the old DTS in SQL 2000.

Shanon

View 4 Replies View Related

ByPassPrepare In SSIS Property Value Not Changing

May 1, 2006

Everytime when I set this value to true; it saves but when I close the package and reopen it. It returns to false, I am using OLE DB connection... Help Please

View 1 Replies View Related

Changing SSIS Package - New User Question

Feb 23, 2006

I saved a simple export/import package from the import/export wizard to a .dtsx file/package. Now I want to change the package to delete/truncate all of the tables before adding data. (since this has 80 tables it would have been a pain to edit each of them individually)

How can I easily go about doing this with the SSIS package. I can't find out where this would actually be executed.

Also, how can I actually view the code behind the SSIS package.

Thanks.

View 3 Replies View Related

Changing Connection String In SSIS Package ???

Feb 5, 2007

Hi!

I create a SSIS Package for ETL on my own machine. During development database was also on my machine. For access to this database an OLE DB connection was defined within a package in BI Development Studio. Everything worked well both in debug mode and testing package itself.

Finally I need to load data to a database on a different machine using this package.

I used several scenaries:

1) simply copied the package-file to estination machine, open it for execution, in section "Connection Managers" I edited connection string manually - changed server name and Initial Catalog. And try to execute.

2) on the destination machine I manually created an OLE DB connection (using Microsoft Data Link) to a different database (test succeded), Changed the extention of the connection file 'udl' for ' txt ' and copied its connection string to the field connection string in section "Connection Managers" (pointed in variant 1) ).

3) use Package Configurations, copied the deployment to destination machine, installed the package the way like written here - http://msdn2.microsoft.com/en-us/library/ms365338.aspx. Changed exported properties - Server name, Initial Catalog and also the whole Connection String. Also try to execute.

In all cases I recieved the same error execution message :

"Errors in the metadata manager. Either the database with ID of " OLD_DATABASE_NAME " does not exist in the server with ID of " NEW_SERVER_NAME " or the user does not have permissions to access the object."

As for access (username/pass) settings they are the same for both of them, I have the same administrative rights on both machines. And more with the same rights the ole db connection made was made manually in variant 2 - succeded!!! So I don't think the problem is here.

As for Error message - I think somewhere the OLD name of database (Initial Catalog) is saved, though I tried to change it. Though the NEW value for the server name is substituted.

Please, help me. I don't know what else can I try. And it is not a single case for my practice. So I think - something wrong in my actions.

View 9 Replies View Related

Changing/Setting Windows User For SSIS

Feb 22, 2008

I wrote a simple SSIS package that runs a batch and a stored proc. They both run fine. I can see the stored procedure run and in process under task manager I see the batch run. However I don't want the batch to run under the System account, how can I change to another user. Thank you.

View 4 Replies View Related

SSIS Changing Column Order During Transformation

May 16, 2006

First let me say, I really can't believe this chain of events myself--and they are happening to me.

I am upgrading several DTS packages to SSIS on what will be my new production server. These packages create tables, export them to a flat file, and ftp them off to other locations.

What is happening (on the SSIS side) is that the OLE DB Source is reordering some of the columns on its own (moving them to the end of the table/file. Then when my pickup/load routines run, the data is out of place and they fail.

Can anyone please explain what is happening here with the mapping. I have evaluated the table and the columns are in the order that I expect. When I preview the source table in the OLE DB Source Editor the columns are in the correct order/alignment, but when them in the OLE DB Source Editor --Columns section within BIDS the order is changed arbitrarily.

I have been somewhat successful (2 out of 3) in being able to re-map the data, but this last table just doesn't want to change.

Thanks in advance for any help and/or information you can provide

View 13 Replies View Related

SSIS Changing Excel Tabs Dynamically

Mar 25, 2008



In my SSIS package I have a loop container that I am running the same code against 4 servers.
I have the package export the SQL data to an Excel spreadsheet that has multiple tabs.

Is there a way I can change the tab on the fly or do I need to create a Connection for the same spreadsheet 4 times
Each Connection pointing to a different tab?

I tried to set up a expression for the Excel Connection Manager to use the InitialCatalog for the tab and change it
based on the script in the loop however this causes the following error:


An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "Microsoft Native Client" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".
Cannot create an OLE DB accessor. Verify that the column metadata is valid.

Thanks in advance

View 22 Replies View Related

Changing Destination Database For SSIS Package

Feb 23, 2007

Hi,

I have a small problem. I've gone through the SSIS wizard and created a dtsx file which imports data from an access file into a SQL Server 2005 database. It has been set to delete existing rows and enable identity insert.

I then edited the .dtsx package in SQL Server Management Studio and added an environment variable configuration to allow me to change the destination database. In the script which runs the dtsx, here is what I have (it's an x64 system, so hi have to use DTExec):

"C:Program Files (x86)Microsoft SQL Server90DTSBinnDTExec.exe" /file e: estimport.dtsx /set Package.Connections[DestinationConnectionOLEDB].Properties[InitialCatalog];newdatabasename

and here is the error I get:

Description: The configuration environment variable was not found. The envir
onment variable was: "InitialCatalog". This occurs when a package specifies an e
nvironment variable for a configuration setting but it cannot be found. Check th
e configurations collection in the package and verify that the specified environ
ment variable is available and valid.

I got the package.connections.etc etc path from originally creating the environment variable as an xml config file, then I could open the config file and see what the path was...

Any help would be appreciated :)

View 11 Replies View Related

Slowly Changing Dimension Task CRASHES SSIS

Apr 5, 2006

We have successfully built a SSIS ETL implementation for a data mart.  Most of our dimension loads are using the slowly changing dimensions task.  We successfully built every package and had 1 complete successful load.

We have made a modification to one of the tables that now has 16 mil records in it.  I open the dimension's package and it takes 30 sec - 1 minute to validate.  When I go to the Data Flow tab and attempt to open the Slowly Changing Dimension task, SSIS will freeze up.  I will get no response for hours.  I my testing so far SSIS has yet to come back.

My CPU usage is below 5%.  devenv.exe memory usage is at 113 Mb. My computer is using 400mb / 1Gb of memory.   The status bar at the bottom says "ready". I have let it sit for up to 2 hours with no results.  When I kill the process in the Windows Task Manager it ends instantly.

I have also tried deleting the task and adding a new Slowly Changing Dimension Task.  When I select the table from the drop down I get the same results.  I have noticed this with all my million + record tables that use the slowly changing dimension task but not the smaller tables.
I am also seeing the problem when I am in "Work Ofline" mode.

I am accessing a SQL 2005 server over a VPN connection.  I am connecting to the server using a Native OLE DB OLE DB for SQL Server connection.  My computer is running Windows 2000 SP4,  Intel Pentium M1.86 Ghz, 1 Gb of RAM.

Can a Slowly Changing Dimension Task be used on large tables?  I can understand the process taking a while to run but I do not understand why I can not edit the task.

 

View 3 Replies View Related

Running SSIS On Different Servers Without Changing Connection Information

Nov 14, 2007

What is the best way to run SSIS scripts on different servers without changing connection information. Our test server is ppntt140 and our production server is ppntd110. If I create a script on server ppntt140 what can I do so I can move it to server ppntd110 without changing any connection information? Database names are the same, it is just the server that changes. What is the best way to handle this? Thanks in advance.

View 4 Replies View Related

SSIS - Slowly Changing Dimension Adding Duplicates???

Jun 5, 2007

I am testing the SCD with some sample data and am seeing duplicate rows getting inserted into my table. When configuring the wizard I am prompted to select a key type (Business or Not a key column). I assumed that the SCD wizard would NOT insert a row that already has a business key in the dimension table but that doesn't seem to be the case??? Is that by design?

View 4 Replies View Related

SSIS Script Not Working

Apr 23, 2007

I am using the script below to update a DB2 table and it successfully executes. However, the database doesn't update. Can anyone help me?

Public Class ScriptMain
Inherits UserComponent

Dim connMgr As IDTSConnectionManager90
Dim conn As OdbcConnection
Dim cmdSelect As OdbcCommand
Dim cmdUpdate As OdbcCommand
Dim cmdInsert As OdbcCommand
Dim paramInsert As OdbcParameter
Dim paramSelect As OdbcParameter
Dim paramUpdate As OdbcParameter
Dim ds As DataSet

Public Overrides Sub AcquireConnections(ByVal Transaction As Object)
connMgr = Me.Connections.Connection
conn = CType(connMgr.AcquireConnection(Nothing), OdbcConnection)
End Sub

Public Overrides Sub PreExecute()
cmdUpdate = New OdbcCommand("UPDATE WEBLIB.A2JBMSKHF SET A2DESC = @FullName WHERE Rtrim(A2JOBN) = @FileNameNum", conn)
paramUpdate = New OdbcParameter("@FullName", OdbcType.VarChar)
cmdUpdate.Parameters.Add(paramUpdate)
paramUpdate = New OdbcParameter("@FileNameNum", OdbcType.VarChar)
cmdUpdate.Parameters.Add(paramUpdate)
End Sub

Public Overrides Sub BorrowerRecords_ProcessInputRow(ByVal Row As BorrowerRecordsBuffer)
Try
With cmdUpdate
.Parameters("@FileNameNum").Value = Row.FileNameNum.Trim.ToString()
.Parameters("@FullName").Value = Row.FullName.Trim.ToString()
.ExecuteNonQuery()
End With
Catch ex As Exception
ex.ToString()
End Try
End Sub

Public Overrides Sub ReleaseConnections()
connMgr.ReleaseConnection(conn)
End Sub
End Class

View 1 Replies View Related

SSIS Basics Working With The IDE

Apr 1, 2008

Is the intent of Microsoft to enforce a vertical presentation of the SSIS Control Flow, Data Flow etc? I like to work down and to the right and I am having problems with the connectors (precedent) or in DTS 2000 world Success or On Success implied. Is there away to connect from the lower center anchor point to the side of the next object in the flow? For some reason, I can't get a similiar look to DTS 2000 environment (going from the bottom middle of the object to the side anchor pint (small box) symbol to the left. It wants to anchor on the bottom right, left, or middle, if going horizontally. I must be missing something, here??

Thanks again!

Skyseek


View 2 Replies View Related

Working With Xl Source In SSIS

Jun 11, 2007

Hi All,



I want to use an excel sheet as a source and pick up the data starting from 4th row.

can anybody suggest me a solution for this.



Cheers,

Prash

View 12 Replies View Related

Cannot Setup A Working SSIS To Run As A Job

Nov 23, 2007

Hi All,

This may be a question for multiple forums but here it goes.

I have a large SSIS package that works great in Visula Studio (BIDS) and in SQL Server under MSDB folder. The properties are all set to save with a sql server authentication package password and that works great too. The problem occurs when I try to use this package in a schedule. I get an error about an OLB DB not working. I've tried many things and figured out that all the OLB DBs do not work in this package but only error as a STEP in a schedule.

They all reference a Client Access ODBC connection - which is a connection to an AS400 IBM machine. The actual error is pasted below, where I guess the root of the problem is a incorrect password. The password is fine and I have proven that by running the package successfully under the MSDB folder of Stored Packages under Integration Service.


Message
Executed as user: CNBSQL2SYSTEM. ...ion 9.00.3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 3:29:35 PM Error: 2007-11-22 15:29:38.13 Code: 0xC0202009 Source: HTEIMPORT2 Connection manager "Client Access ODBC Driver (32-bit) 7" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft OLE DB Provider for ODBC Drivers" Hresult: 0x80040E4D Description: "[IBM][Client Access Express ODBC Driver (32-bit)]Communication link failure. comm rc=8002 - CWBSY0002 - Password for user COGNOS on system 172.16.1.2 is not correct". End Error Error: 2007-11-22 15:29:38.13 Code: 0xC020801C Source: Airport PR010ap v2 OLE DB Source 25 [60] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Client Access ODBC Driver (32-... The package execution fa... The step failed.


Please provide any insight if you can - I am still new at SQL2005.

Regards,
Tim

View 5 Replies View Related

Looking For Some General Feedback On Working With SQL, SSIS And SAP

Jun 14, 2007

This is less of a specific question and more of a request for for some advice as to possibilities and directions. Here's the current situation. My company is using SAP for its purchasing, inventory, etc. This system is pretty much opaque to me - it's managed by another group within the company, and changes to it go through a complicated approval process. At the same time, the majority of our users, internal and external, are looking at this same data through a more accesible and more user friendly collection of web applications - done in classic ASP, up through ASP.NET 1.1 and 2 - and stored in an assortment of MS-SQL 2000 databases. Data is exchanged between SQL and SAP via DTS packages, some nightly, some run more frequently.



There's some issues here - data is never quite synchronized between the two sides, sometimes the same data must be updated twice, leading to possible data integrity issues, etc. Given that, we're going to be moving to SQL 2005 within the next year or so. From everything I've understood, within that context, there are vastly better ways of dealing with out situation than the way we're currently doing it.



So what I'm looking for is just a general impression of what can be done, with SSIS and SAP. Any approaches that might prove more fruitful, an y pitfalls to watch out for, that sort of thing.

View 3 Replies View Related

SSIS Configurations Working In Dev But Not In Prod

Mar 19, 2007

I have a package that uses configurations to override package settings based on what environment the package runs in. The package's configuration entries begins with an initial XML config entry that overrides the package's connection manager to a SQL database that holds the remaining configs in a table. Subsequent config entries then fetch their settings from the table. This package is run from a SQL job.

This all works fine in dev. When I moved everything into prod the packages are not getting configured and are using their values stored in the DTSX files. I've triple checked the XML config file, the tables with the configs, and the packages. There are no error messages. I've added some debuging steps to the package to verify that the configs in the table are not getting into the package.

I've also tried manually changing the configs in the table where the package is set to look if the initial XML config fails to adjust the config database location. The package still fails to see any configs from the table.

What could be different between dev and prod that would produce this situation? Both dev and prod have identical copies of the package and the job and are currently pointed to the same configurations database.

By the way, the other connections in the package work for both source selects and destination inserts. Only the configurations are failing, and again there is no error message.

View 6 Replies View Related

SSIS Event Handler Not Working

Aug 8, 2006

hi!

I am using a simple Data Flow within a Squence Controller and have added a Event Handler for OnPostExecute which contains a simple insert to a table, but this is not working. My package gets successfully execute but data is not getting inserted in the table used in Event Handler. I have also tried OnError, OnPackageFailer etc... but no results. Please guide.

View 18 Replies View Related

SSIS Event Handler Not Working

Jan 11, 2008

Hi

I'm still fairly new to some of SSIS's enhanced funtionalities, one of them being Event handlers. I have tried creating a simple package, that simply contains a SQL Execute task that basically creates a simple table. Now i have then added a OnPostExecute even handler as a test which basically runs a script task that simply shows a msgbox. I have gone to execute the package, however after the completion of the SQL Execute task, nothing happens, the even handler doesnt get fired for some reason, i switch to the even handler page and the script task has not been executed. It is like this for every event handler i have tried, even the OnError event. Could this be a problem with my installation of SSIS or have i done something wrong?

Any help would be greatly appreciated as i have done SSIS training and to create an event handler was never this hard!

Regards
Singstar

View 12 Replies View Related

SSIS - Slowly Changing Dimension - Detect Deleted Rows From The Source

Nov 22, 2007



Hi all,

Can you help me to resolve my problem ? I have to do a simple daily backup system. Source : Flat File; Destination : SQL Server. I want to use the Slowly Changing Dimension component to backup only the new and updated row from my source (Flat File) and put them into SQL Server.

But how can I do to detect deleted rows from my source ?

Any suggestions ?

If it's not clear enough, please ask for more details !

GO

View 3 Replies View Related

Activex Script Not Working After Migrating To SSIS

Jan 3, 2008

Hi,
In my script 'm using
Set oPkg = DTSGlobalVariables.Parent
Set oBeginStep = oPkg.Steps("DTSStep_DTSExecuteSQLTask_1")

I guess becoz of using DTSGlobalVariables.Parent in activex,the script is not working.
Can anyone please suggest a solution to run it in SSIS.


Thanks in Advance

View 3 Replies View Related

SSIS Package Run Fine But Not Working When Running In A Job

Mar 15, 2006



I have a 64bit Ent Ed, Created a SSIS package, deployed it, its running when running from sql server but not running as a job

View 1 Replies View Related

How To Evaluate Working Day Through Script Component In SSIS

Apr 11, 2008

how to evaluate working day through script component in SSIS





I have a data source. I need to verify if the date belongs to working day, if it does belongs to holiday or weekend ,then I need to send that row to the out put table. I think the only way I can verify this working day issue through script component. Can any one give me some idea/thoughts?



You all have a wonderful weekend.



Thanks

View 17 Replies View Related

Integration Services :: Import Flat File Which Has Changing Column Order Using SSIS?

Jul 2, 2015

I have a flat with few columns

FirstName, lastName, Address
f1,l1,a1
f2,l2,a2

I build my SSIS package based on the above file.But now i receive files with different columns order let say

lastName,FirstNamr,Address
l1,f1,a1
L2,f2,a2
or
Address,FirstName,LastName
a1,f1,l1
a2,f2,l2

every time i receive multiple files in different order and i have to remap all my mappings. These are just a few columns and i have like 20 columns and the order can potentially change any time. so every time i have build new packages remap them etc.

through normal c# code it pretty easy. I tried to add script here but the script also needs a source and mapping so there is also a mapping issue. Is there a better way to do this.

View 10 Replies View Related

SQL 2005: SSIS: Script Component: Working With BLOB

Jan 3, 2008

I have few tables that I need to export to an MS Access database each day to send off to the customer. In these tables I have a few columns that I need to strip all the HTML out of before they are put into Access since Access does not display the formatting correctly. Some of the fields are varchar and some are text, but all of the fields that are varchar are over 255 in size, so this forces me to use Access' Memo type for both.

In SQL 2000 I used the ActiveX Script to modify these fields, stripping out the HTML, and it gave me no complaints. In SQL 2005, I am adding a Script Component into the Data Flow before the Destination and adding the script in there. So far so good. The problem arises when I try to retrieve and update the data in these fields because they are treated as BLOB data. I believe what I need to do is to retrieve the Byte array from the row using the GetBlobData(), then convert that to a string, strip out the HTML, convert back to a Byte array, then clear the original value using the ResetBlobData(), and then update the field using the AddBlobData. I think?

I am not even sure that my code below is converting the byte array into a string correctly. If I throw a Messagebox in there to see what it has for the string, it just gives me the first character in the field. But even ignoring that, the package will not execute and I am stumped.

The error I now get is:
Array cannot be null.
Parameter name: bytes

''-----------------------------------------------------
Public Overrides Sub Input0_ProcessInputRow(ByVal Row As Input0Buffer)

Dim b As Byte()
If (Row.ProjectDescription.Length > 0) And (Not
(Row.ProjectDescription_IsNull)) Then
b = Row.ProjectDescription.GetBlobData(0,
CInt(Row.ProjectDescription.Length))
End If

Dim str As String
Dim enc As New System.Text.ASCIIEncoding()
str = enc.GetString(b)
str = RemoveHTML(str)

b = enc.GetBytes(str)

Row.ProjectDescription.ResetBlobData()

If b.Length > 0 Then
Row.ProjectDescription.AddBlobData(b)
End If

End Sub
''-----------------------------------------------------

View 4 Replies View Related

New SSIS, Info About Working With Directories Moving Files Etc

Apr 9, 2008



Hey,

What I am trying to achieve currently with SSIS is to view the content in one folder for example 'New' and if there is files in this then move it to 'Archived'.

Any nice liinks or tutorial or general advice you guys could give me ?

View 13 Replies View Related







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