Quantcast
Channel: SQL Server Integration Services forum
Viewing all 24688 articles
Browse latest View live

Package Buffer error

$
0
0

Hello All,

I am working on a package to load data from flat file into SQL Server and when i run the package i am getting a error below.

Can anyone plz help me on this?

help must be appreciated.



Dilip Patil..


SSDT in Visual Studio 2015 error Microsoft.ACE.OLEDB.16.0

$
0
0

I cannot import or export to excel 2016 from SSIS or SSMS using the 64 bit export.  Tried the 2016 Access installer which failed.  

I want to work exclusively in 64bit mode but I believe that Visual Studio is 32 bit.  SSMS is 64bit, as well as SQL Server 2016 developer is 64 bit.

Looking for help to remedy the situation.

some column values lost in flat file source

$
0
0

Hi, 

I am loading data from a csv file ({LF} row delimiter,  ^ column delimiter), which was created from AIX system. 

I created a FlatFile Connection manager, and Flat File Source in DFT, SSIS 2012. I can see all column values,  

    by right click FlatFile Connection Manager, or Flat File Source -- EDIT-- Preview 

But when I run the SSIS package, some column values were empty in target SQL Server table. Even I check the data from the Data Viewer right after the Flat File Source, column values were empty there. So the issue is just from the Flat File Source output. 

I tried to use Unicode string [DT_WSTR] data type in FlatFile Connection manager, seems no change. 

But really weird thing is, if I change some column's width, that will cause some column values appear, but other columns disappear instead. This is really confusing me. 

When I try to open the file from a text editor, a popup asks whether to convert to DOS format. I choose NO cause I cannot do it in production. In text editor, I cannot see anything special. Any invisible characters causing problem? 

Can someone help please, Thanks a lot



Garry


Job executes successfully under Integration services catalogs but doesn't give expected results under SQL Server Agent

$
0
0

Hello Friends,

I have job to copy files from a remote server to the local machine and have deployed it to the SQL Server Instance. I can see the job underIntegration Services Catalogs->SSISDB->Project Deployment->Projects folder. When executed it worked fine i.e. it successfully copied the files from remote server to the local machine.

When scheduled-
under SQL Server Agent it doesn't copy anything but executes successfully. 

Job flow:

For each file numerator(where the source path is specified)
     |--->under this a File system task where the target path is specified

Note: SQL Server Agent service is running under NT SERVICE\SQLSERVERAGENT User. The job is owned by [sa].Please suggest.

Also, Can anyone also tell me what is the difference between the execution of the Integration Services catalog and the SQL Server agent and what is the need for botth?

Thanks in anticipation :)

Regards,
Santosh G.

 


Santosh G.


More than one column page (65001 and 1252) Error (SSIS with in VS2015)

$
0
0

More than one column page (65001 and 1252) Error (SSIS with in VS2015)

Error at Data Flow Task [OLE DB Destination [138]]: The column "Accident_Index" cannot be processed because more than one code page (65001 and 1252) are specified for it.

I have had to redo some connections - where do these code pages derive from - source/destination?

not doing anything fancy reading a csv file and outputting to a sql table 

and BTW your character validation is really problematic - almost like you are trying to stop questions! 



Replace Excel Cell Values

$
0
0

Hi Team,

We have a critical issue where we have  excel sheet to stage its data to DB where some of the cell values of excel sheet are '-' and we need to update or replace  it to NULL before processing the excel sheet of staging .

pleas help us on the same

How to run a select statement and send the result in tabular format in a Send mail task?

$
0
0

Hi,

I have a log table with 10 columns. I would like to execute a sql statement against the tale to pull top 25 records and send the result in an email in a HTML format.  What are the possible solutions? Your help is highly appreciated.

How to get a format date like that dd-mm-yyyy

$
0
0

Hi,

I have a flat file with this the format date October 01, 2015 i want to change to01-10-2015 

How can i do that

Thanks 


SSIS - create a variable table Create table and can not create table because it already exits.

$
0
0

I'm receiving an error message table already exists when I'm creating an creating a table based off of a variable. A variable that creates a table.  The source variable dynamically creates a table with month and year. Received an error message that can not create table NOV - 16 because it already exists.  I looked around in google and suggestion if table already exists in DB but this can not be the problem due to the variable creates the table dynamically.

Any direction on how to find root cause would be greatly appreciated.


Paul Hinostroza

how to send SSIS errors through emails.

$
0
0

Hi,

Can any one suggest how to send errors in SSIS via Email using SMTP Server and pls suggest how to create SMTP server also.

Thanks

Ipsita

How to get only new lignes and update lines in the next Extraction

$
0
0

Hi,

Every day i do an extraction in flat file,My source is my my sql server database and i have a query with some join and my destination is a flat file.

What i want to do is : in each extraction i want to get only the new lines and the update lines for example :

Today the query that i do extraction return me the line as bellow :

id           Subproduct            QTE
1             Laptop               1000
2             Computer             1800
3             Phone                2000

The flat file now contains 3 lines

and Tomorrow the query that i do  extraction return me the line as bellow :

id           Subproduct            QTE
1             Laptop               1000
2             Computer             1800
3             Phone                3000
4             Other                5000

I want my flat file contains only the two last line because i have an update in Quantity for a product and i have a new line

How can i do this mechanism with SSIS. i would a solution using only sql query if it's possible

Thanks for help !!!

Failed to load XML from the package file "" due to error 0xC00CE556 "Invalid at the top level of the document.Line.

$
0
0
Using Installation wizard to deploy SSIS packages from DEV server to QA server package store cause this error;
Failed to load XML from the package file "" due to error 0xC00CE556 "Invalid at the top level of the document. Line 773, Column 93". This happens when loading a package and the file cannot be opened or loaded correctly into XML document.  This can be the result of either providing an incorrect file name to the LoadPackage method or the XML file specified having an incorrect format.  Please who have the idea of how this issue can be resolved?
BI Developer

Unable to extract data from SharePoint using SSIS

$
0
0

Hi All,

I have one data flow task to extract data from SharePoint. While I am able to extract data the development SharePoint site, I am unable to extract any records from production SharePoint site.

I am getting the below error. We have less than 2000 records in the list in production. But still I am facing the error. Any suggestion how to resolve this issue?

[SharePoint List Source [2]] Error: Microsoft.Samples.SqlServer.SSIS.SharePointUtility.SharePointUnhandledException: Unhandled SharePoint Exception ---> System.ServiceModel.FaultException: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoap.GetListAndView(GetListAndViewRequest request)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.ListsService_ListsSoap_GetListAndView(GetListAndViewRequest request)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.GetListAndView(String listName, String viewName)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointFields(String listName, String viewId)
   --- End of inner exception stack trace ---
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointFields(String listName, String viewId)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.GetFields(Uri sharepointUri, NetworkCredential credentials, String listName, String viewName)
   at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.GetAccessibleSharePointColumns(String sharepointUrl, String listName, String viewName)
   at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.ValidateSharePointColumns()
   at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.Validate()
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostValidate(IDTSManagedComponentWrapper100 wrapper)


Amit Sahoo

SSIS File System Task Will Not Find Variable Path

$
0
0

Hello Forum,

I have a simple File System Task that I am using to move one small file. My variables are as follows:

Name                                                   Value                                                          Expression

DestinationFileName                            MyFile_             @[User::DestnationFileName]+ Replace(Substring((DT_WSTR,30)GETDATE),1,10),"-","")+".csv"

DestinationName            C:\Files\Archive\MyFile_20161292.csv    @[User::DestnationPath]+@[User::DestnationFileName] 

DistinationPath               C:\Files\Archive\

SourceFilename               MyFile.csv           

SourceName                  C:\Files\Current\MyFile.csv                   @[User::SourcePath]+@[User::SourceFileName] 

SourcePath                    C:\Files\Current\

I keep getting the error: "Cannot find part of the path"

I know the files are there and I'm confident that I have the syntax correct on the path definition. Any help would be greatly appreciated.

SSIS 2016 Deployment Failed - Changing Protection Level

$
0
0

Hi experts,

I created an SSIS package and successfully deployed to the DEV and SYST environments which has SQL Server SSIS 2016 installed. However, my deployment team can't deploy the same package to the UAT environment which also has SQL Server SSIS 2016 as the other environments.

They got this error: Changing Protection Level - Failed and actual error message is:

Value does not fall within the expected range. (Microsoft.SqlServer.ManagedDTS)

Any idea?

Thanks,

Sam Lam


Instruct DataFlow task to Redirect bad input rows to Log file?

$
0
0
Hi all,

I am new to SSIS 2005 packages but have written many in DTS 2000.

I am importing a CSV flat file into a SQL server table with SSIS 2005. How do I tell the Dataflow task to redirect rows that don't have the proper number of columns into a Text log file so I can inspect the bad rows later?

I have pointed the Red Error arrow to a text file and defined all the Columns to redirect the error to the text file. I have set the Max error count to 200. However, the entire package fails at the first bad row in the PrimeOutput() method, indicating that Column 13(the last one in the Row) is missing in a particular row. I have tried setting Ignore the error, but that doesn't work either.

I have created a DTS 2000 package that works on the same CSV input and the same SQL table destination. It seems to have no problem with my instructions.

I must be missing something. Can someone tell me what it might be? I really would like to use SQL 2005 or even SQL 2008 because of the new features available, but I am stuck on what I thought would be a very easy first step (because it is very easy in DTS 2000).

Any help would be appreciated. Thanks...

HRMS Plugin

$
0
0

Anyone aware if there is a plugin to load data from (Harry Rhodes Management System) using SSIS?

Thanks

SSIS

$
0
0
do we have SSIS for SQL Server 2014 Express edition?

Agent Job failed with data source instance error

$
0
0

Hi All

I have a package that calls multiple packages. The first task is to get the server details and use them as variables in the connection managers of the other packages.

This package is scheduled to run everyday and it failed today. when i looked under the SSIS Catalogs for error messages. It is giving the following error message "A data source instance has not been supplied for the data source "ExecutionParameters"

Please need help.

Thanks

HOw to split a single row records in to multiple rows using SSIS

$
0
0

Can anyone help me to split a single row records in to multiple rows using SSIS

My input is like text1|text2|tex3|tex4|text5

and the out put should be

Text1

Text2

Text3

Text4

...

Need to execute only using SSIS/SQL command 

Viewing all 24688 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>