Gurus,
Can any one explain me the steps that need to be followed to trigger an SSRS report from scheduler tools like SKYBOT?
Please share the scripts if any.
Thanks in Advance.
Gurus,
Can any one explain me the steps that need to be followed to trigger an SSRS report from scheduler tools like SKYBOT?
Please share the scripts if any.
Thanks in Advance.
I have been developing a package which moves excel files from staging folder to archive folder, once those files are used by an excel connection manager.
I have a foreach loop container which goes through all the files of the staging folder. In the foreach loop container, I have a script task which has following code only:
Dts.Connections["Excel Connection Manager 1"].ReleaseConnection(null);
//Excel Connection Manager 1 is the connection which uses the excel files. My logic behind this is to release the locks on the files if any. I am not sure if NULL is working though
Next is an Execute sql task which only has 'WAITFOR DELAY '00:00:01' in it. I googled a lot and this was suggested at many places..
Now I have the actual move file task which moves the files from staging folder to the archive folder.
So, the process works well for all the files except the last one. The last file still remains locked by the excel connection manager and that is why the move file task fails.
I also scripted the move file using the example given here : LINK
That doesn't fail the package, but doesn't move the last file as well.
I also tried 'Dts.Connections["Excel Connection Manager 1"].Dispose();' instead of releaseconnection, but thats not helping either
Can anyone please help me out here..
Thanks in advance!!
Hi All
I have 6 csv files in a folder with "different file names" and similar metadata and my aim is to bring all those to the same folder or a different folder in .txt format after applying a simple dervied column transformation.
I took a for each loop container for iteration of 6 csv files(created a variable "filename" for looping the files )
within the for each loop container i dragged a dataflow task and within DF task i have a flatfile source where i randomly chose one of the 6 csv files
connected the above FF Source to a dervied column transformation and applied some transformation which is fine
adn the lastthing is i connected the dervied column to a flatfile destination and i want all the 6 csv files to come into the folder or a diff folder(either is fine) with .txt format dynamically.
Please help with this.
Hi!
I created and deployed a custom connection manager. But in SSIS 2014 (RTM) / VS2013 it gives me the error message The connection manager '' is not properly installed on this computer when adding the connection manager in VS.
The code works perfect in SSIS 2008 / 2010 / 2012 in VS2008 / VS2010 / VS2012 and it even worked well under SSIS 2014 CTP 2 / VS2012. The error message comes up ONLY in SSIS 2014 RTM. I created a simple sample program to strip all useless code to demonstrate the problem (see below).
Can anyone point me in the right direction? I debugged a lot internally and found out, that it might have something to with a missing connection manager property named "CreationName".
Thanks in advance for your help.
Regards
namespace ConMan01Hi All,
I searched too many articles to find how the seed the works in Row Sampling Transformation. But i didn't get any thing.
If any body knows about this please give me reply.
Thank you in Advance..
The Buffer Size is calculated by calculating the Estimated Row Size. The Estimated Row Size is calculated by adding the maximum size of each output column from a Data Source Component.
The buffer size is calculated by multiplying estimated row size with default buffer max rows. We know that buffer size lies between 64KB and 100MB. After finding out the buffer size as per the above methods, the engine automatically adjusts the buffer size.
Bt my concern is related to blob data. The size of DT_NTEXT (blob data) is 2^30 bytes. I understand that while calculating the estimated row size 2^30 is not considered. But then what would be the estimated row size here and how the buffer size is getting calculated.
Thanks in Advance,
Regards,
Chhandak
I have SQL Server 2012 Integration Services. I have Excel Source and OLE DB Destination.
I have 2 Excels, both having exactly same columns and their destination table is same.
I have MarketShare column in Excel. I have also MarketShare column nvarchar(100) in Database. I should not make any change in Excel file or DB table.
MarketShare value can be numerical like "0.50" or "25.4" or text like "Not Available" or text like "Not Available Yet"
My problem is that numerical values are stored to DB like 0.500000000000003, 25.399999999999999. Text as stored correctly.
What should I do so that digits of numerical values are stored corretly to nvarchar(100) column?
Kenny_I
Hi,
Does SQL server 2012,no more prefer MSDB and File system deployments?
If not migrated what are implications in future??
is it really necessary to upgrade now??
when I use Smo, why does my package executed using SSISDB resources rather than using client resources??
Regards,
Navin
Navin.D http://dnavin.wordpress.com
when I'm trying to connect to production server , through Look up or an OLDB source ..
it is giving timed out error. this is while designing the package..
is there other option to avoid this error.
Hi,
I am processing a cube via C# script with the following:
XmlaResultCollection oResults = svr.ExecuteCaptureLog(false,false);
foreach (XmlaResult oResult in oResults)
foreach (XmlaMessage oMessage in oResult.Messages)
if (oMessage.Description == Value1 OR oMessage.Description == Value2...)
return;
I want to stop the execution if there was an error.
What I am looking for, is the list of possible Descriptions resulting from the process in order to stop if failed.
Hi All,
I have an active passive Clustered environment in SQL 2012. While running scheduled jobs I am getting the following error.
Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "SQL Server Network Interfaces: The target principal name is incorrect. "
This will disappear for a short while if we restart or attempt a failover. But will show the same error after the job have executed around 6-7 time continiuously. I have checked SPN and its registered successfully. The command setspn -L Domain\Account returns the following.
MSSQLSvc/EDW.USTDEV.COM:1433
MSSQLSvc/EDW.USTDEV.COM:EDW
MSSQLSvc/ODS.USTDEV.COM:52860
MSSQLSvc/ODS.USTDEV.COM:ODS
Kindly post a resolution for the same. SQL Job full error message is as follows.
Description: "SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.04 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager "CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description:"SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.06 Code: 0xC001404B Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Log provider"SSIS log provider for Text files" Description: The SSIS logging provider has failed to open the log. Error code: 0x80070003. The system cannot find the path specified. End Error Error: 2014-04-06 16:19:46.08 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager "CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.10 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager "CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.12 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager "CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description:"SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.14 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager "CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.16 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager"CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "SQL Server Network Interfac... The package execution fa... The step failed.
Trying to get a general understandin of what integrated security does and does not mean. Have an SSIS package that perform some operations against DB1. Ran a custom utility to deploy the package. Ran the customer utility once with Integrated Security checked, and another time with Integrated Security Not checked. Realize it is a custom utilty and it manipulates the connection manager strings, but trying to understand the basics.
Created with customer utility where Integrated Security was checked. So for this one there is no userid information. Under what credentials is the package executed?
<DTS:ConnectionManager><DTS:Property DTS:Name="Retain">0</DTS:Property><DTS:Password DTS:Name="Password" Sensitive="1"></DTS:Password><DTS:Property DTS:Name="ConnectionString">Data Source=fidevh360bi\fidevh360bi;Provider=SQLNCLI10.1;Initial Catalog=Bank03;Integrated Security=SSPI;Auto Translate=False;</DTS:Property></DTS:ConnectionManager>
Created with same custom utility where Integrated Security was NOT checked and a userid and password was entered.
<DTS:ConnectionManager><DTS:Property DTS:Name="Retain">0</DTS:Property>PASSWORDHERE<DTS:Password DTS:Name="Password" Sensitive="1"></DTS:Password><DTS:Property DTS:Name="ConnectionString">Data Source=fidevh360bi\fidevh360bi;Provider=SQLNCLI10.1;Initial Catalog=Bank03;User ID=FNR2S\e123456789;</DTS:Property></DTS:ConnectionManager>
My first query selects out records from a "master" table and places them in a destination database table on another server.
I want my second query to select out records from a second table on the in the same database as the master table based on the content of the records that have been already place on the other server.
I'm expecting that my query will look something like...
select * from <second table on first server> where <field name in second table> is in
(select <field name from table on other server> from <table on other server>)
Is there a way to do this?
Thanks for any help, Roscoe
I am trying to merge multiple PDF files into one PDF file. I have around 5000 folders and each folder has around 10 to 15 PDF's in it. Before I m export those PDF's I need to merge multiple PDF files in sub folders and export. Is there a way in SSIS using script task where we can merge those files looping through all the folders and sub folders. Any help much appreciated.
Hi,
I have scheduled my SSIS job via Autosys and I get the following error:
Error: 2014-04-07 10:57:49.39
Code: 0xC0202009
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80004005 Description: "Unspecified error".
End Error
Command for Autosys used is:
D\:\Script\EXEC_SSIS.bat DTSXFile MachineName DTSConfig.dtsConfig DTSXFile machine:MachineName
I have tested the same directly on the server using the same id and commands in my Autosys job and it works successfully. But the Autosys job errors out. I have verified that my id has complete access to the files and machine.
Is there some other access that I need to check or might be missing? I am stumped as it works when run directly on the machine with the same id.
Appreciate any help and thanks in advance.
Hi,
I want to create a variable with SQL Query have IN clause in it?
"SELECT * FROM dbo.Tablename WHERE Email IN ("+ @[User::Email] + ")" + " AND LastUpdated >" @[User::LastUpdated_CS]
These through an error, how to write the correct synatx
Hi ,
I have to download and upload files using sftp in ssis.
1. is there any way simply we can write it in script task ?
2. i found one sftp control task in codeplex i added it in gacutil but i am unable to choose item from in VS 2010 ?
I am not getting the tab "ssis control flow items" . i tried different ways but i am not getting the option to add it.
any help is appreciated.
Thanks in advance.
My column has a data type of nvarchar(255) in sql server 2005 so I can import from excel 2007. I am using ssis 2005 to import.
Excel Source to OLE DB Destination and getting the following error.
[OLE DB Destination [4348]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".
Any ideas.
Thanks for help
Hello,
I first installed SQL Serrver Express Edition 2008 with Advanced Services (As a part of some client's software)
Now I have isntalled SQL Server Developer Edition 2008, by selecting ALL features and client tools.
Now, with BIDS, I can start SSRS and SSAS Projects, but I can't start SSIS Projects.
I am getting below error message :
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 let me know how do I resolve this issue "Without un-installing Express Edition installed earlier on my machine"
Please help !
Thanks
DP