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

Getting "Invalid character value for cast specification" error in designer

$
0
0

Hello,

I'm new to SSIS and this is my first project so I guess I'm doing something really stupid but I'm lost as far troubleshooting is concerned.

I have OLE DB source which executes SP with 2 parameters and output is flat file. Every time I run I immediately get output below. How do I troubleshoot further what might be causing this?

Information: 0x402090DC at Data Flow Task, Flat File Destination [2]: The processing of file "C:\Users\admin\Desktop\out.csv" has started.
Error: 0xC0202009 at Data Flow Task, OLE DB Source [41]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80040E21  Description: "Invalid character value for cast specification".
Error: 0xC004701A at Data Flow Task, SSIS.Pipeline: OLE DB Source failed the pre-execute phase and returned error code 0x80040E21.


SFTP very slow using SSIS/CozyRoc, FTP browser very fast. Help!

$
0
0

In a nutshell we have an SSIS flow and CozyRoc installed. Everything works great except our daily file transfer is taking 12+ hours, while we can connect (same computer/network) using a basic FTP browser (FileZilla) and manually transfer (SFTP) the file in about 3 hours.

Any idea on what to look at here? Or where? I've clicked all through the menus and see nothing pertaining to FTP settings other than basic port/address information.

I've read that I can edit DTExec.exe.config & DtsDebugHost.exe.config to find some additional settings, but won't be able to do so until the morning.


Building SSIS packages in SQL Server 2014

$
0
0

I would like to build SSIS package in SQL Server 2014 but I can't find SSDT. I did some research that led me to SSDT-BI but yet again it requires Visual Studio installation - 2013 or 2015. VS 2015 needs IE 10 to work properly.

What is the easiest way to develop SSIS packages - my needs are small - just a data feed from csv into SQL Server 2014 table? Is it any way of avoiding and installing VS?

Cheers

how to populate data length >255 to excel

$
0
0

I use a ole db to get data from database as source data, and use ole db destination to put data into excel, destination component connect to an excel file . and got below warning:

Warning10 Validation warning. {9FA859ED-E4C7-4EA1-AE32-11F21CFDC23D} OLE DB Destination [136]: Truncation may occur due to inserting data from data flow column "sMessage" with a length of 2000 to database column "sMessage" with a length of 255. 

how to populate data length >255 to excel

SSIS Logging and excluding information

$
0
0

I am simply sending the Console log to a text file in the following manner:

DTExec.exe /file "\\%APP_SERVER%\Projects\Runtime\Job1.dtsx" /ConfigFile \\%APP_SERVER%\Projects\Runtime\Job1.dtsConfig.xml /ConsoleLog >> \\%APP_SERVER%\RUNTIME\LOGS\Job1.log

This works fine and and will show any errors, but it also gives a ton of information that I don't need.  Question:  Is it possible to limit the amount of information piped out to the .log file to only the useful information such as an error?

CDC State Error

$
0
0

I have two CDC packages one for initial and incremental. Both package run fine when i execute/schedule.But after few executions incremental is blowing up with the following error.

[CDC Control Task] Information: "State value read from the state table [dbo].[cdc_states] with state name WellOrigin_WellView_MDM is 'ILEND/IR/0x0001DB8C0037034B0002/0x0001DB8C0037034F0002/TS/2015-07-01T14:23:13.1903688/'.".

[CDC Control Task] Information: "The State variable WellOrigin_WellView_MDM was set to 'TFEND/CS/0x0001DB8C0037034B0002/CE/0x0001DB8C0037034F0002/TS/2015-07-01T14:23:19.6385547/ER/Mark Processed Range operation can be invoked only when the state is ILUPDATE, TFSTART, TFREDO./'.".

[CDC Control Task] Information: "State variable WellOrigin_WellView_MDM with value TFEND/CS/0x0001DB8C0037034B0002/CE/0x0001DB8C0037034F0002/TS/2015-07-01T14:23:19.6385547/ER/Mark Processed Range operation can be invoked only when the state is ILUPDATE, TFSTART, TFREDO./ was saved to table [dbo].[cdc_states].".

[CDC Control Task] Error: "Mark Processed Range operation can be invoked only when the state is ILUPDATE, TFSTART, TFREDO.".

can anyone suggest how to resolve this.

TIA,

Rahul

Error while updating data to Sharepoint

$
0
0

hi All,

Good Day!

There is a requirement to insert if there is a new record/update the existing record to Sharepoint. Am able to do Insert/Update to SharePoint if the data quantity is minimum, i.e, records in hundreds.

link: http://thechriskent.com/2012/06/19/merging-data-into-a-sharepoint-list-using-ssis/

if the records/data is more(in thousands), while updating to sharepoint, am getting below error. I tried to keep the minimal batch size, but still getting the same error.

Is there any setting on Sharepoint that can be set to increase updation capability?

Error details:

 System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:o="urn:schemas-microsoft-com:office:office" lang="en-us" dir="ltr">
<head><meta name="GENERATOR" content="Microsoft SharePoint" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Expires" content="0" /><meta http-equiv="X-UA-Compatible" content="IE=8"/><meta name="ROBOTS" content="NOHTMLINDEX" /><title>

Error

</title><link rel="stylesheet" type="text/css" href="/_layouts/15/1033/styles/corev15.css?rev=ox%2BqLd6WTqhn6d%2FMqf2BMw%3D%3D"/>
<link rel="stylesheet" type="text/css" href="/_layouts/15/1033/styles/error.css?rev=nc1850SZNy60qTAeQIRxsA%3D%3D"/>
<script type="text/javascript" src="/_layouts/15/init.js?rev=%2FWTxr8UesytJ8GB%2F5hOwZA%3D%3D"></script>
<script type="text/javascript" src="/ScriptResource.axd?d=Xk0NEdH2fPzV6iK_jX1QyxyIvX3d6qMyUR7g3X_pLj3803Il6KiE53vwcERQzD3Y0-q4UpveatXfBOG7tydAWu2111jN0cI3WJzgPH4-wITimoTuMbmI6xYdd85DKZebsn2'.

Server stack trace: 
   at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
   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.UpdateListItems(UpdateListItemsRequest request)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.ListsService_ListsSoap_UpdateListItems(UpdateListItemsRequest request)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.UpdateListItems(String listName, XElement updates)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.ExecuteSharePointUpdateBatch(String listName, String viewId, XElement batchXml, Int16 batchSize)
   at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.UpdateListItems(Uri sharepointUri, NetworkCredential credentials, String listName, String viewName, IEnumerable`1 fieldValueList, Int16 batchSize)
   at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListDestination.ProcessInput(Int32 inputID, PipelineBuffer buffer)
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)

what is the cause of this error?

Please advise.

Thanks,

Raghavendra

Execute several DataFlow tasks in parallel and write to single Excel File?

$
0
0

Hello,

Is it possible to do? I'm getting lock violations in I try to execute several tasks in parallel.

Greg


Microsoft.SqlServer.Management.IntegrationServices namespace

$
0
0

After several tries, I am unable to find the Microsoft.SqlServer.Management.IntegrationServices.dll or the namespace stated in the title.

I am trying to write a C# application that will execute a SSIS 2012 package that I deployed to the Integration Services Catalog.

I appreciate any assistance you can lend me in this matter.

Design guidlines are needed

$
0
0

Hello,

I need to run some stored procedures and store it in Excel file. I create SSIS package and it works fine. It accepts necessary parameters to specify where Excel File Location will be and input parameters for stored procedure.

My question is how do I run this report say on first day of each month and automatically pass some parameters to it?

I see I can create SQL agent job and pass parameters manually to it during job creation but how do I pass parameters which are different on each tun (like currentdate() for example)?

Problem installing .ispac in SQL Server 2012

$
0
0
Hello guys.

I have the following problem. I have a package dtsx from a project developed in VS2008, then I would want to install this package in Sql Server 2012, the problem is that Sql Server 2012 doesn't run dtsx packages from VS2008. 

So, I have tried to upgrade the project in Visual Studio 2010, but it didn't work. 

My second try was creating a project in Visual Studio 2013, I created a project and I added the existing package "MypackagecreatedinVS2008", I run the project and everything is correct, the package does his tasks. When I install the package with ISDeploymentWizard.exe, previously, creating the database of integration services SSISBD, and the error is this:


The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.

I have changed the protection level of the project to don't save sensitive in the two projects (VS2008 and VS2013) in all the levels. I have changed the execution of the project for 64x = false, I mean is a 86x project, everything is in 86x.

I have been looking for the solution for this error 0xC0011008, but I haven't found anything. Anybody can help me? I don't know what I have to do. Thank you very much.

Stopping a merge join with one input without data in SSIS

$
0
0

Hi there

I would like to know if there is a way to stop the execution of a workflow involving a merge join (option: inner join) when one of the sources does not have any output. I mean, a case like this:

Useful in my case when I have to look for information from different sources and some days I can have zero registers from one of them according with some conditions, but the other one still continues validating the condition of the query and giving results (a considerable quantity sometimes).

Regards

SSIS WMI Event Watcher Check for New Folder in an Existing Folder

$
0
0

Hi,

I know a WMI event watcher can be used to watch for a new file being added to a folder. However, I need to check for new folders being added to an existing folder. I haven't been able to find a post on doing this. Is there a way in WQL to check for a new folder being added instead of a new file? I've used SQL for years, but am new to SSIS.

Thanks

Mysql Connector

$
0
0

Hello,

So i was able to get connected to Mysql database but when i go to the ado.net source editor and try to use the table or view data access mode no tables show up. But if i write a query i see results in preview. Is there a way to get the tables to populate in the data access mode? I am using sql 2012 with visual studio 2012. The Mysql connector i use is

MySQL Installer 5.6.25

http://dev.mysql.com/downloads/installer


To design Integration Services packages in Business Intelligence Development Studio, Integration Services has to be installed by one of these editions of SQL Server 2008: Standard, Enterprise, Developer, or Evaluation. To install Integration Services, run

$
0
0

When i try to create a dts package in Busness intelligence development studio(sal server 2008 R2),im getting the follwing error.

 

To design Integration Services packages in Business Intelligence Development Studio, Integration Services has to be installed by one of these editions of SQL Server 2008: Standard, Enterprise, Developer, or Evaluation. To install Integration Services, run SQL Server Setup and select Integration Services.

 

Please help me to resolve this problem


Newbie in SQL Script Component

$
0
0

Hey guys,

I've been searching around numerous forums and I can't seem to get the response I fully understand. So I have a C Sharp Code which displays different active directory attributes for example username, account expiration date from a given domain name. I wrote and executed the code on Microsoft Visual Studio. Now I want to create a SSIS Package. So I'm using Script Component (as a source) to load the code. So I don't know how I can load the code to Script Component? I have absolutely no idea. Any Ideas? Should I be connecting a flat file source.But then how do I convert my C sharp to a csv file?

SSIS 2008 R2 package is pushing data down in excel 2010 64 bit

$
0
0

I have package which pulls data from db table and creates a excel file extract.

The flow is like this - A excel file template sits in the input folder folder for processing .The package starts by dropping excel sheet in the excel(which is clearing any data and columns available) once that is done it has script task which creates a new columns for the sheet and gives a sheet name as well .Then a execute sql task runs and pumps data into a table which  serves as a source for the excel extract process .The excel extract process involves pulling data from the table and doing data conversion before it moves it into the oledb destination (excel file on file server).

When I run the package I go and see that data is pushed down . I see top rows say 100 are empty and data appears after say 100 rows .

I tried deleting excel file and replacing with new one empty with columns and sheet name only but still it doesnt work?

I am trying to understand what is making ssis behave like this and what can I do overcome the problem ?

I read on google that we need to bring in file system task will move a template to working directory which is input folder but I dont want it to incorporate that logic as we need to push this package to production ASAP with very minimal change .


Mudassar

SCD type 2 transformation

$
0
0

Hi,

My query is on SCD type 2 transformation (using 'effective from' and 'expiration date')

I need to customize this in such a way that the succeeding changes for a particular record should have the

'Effective from' date = previous 'expiration date' +1 day.

Using the SCD wizard, I'm getting the same date for both 'expiration date' (of the outdated record) and 'effective from' date (of the updated record).

please advice me ..

thanks


Raja

Connecting to Kronos and Agylysis in the "Cloud"

$
0
0

I am using SSIS for my ETL tool and I want to know if and how I can access the data for both Agylysis (POS system) and Kronos (payroll data) when it is on the "Cloud" or hosted by them not us.

After speaking with both they say that they have not had the need to have something like this. I need to be able to pull the data and pass it to our DW.

Any thoughts?

Thanks,

Jay

SAP R/3 Free Connector

$
0
0

Dear friends,

I know that there are several payed options to connect to SAP R/3. BUt do you know any free way to connect to SAP R/3 from SSIS?

Thank you!


Visit My Business Intelligence Blog - If your question is answered, please mark as answered.

Viewing all 24688 articles
Browse latest View live




Latest Images