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

EXECUTE ssis without SQL


SSIS Web Service Task error : SQL 2005

$
0
0
On my dev machine every thing works, When i put my SSIS on QA server for testing, I get following error . Customer has only SQL 2005. Please provide any input on how to resolve this issue. I provided HTTP URL as .asmx?WSDL    already in config file.

  Code: 0xC002F304
   Source: Log Start Message to Process Manager Web Service Web Service Task
   Description: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The input Web Services Description Language (WSDL) file is not valid.
   at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil..ctor(Object connection, String downloadedWSDL)
   at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Moonis Tahir MVP, MCPD, MCSD.net, MCTS BizTalk 2006/SQL 2005/SharePoint Server 2007 (Dev & Config)

Input WSDL file denied error when SSIS package hosted on another server

$
0
0

Hi All,

I exported my SSIS package to Server 2 from Server 1. On Server1 Webservice task in SSIS working fine but in Server 2 because not able to find Input wsdl file, getting error message. 

How can i configure Wsdl file so that it is included part of connection manager properties when etl exported to another server

Connect SSIS to Google Drive or Google Sheets

$
0
0

Hello,

I need to download a file from google Drive or open it, using SSIS but I have not found any reference about it. Is it possible?

Is there a provider to connect to Google Drive. Can anyone help me?

Thanks,

Andrés

SSIS Script Component takes long time to open on "Edit Script" | VS 2017

$
0
0
When I edit asimple script component on SSIS, it takes up to 10 seconds for a new instance of visual studio to open so I can edit it.

Forward error from script task

$
0
0

Hi, 

How do I forward an error from a script task to a task that will log it in a database ? 



I the above script task I have the below catch statement. 

How do I forward that error to the logfailure SQL script task  ?


[Flat File Source [2]] Error: Cannot open the datafile "VendorPurchases20050512.txt".

$
0
0

hi

I'm trying to use foreachloop container in order to read the data that i have in several txt files and upload it into MRR table. 

when i'm trying to run the package, i'm getting the following error: 

[Flat File Source [2]] Warning: The system cannot find the file specified.
[Flat File Source [2]] Error: Cannot open the datafile "VendorPurchases20050512.txt".
[SSIS.Pipeline] Error: Flat File Source failed the pre-execute phase and returned error code 0xC020200E.

I don't know what's the problem since it was working before.In the flat file connection manager i defined all the path including the name of the file.

I'll be happy for assistance

thanks

Yaron

i have a problem when i started running my SSIS project .Im working with visual studio 2017 (sql server 2017)..Help please :)

$
0
0
TITLE: Microsoft Visual Studio
------------------------------

Failed to start project

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

Nom de répertoire non valide (Microsoft.DataTransformationServices.VsIntegration)

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

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


Unexpected Termination error on SQL Server 2017 CU 12

$
0
0

I know this has been reported for older versions but I have the same issue on SQL Server 2017 - when running an SSIS package from the SSIS catalog, using SQL Agent, which calls other packages using Execute Package task, the package will abort suddenly, and the only error shown in the SSIS catalog reports is execution status ends with "Unexpected Termination." There are no "error message" proper. Is this still a problem in the current version of 2017?

Edit with add'l information: I don't know if this is a factor or not but I note that some packages following this pattern do work when they use only database connections in their execution (e.g. getting data from a SQL Server) but the failing packages are reading from Excel workbooks. The failing packages will typically start, locate the file, read it and load it into SQL Server and then, anecdotally at least, the process aborts before the next step after that.

Script Component - The value is too large to fit in the column data area of the buffer

$
0
0

Hi 

I have been trying to resolve an error message ("The value is too large to fit in the column data area of the buffer") I am getting from a Script Component (C#) that decrypts GPG encrypted column from VARBINARY(MAX) datatype to VARCAHR(MAX) datatype. It has been working fine until the past few days. Here are the Data Flow Task steps:

  1. OLE DB Source - Gets the data from a SQL Server table, which is VARBINARY(MAX) datatype. 
  2. Script Component - dectypts from gpg incrypted column using C#. OutPut Columns is set to DT_STR(8000), which fails if I try to increase the column size above 8000.
  3. OLE DB Destination - Destination table has a VARCHAR(MAX) datatype column size. 

Here is the C# script for step #2:

 int length = (Int32)Row.MyColumnName.Length;
            if (length == 0)
            {
                Row.DecryptMyColumnName = null;
            }
            else
            {
                byte[] bytes = Row.MyColumnName.GetBlobData(0, length);
                String keyString = System.Text.Encoding.ASCII.GetString(bytes);
                if (keyString.Contains("\\r\\n"))
                {
                    keyString = keyString.Replace("\\r", "\r");
                    keyString = keyString.Replace("\\n", "\n");
                }
                else
                {
                    keyString = keyString.Replace("\\n", "\r\n");
                }

                Stream stream = new MemoryStream(System.Text.Encoding.ASCII.GetBytes(keyString));
                Row.DecryptMyColumnName = getDecryptedData(stream, keyString);
            }

I have tried the following links but to no avail:

Any help is greatly appreciated!


IN~

Who will be announced as the next SQL Server Integration Services Guru? Read more about December 2018 competition!!

$
0
0


What is TechNet Guru Competition?

Each month the TechNet Wiki council organizes a contest of the best articles posted that month. This is your chance to be announced as MICROSOFT TECHNOLOGY GURU OF THE MONTH!

One winner in each category will be selected each month for glory and adoration by the MSDN/TechNet Ninjas and community as a whole. Winners will be announced in dedicated blog post that will be published in Microsoft Wiki Ninjas blog, a tweet from the Wiki Ninjas Twitter account, links will be published at Microsoft TNWiki group on Facebook, and other acknowledgement from the community will follow.

Some of our biggest community voices and many MVPs have passed through these halls on their way to fame and fortune.

If you have already made a contribution in the forums or gallery or you published a nice blog, then you can simply convert it into a shared wiki article, reference the original post, and register the article for the TechNet Guru Competition. The articles must be written in December 2018 and must be in English. However, the original blog or forum content can be from before December 2018.

Come and see who is making waves in all your favorite technologies. Maybe it will be you!


Who can join the Competition?

Anyone who has basic knowledge and the desire to share the knowledge is welcome. Articles can appeal to beginners or discusse advanced topics. All you have to do is to add your article to TechNet Wiki from your own specialty category.


How can you win?

  1. Please copy/Write over your Microsoft technical solutions and revelations to TechNetWiki.
  2. Add a link to your new article on THIS WIKI COMPETITION PAGE (so we know you've contributed)
  3. (Optional but recommended) Add a link to your article at the TechNetWiki group on Facebook. The group is very active and people love to help, you can get feedback and even direct improvements in the article before the contest starts.

Do you have any question or want more information?

Feel free to ask any questions below, or Join us at the official MicrosoftTechNet Wiki groups on facebook. Read More about TechNet Guru Awards.

If you win, people will sing your praises online and your name will be raised as Guru of the Month.


PS: Above top banner came from Vimal Kalathil.

Dave Rendon - wikiazure

Cannot bulk load because the file "name.json" could not be opened. Operating system error code 12007(Reason: 317).

$
0
0

Can anyone explane me what have I done wrong? I\m just trying execute simple procedures (EXEC[dbo].[PR_MigrateGeometryAttributes_Heating])

Msg 4861, Level 16, State 1, Procedure dbo.PR_MigrateGeometryAttributes_Heating, Line 23 [Batch Start Line 2]

Cannot bulk load because the file "heating/heating_Trimble/Kulvert_Element.data.json" could not be opened. Operating system error code 12007(failed to retrieve text for this error. Reason: 317). 

And I event coudn't find what this error means

How to run SSIS package as Admin?

$
0
0

ssis- package created in visual studio professional 2017 point to sql server express 2016 would throw below error on debug -

[SQL Server Destination [81]] Error: Unable to bulk copy data. You may need to run this package as an administrator.

sql server express do not provide Agent Jobs option.

I have installed ssis - and i need to run my package as admin.

Execution window with half lines

$
0
0

I'm using Visual Studio 2017 Community 15.9.3 with BI tools installed.  When I execute SSIS packages the execution window is very hard to read as the lines overlap.  I've taken a screenshot where you see the effect.  Any ideas how I can solve it?




Lee Hawthorn. View my blog at leehbi.com. BI Dev lead.

How can we know a source schema has changed before SSIS package runs and fails?

$
0
0

Hi All,

The boss asked me how we could be made aware of schema changes to transactional application databases that will later cause a data warehouse SSIS package to fail.  Obviously, we could keep complete documentation in the form of field mappings that list our sources and destinations--I typically create these in Excel before I begin development--but it would be a huge task to complete up front and to maintain, not to mention having to reference them every time a change to a source table is proposed.  Is there another option?

Thanks,
Eric B.


How to make flat file source pick a file dynamically

$
0
0

So right now in my control flow I have this:

script task --> data flow task

My script task removes the footer off of a text file.

My data flow looks like this:

Flat file source --> OLE DB Destination

For now, my flat file source takes a static text file after the footer has been removed and transfers it into a server as a table. The problem is, I want to automate this process so that it occurs everyday. The text file will always change and will have a naming pattern like this: 20181103.txt, 20181104.txt, 20181105.txt, etc. so I'll know which file will need to be processed. In the script task I can figure out which file to remove the footer from but I don't know how to choose the correct file in the flat file source. Can anyone help please?


Dispatcher processing has been suspended, but messages are still being processed.

$
0
0

Hi,

Have a SSIS package,continuously am getting bellow error screenshot.

 

have closed multiple time but still am getting this error message. Could you please help on this issue. I can not close visual studio because have not saved my package.


Thanks Bala Narasimha


How i need pass ID and name into varibales and execute Procedure

$
0
0


I Need to execute 2 Procedures
Ex :

Exec usp_Employee @name = 'Employee'

Exec usp_Department @ID = 2,@name = 'Department'

I have a master table where I have records like this

ID name
1  Employee
2  Department
3  Class

How can I pass this table data into variables send to the Procedure as parameters

The Employee name should go to usp_Employee Procedure as parameter and the ID and Department name should go to usp_Department Procedure as parameter

I have created Execute SQL TASK in that I have placed this Procedures

Exec usp_Employee @name = ?
Exec usp_Department @ID = ?,@name = ?

And used For loop  container but it is not  executing as expected.

How can I loop the master table data into variables and pass it as parameters to those Procedures.

Suggest me

 

Overwrite SSIS Project Parameters using power shell

$
0
0

Hi,

We are deploying ISPAC through power shell

Actually we have some variable in CI/CD pipeline. These variable value needs to be mapped to SSIS project parameter value.

Currently ISPAC file is getting deployed through powershell. But we are not able to override the project parameter value with this power shell script.

It would be very much helpful if someone can guide in overwriting project parameter value using powershell script.

Thanks,

Raksha


Raksha

Error while creating SSISDB Integration Services Catalog

$
0
0

I've mistakenly deleted my integrated services <g class="gr_ gr_17 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="17" id="17">catalog</g> and when I again try to create a new <g class="gr_ gr_68 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="68" id="68">catalog</g> it is throwing the error that ' The <g class="gr_ gr_104 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="104" id="104">catalog</g> backup file could not be accessed. Make sure the database file exists and the SQL Server service account is able to access it.'   
I've checked in the location for SSISDB backup but there's no backup for that.

How to fix this issue to again create the <g class="gr_ gr_301 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="301" id="301">catalog</g>?

Viewing all 24688 articles
Browse latest View live


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