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

The value could not be converted because of a potential loss of data.

$
0
0

Hello all,

I'm working on moving records from a .DAT file to a SQL Server DB. When i run my package, i get the error:The value could not be converted because of a potential loss of data."

When i see the data coming from the file, the column has 02000 which is supposed to be a numeric(5,2)  after the conversion, and also that is the data type for the destination field of my table.  i've tried the ignore failure but still i get the same thing.

Any ideas o how to get around this issue??

Thanks in advance!


Not Enough Memory Error in SSIS Package Execution, When Protecting the Package with protection level "EncryptAllWithPassword "

$
0
0

Hi All,

I have encrypted a package with protection level "EncryptAllWithPassword" . And when i executed the package it is giving following error :

"Could not load package "D:\FinalETLSetup\ETL\CI_Replication2.dtsx" because of error 0x8007000E.
Description: Failed to remove package protection with error 0x8007000E "Not enough storage is available to complete this operation.". This occurs in the CPackage::LoadFromXML method.
Source: {747AAB82-603F-4288-9DE2-80606D9FAB5C}"

Although it is working fine when i removed the protection level. But i require to protect the package. 

I have 16 GB RAM on the server where i am executing the package and i noticed 76% memory is used when i execute the package .

So please suggest me. what may be the problem. Or which type of memory i will have to increase .

i will appreciate your response.

Thanks and Warm Regards,

Raghvendra Rajak  

how to connect multiple XSD files to one XML Source file in SSIS

$
0
0

Hi all,

I am new to deal with XML files.  My problem is, I have a XML file as a source. and my client provided the XSD files. but the problem is, he provived 3 xsd files for one xml file. Each xsd is inter related. the 1st xsd is connected to 2 and 3 and 2nd is connected to 3.

But in SSIS in the xml source i can pass only one xsd file for my source. Can anyone please give me some suggestions to procced.

Thank you.

csv issue

$
0
0

I have exported (using simple ssis) the content of a small table to .csv file and I want to edit this data in excel before I insert back to the same table by deleting that particular rec on the basis of ID (pk).  

As we know excel changes the format of date of the flat files to some number, I wan to avoid this change and want to keep this value same as is, as I am interested in changing other columns values and want to keep the date column value as is.

I know I can do this in notepad or other tools but excel suits me.  Is there any way around to fix this.

I am using SQLServer 2016 and VS 2015


Neil


Excel and Oracle class not registered issue

$
0
0

Hi,

I am working on creating new SSIS job which runs in cloud server. The job gets data from excel file and loads to oracle db. I have Microsoft ACE 2010 64 bit version installed in the server and oracle 12c 32 and 64 bit installed as well. If I execute the task in 32 bit dtexec, excel source fails but oracle works. If I execute the job in 64 bit dtexec, excel works but oracle fails. In both scenarios the failure reason is "Class not registered. If 64 bit is not present please try executing in 32 bit version". Please help with fix for this issue.

SSIS For Each File Loop not looping through all folders for a specific file

$
0
0

Good day,

I have an issue with for each file loop, It only finds the first config.xml in folder "2I" file and completes

Path: c:\projects\SAP\

2I\CONFIG.XML

2Q\CONFIG.XML

2N\CONFIG.XML

the transverse folders are selected, its as if it does not loop

Empty Line after each row in text file

$
0
0

Hi Guys,

I am creating an SSIS package that loads data from MSSQL table to a text file. However, I need to format the text file such that after each row of the data, there will be an empty line/row before the next one.

Please can someone assist me on how to achieve this.

Thanks


me

UPSERT Help

$
0
0

Is there a nice link or documentation for doing upsert in my daily load. Currently i am doing TRUNCATE /INSERT but now i want to track the changing records and maintain the older ones as well in my table. Please share some documentation.

Thanks


DataTools is missing ReportWebService

$
0
0

I am trying to create a SSIS package to call a SSRS report and create a PDF file. I am using the Script Task. In version 2008 there is a ReportWebService that needs to be connected to. I am using Visual Studio DataTools 2017.   When I look to add the ReportWebService, it does not exist. There is a Web Reference but it is greyed out.  How do I connect the ReportWebService to the script task in VSDT 2017? 

Also, does the report URL still use "/reportserver/reportexecution2005.asmx" for the web service or is there a new one for 2017?


Fred

Match and replace name in SSIS

$
0
0

Hello all, 

I would like to know if there is a way to while moving data from one source to a destination, i can validate if a field matches what i have in another table, and if it does, i want to put something else instead of what is coming from source.

Any suggestions?

White screen upon re-opening an SSIS package

$
0
0

Occasionally, when opening an SSIS package, the designer will be blank/white. The properties window is empty, the xml behind- the-scenes is un-editable, and the only work-around I've seen is to restart VS. 

Minimal googling has revealed that this has been a bug within SSIS for years (just search "SSIS Designer is Solid White").

What I'm asking is whether anyone has found a better work-around, and maybe some info as to why it has been around for so long without a fix from Microsoft. Other search results indicate there have been multiple issues opened in Connect before it was retired. 

Thanks,

J

 

Precio de licencia y soporte transferencia de campos xml

$
0
0

Buenas tardes!

Me interesa saber el costo de la licencia  de SQL Server Integration Services y saber si soporte campos que contiene archivos xml y sabes si se puede conectar a Postgresl

Mi numero es 5543593482

Muchas gracias

Saludos 

Job Failed when run as an Agent Job

$
0
0

Hi Everybody,

I created a package and these are the details.

1) Created package on SERVER A.

2) Involved 3 databases (2 on Server A and 1 on Server B)

Package executed w/o issues and data loaded. Package deployed state success.. So i went ahead and created a SQL Server Agent Job. When i execute this job it fails. I have access to both the servers and databases , i get the error:

Login failed for the user "WAB\WABSQLATF$"

I created the job using my credentials, why is the error message showing some kind of system user in the message? Any advice is appreciated.

Thanks

Unable to deploy SSIS after VS 2017 update 15.8.0

$
0
0

I just installed the 15.8.0 update to Visual Studio 2017 and now I am unable to deploy SSIS projects and packages to the SSIS Catalog from within Visual Studio 2017.The Deployment Wizard does still work from the command line, however.

I have repaired SQL Server Data Tools. I have repaired Visual Studio 2017. I have uninstalled and reinstalled SQL Server Integration Services Projects. The end result is the same:

ETA: This error occurs after the "Connect" button is clicked on the "Select Destination" page of the Wizard.

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

Could not load file or assembly 'Microsoft.SqlServer.Management.IntegrationServicesEnum, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) (mscorlib)

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

   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.LoadAssembly(String fullName)
   at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.LoadElement(ObjectLoadInfo oli)
   at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetServerVersion(Urn urn, Object ci)
   at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetObjectInfo(Object ci, RequestObjectInfo req)
   at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetObjectInfo(Object connectionInfo, RequestObjectInfo requestObjectInfo)
   at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, RequestObjectInfo requestObjectInfo)
   at Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance.GetSupportedResultTypes(ISfcConnection connection, Urn urn)
   at Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance.Initialize()
   at Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance.MarkRootAsConnected()
   at Microsoft.SqlServer.Management.IntegrationServices.IntegrationServices..ctor(SqlConnection sqlConnection)
   at Microsoft.SqlServer.IntegrationServices.Wizard.Common.Model.ServerHelper.ConnectToServer(String server, String username, String password, AuthenticationType authenticationType)
   at Microsoft.SqlServer.IntegrationServices.Wizard.Common.ServerProjectBrowser.validateServerWorker_DoWork(Object sender, DoWorkEventArgs e)

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

The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) (mscorlib)

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

   at System.AppDomain.nApplyPolicy(AssemblyName an)
   at System.AppDomain.ApplyPolicy(String assemblyName)
   at Microsoft.VisualStudio.Platform.VsAppDomainManager.MatchAssemblyName(AssemblyName reference, AssemblyName definition)
   at Microsoft.VisualStudio.Platform.VsAppDomainManager.FindAssembly(String name, IEnumerable`1 probingPaths)
   at Microsoft.VisualStudio.Platform.VsAppDomainManager.InnerResolveHandler(String name)
   at Microsoft.VisualStudio.Platform.VsAppDomainManager.ResolveHandler(Object sender, ResolveEventArgs args)
   at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)



SSIS - How to set a flat file source path at run time

$
0
0

I have a very simple dtsx package where I created a package parameter called pSourceFilePath and I set its connection string to a path on a local disk.  I "parameterized" the connection string for the flat file connection manager and set it to point to the parameter (pSourceFilePath).  Everything works great when I run it in Visual Studio.

But when I run it from a c# Winforms app (after I deploy the SSIS package to SQL Server), I set a package parameter with the path of the flat file I want the package to use as the data input for processing. The problem is: the package ALWAYS uses the value defined at design time in the flat file connection manager and not the pSourceFilePath parameter value that I set dynamically in my C# program and passed in.

How can I get the package to use the parameter value?

This is using SQL Server 2017 and Visual Studio 2017 (Winforms application).


Visual Studio 2015 For SSIS - Script Task popping number of errors relevant to assembly

$
0
0

Hello Everyone,

We have recently installed VS 2015 for SSIS development, But unfortunately when I open new Integration Project and add any script task to dtsx package and try to build the edit script (Visual Basic 2015 )task component it gives number of  .net relevant errors as below, Please help asap.

1- 

SeverityCodeDescriptionProjectFileLine
ErrorSystem.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.ST_c072a6debe1c45e9b9f68a71619b1128C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.VisualBasic.Core.targets56

2- 

SeverityCodeDescriptionProjectFileLine
ErrorFile name: 'System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.ST_c072a6debe1c45e9b9f68a71619b1128C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.VisualBasic.Core.targets56

3- 

SeverityCodeDescriptionProjectFileLine
Errorat System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)ST_c072a6debe1c45e9b9f68a71619b1128C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.VisualBasic.Core.targets56

4- 

SeverityCodeDescriptionProjectFileLine
Errorat Microsoft.CodeAnalysis.CommandLine.DesktopBuildClient.RunServerCompilationCore(RequestLanguage language, List`1 arguments, BuildPaths buildPaths, String pipeName, String keepAlive, String libEnvVariable, Nullable`1 timeoutOverride, Func`3 tryCreateServerFunc, CancellationToken cancellationToken)ST_c072a6debe1c45e9b9f68a71619b1128C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.VisualBasic.Core.targets56

and lot many slimier issues , any help would be greatly appropriated.

Thanks, Shankar


New Thread has arrived

Build Error

$
0
0

Hi,

I am getting following error in VS 2015 when trying to build task in SSIS


Severity


Code


Description


Project


File


Line


Error


System.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.


ST_d66f38883af3429fadd76532c1a497e9


C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.Core.targets


67

Appreciate  help

thank you

error code 84b20001

$
0
0

I am trying to update windows server 2012 R2 and when trying to install the update error code 84B20001 appears any way to fix this or know the reason for this appearing 

Connecting to a Access Database - unrecognised database format

$
0
0

Im using a Native OLE DB\Microsoft Jet 4.0 OLE DB Provider to connect to an access database with 2017 integration services.  I've used exactly the same procedure in the past on an older version (2008) and it was fine.

In the 2017 version I get an error when trying to connect.  The access DB is in 2007-2016 file format.  I've been trawling through the forums, but can't see that I'm doing incorrectly.

I get an error:

Test connection failed because of an error initializing provider.  Unrecognised database format


Merge 2 tables with different size and columns

$
0
0

Greeting
im working with 2 tables
Table Store
Store ID | Store Name
1 | AAA
2 | BBB
3 | CCC

Table 2
StoreView
Store ID | NumberOfemployees
2 | 50
3 | 60

i want my out put to be something like this

Dimesnion Store

StoreID | StoreName | NumberOFemployees
1 | AAA | NULL
2 | BBB | 50
3 | CCC [ 60

any Query on how to do this ! i tried Union but it return for me "All queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists."

Thanks in advance

Viewing all 24688 articles
Browse latest View live


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