Alerting for a SSIS 2005 task that runs indefinitely
Hi,
for a my SSIS 2005 package it occurs sometimes that a task runs in a indefinite manner (the color of the box remains yellow). Is it possible to capture a such event in order to alert a dba administrator? How?
Many thanks
Based on what I read you run it interactively (in BIDS), why?
Yellow means something is not right with the task. Fix it!
You of course can automate, but not purely with SSIS, so make up your mind what constitutes a threshold in terms of wait time, and then before running the culprit task insert a record into a table indicating its start. Next you may want to have a trigger
starting an Agent job that checks say every 5 min if there is a record signalling the end of the task until the threshold elapses and then the job would send an-mail to your DBA.
Arthur My Blog
Similar Messages
-
Http service too busy error for SSIS adapters for SharePoint - SSIS 2005 and MOSS 2007
Hi,
a my old SSIS 2005 pkg that uses the SSIS adapters for SharePoint from only some days ago goes in error with this message for a data flow task that reads from a MOSS 2007 list:
Error: System.ServiceModel.ServerTooBusyException: The HTTP service located at
http://mysitename/_vti_bin/lists.asmx is too busy. ---> System.Net.WebException: The remote server returned an error: (503) Server Unavailable. at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException
webException, HttpWebRequest request, HttpAbortReason abortReason) 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.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) at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.GetFields(Uri sharepointUri, 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(IDTSManagedComponentWrapper90 wrapper).
Any suggests to me, in order to solve this issue? Many thanksUnfortunately your post is off topic as it's not specific to SQL Server Samples and Community Projects.
This is a standard response I’ve written in advance to help the many people who post their question in this forum in error, but please don’t ignore it. The links I provide below will help you determine the right forum to ask your question in.
For technical issues with Microsoft products that you would run into as an end user, please visit the Microsoft Answers forum ( http://answers.microsoft.com ) which has sections for Windows, Hotmail,
Office, IE, and other products.
For Technical issues with Microsoft products that you might have as an IT professional (like technical installation issues, or other IT issues), please head to the TechNet Discussion forums at http://social.technet.microsoft.com/forums/en-us, and
search for your product name.
For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), please head to the MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and
search for your product or issue.
If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here: http://community.dynamics.com/
If you think your issue is related to SQL Server Samples and Community Projects and I've flagged it as Off-topic, I apologise. Please repost your question and include as much detail as possible about your problem so that someone can assist you further.
If you really have no idea where to post your question please visit the Where is the forum for…? forum http://social.msdn.microsoft.com/forums/en-us/whatforum/
When you see answers and helpful posts, please click Vote As Helpful,
Propose As Answer, and/or Mark As Answer
Jeff Wharton
MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCPD, MCSD, MCSA, MCITP, MCDBA
Blog: Mr. Wharty's Ramblings
Twitter: @Mr_Wharty
MC ID:
Microsoft Transcript -
Can I create a custom SCSM task that runs on the server?
I'm new to SCSM (got roped in as the developer/Powershell guy). I see instructions for adding a custom task to SCSM, which I know generally run from the user's console, under their security context. I also found a reference to "runtime tasks" which
run from the server. Is there a way for me to make a custom task that runs from the server?
If it helps, I'll be creating a task that implements the Poweshell script found
here that converts an incident to a service request. I'd much rather the conversion take place on the server so that we don't need to deploy the SMlets Powershell module (and another dependency) on each user's workstation.
Thanks!I'm new to SCSM (got roped in as the developer/Powershell guy). I see instructions for adding a custom task to SCSM, which I know generally run from the user's console, under their security context. I also found a reference to "runtime tasks" which
run from the server. Is there a way for me to make a custom task that runs from the server?
If it helps, I'll be creating a task that implements the Poweshell script found here that converts an incident to a service request. I'd much rather the conversion take place on the server so that we don't need to deploy the SMlets Powershell module (and
another dependency) on each user's workstation.
Thanks!
Not sure what capabilities you have, but would something like this be useful?
http://scsmlab.com/2013/12/09/how-to-create-a-custom-scsm-console-task-by-using-some-c-and-xml-magic/ -
I work in a High School and I am looking for a new library system that runs on the mac and is not windows based, can anyone recommend anything?
That's a very broad question and difficult to answer without knowing more about you requirements.
Try starting on this page Category review: library management software for the Mac |Part I and part II to get a starting point.
regards -
SSIS Lookup Task is running endlessly.
Hello,
I have a Problem. At our SSIS package we have a lookup task running on full cache mode and finds no matches. It runs endlessly and doesn't fail, allthough it's configured at this case.
SQL Server (SSMS/SSIS/SSAS) is running on a virtual machine with windows server 2012 and SQL Server 2012 built 11.0.5058.
Does anybody has/had a similar problem and solved it?
Thanks,
ThomasHi Thomas,
Based on my research, the issue can be caused by the memory is low or a deadlock occurs when several long-running transactions execute concurrently in the same database.
As to the memory issue, please refer to Arthur and Supriya’s suggestions. As to the deadlock issue, we can go to SSMS and check in Activity Monitor to see if you have locked resources during the load. To minimize deadlocks, we can set the full cache look
up transform to use Sorting within the TSQL statement to make sure the concurrent transactions access objects in the same order. Or set READ_COMMITTED_SNAPSHOT database option ON to enable read-committed transactions to use row versioning.
The following similar threads are for your references:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/250b398b-1af6-49be-a78d-f58cb41bae08/lookup-transform-w-custom-query-hangs-and-does-not-complete-ssis-2k8?forum=sqlintegrationservices
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/3d1c112d-6e10-4716-8607-cd0a5d6a8c87/ssis-2012-lookup-transformation-takes-too-long-or-hung
Minimizing Deadlocks
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
SSO not working for a custom WDA application that runs in the Portal
I have a Portal system (Java stack, NW04s) that has an iView of type webDynpro ABAP. The custom Web Dynpro ABAP application resides on another system (ABAP stack, running ECC6). We have configured the trust relationship between the Portal and the ECC system as per
http://help.sap.com/saphelp_nw04s/helpdata/en/61/42897de269cf44b35f9395978cc9cb/content.htm
We know this is working since we are able to run ESS. However, for the custom WebDynpro ABAP application, when calling it for the first time, a logon screen shows up. How can we get rid of it? what are we missing to have SSO work for the custom WebDynpro application?Please check this link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d35bb690-0201-0010-988a-d669c8530518
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2fhelp%2fsdn_help_nw04s%2fsaphelp_nw04s%2fhelpdata%2fen%2f5e%2f6c85c3edf942f39349a1e337434d29%2fcontent.htm
Hope it helps.
Regards,
Mona -
Replacement for VB6 Learner's Edition that runs on Windows 8
Hi, I am a Visual Basic hobbyist with LOTS of applications developed on my Windows XP laptop. When Microsoft abandoned support for XP, I bought a Windows 8 laptop. VB6 (LE) won't run on Windows 8. Where can I get a replacement? Note - VB6 LE)
was free when I got it. I need a free or cheap replacement for VB6, but do not need (or want) a full-blown version of VB--just the features available with Learner's Edition. Any ideas? Will I have to download the Visual Studio environment?
Thanks,
VBhobbyist
VBHobbyistHi, I am a Visual Basic hobbyist with LOTS of applications developed on my Windows XP laptop. When Microsoft abandoned support for XP, I bought a Windows 8 laptop. VB6 (LE) won't run on Windows 8. Where can I get a replacement? Note - VB6 LE)
was free when I got it. I need a free or cheap replacement for VB6, but do not need (or want) a full-blown version of VB--just the features available with Learner's Edition. Any ideas? Will I have to download the Visual Studio environment?
Thanks,
VBhobbyist
VBHobbyist
Why not a full blown version of Visual Studio like the link
Reed Kimble posted for VS Community 2013? There's plenty of training information for VS.
Otherwise see the results of the search below for possibly installing an antique which can not perform 64 bit on Win 8. And if you live long enough to require Windows 10 then you will have to move to something new at which point in time you will probably
be too old to learn new things and be kicking yourself in the arse for not having moved to something new back in 2015.
VB6 IDE for Windows 8
Normally I wouldn't even assist somebody with a question about using antiques on new systems but seeing as how you may be too old to change I felt sorry for you. Must be cause I haven't eaten yet and my blood sugar is low so my diabetes is affecting me.
And because you apparently didn't know how to search the net for any possible answers.
La vida loca -
Alert for Purchase Requisitioner after saving the CJ20N Transaction
Hi Friends,
Thanks in Advance.
My requirement is like when the user save the Transaction CJ20N, a project is created with a PR Number ( Purchase Requisition Number) , so that he can view in ME53N ( Purchase Requisition Display ). This movement he needs a POP-UP / ALERT for the PR User, so that the PR user understands that a Project has been raised / saved with a PR Number.
Please tell me is there ant Exit / Enhancement / BADI or any Workflow or any Customizing
Regards:
Sridhar.JHi,
When you are creating a project just assign material for which a PR is needed from the project and keep the Purchasing requirement as immediately in that. In this case all the PR's will be generated automatically when the project is saved.
Then go to SWEL transaction code, check which all the events generated with respect to PR creation, take up that event and with help of a workflow consultant customize a task/ workflow with reference to that event, for sending an Business workplace message/ an email to the concerned person or group of person.
I hope this would help you.
Regards
Avisek Bhardwaj -
SSIS FTP Task Variable Remote Path invalid
I am working on the SSIS FTP Task that transfer file from one FTP server to local location, rename the file name, and finally transfer the renamed file to another FTP server. So I defined 2 FTP tasks.
For the FTP file receive operation, I need the remote path to be updated by a script and pass to the user define variable. So I set TRUE to IsRemotePathVariable. In the RemoteVariable, I set User::FTPSourcePath where the variable is set in the script with "/DMFTP/filename1.jpg"
For the FTP file send operation, I set TRUE to IsRemotePathVariable. In the RemoteVariable, I set User::FTPDestPath where the variable is set in the script with "/DestFTP/"
After all the setting, the FTP Task box show me the error as "Variable "FTPSourcePath" doesn't start with "/". Another FTP box show me "Variable "FTPDestPath" doesn't start with "/"
Can anyone help me on this problem?? Thanks.Enzoe,
I had the same issue going against the Unix FTP site to attempt to delete files and so I wrote a little function in C# library that I use from a script task to accomplish what I want. You could probably do this inline to a script task but it would not be reusable.
public static void FtpDeleteFiles(ScriptObjectModel dts, string connectionName, string[] remoteFiles)
ConnectionManager mgr = dts.Connections[connectionName];
FtpClientConnection conn = new FtpClientConnection(mgr.AcquireConnection(null));
if (conn != null)
conn.Connect();
try {
conn.DeleteFiles(remoteFiles);
} finally {
conn.Close();
This allows me to create the FTP connection and configure it through the normal SSIS methods and then invoke the FTP process from those connections myself. There are some area's to improve on so that if the connection is NULL an exception is thrown or logged and maybe return a boolean.
Pretty simple...
Fred -
How to configure notification emails for reports output or alerts for all users in r12
Hi,
I need to configure notification emails. I have provided settings in OAM-> Workflow and SMTP IP address in settings and only Outbound. I am able to test for my user ID.
I want to know how to redirect emails or alerts for users like when a user runs a report he should get notification email in his outlook about the report output and details. In settings it only points for one replyto field. How do I mention all user ID's?
Regards,
MohammedHi Mohammed,
You may check on XML bursting for XML based reports.
In addition, also see links:
http://oracle.anilpassi.com/email-output-of-concurrent-program-request.html
Anil: Oracle Apps Concurrent program Output as Email
Oracle ERP World: Email the output of a concurrent program as Attachment
Also see:
How to Redirect Output from Printer to Mail Message after Running Report (Doc ID 1036586.6)
Thanks &
Best Regards, -
Alert for Certifictates Expiry
Hello All,
We have a requirement to set up alerts for certificates (loaded in KeyStore) that are about to expire in 30 days. I do see an alert category -- SECSSFCERTEXPIRE. I have added my ID as a recipient and I get emails with a subject "Expiry of Certificates (SNC, SSF, SSL...) (The triggering application determined you as a recipient)". There is no indication of the certificate name.
Can anyone help me with configuring the alerts in a way that I get the certificate name in the email; how and when is a check made; how can I configure the lead time for alerts - my requirement is 30 days.
regards,
RoshniSekhar,
We maintain the cert dates in a text file. Something like this:
Expiry_date:View_Name:Cert_name_in_view:PartnerX:X's_contact_details
The shell script calculates the 30th day from its execution date. It greps for a match in the script. If a match is found, the details are emailed to the support team.
You can look up more information about cron [here|http://adminschoice.com/crontab-quick-reference]
You may try the suggestion provided [here|http://unix.ittoolbox.com/groups/technical-functional/shellscript-l/linux-shell-script-for-checking-certificate-expiry-date-with-mail-warning-for-apache-http-server-using-openssl-and-time-function-1644255].
I don't think any program exists in SAP application to check Key Storage and alert us in advance. I'm marking this question as answered as I have a work-around.
regards,
Roshni -
SQL Server 2005 agent job runs a SSIS package ( Analysis Services Processing Task) fails
Hi,
SQL Server 2005 standard edition.
I have a SSIS package which has a Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:
Code: 0xC0012024 Source: Analysis Services Processing Task Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services.
It requires a higher level edition.
This is the result of select @@version
Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86) Nov 24 2008 13:01:59 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)
Any idea?Hi,
SQL Server 2005 standard edition.
I have a SSIS package which has a Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:
Code: 0xC0012024 Source: Analysis Services Processing Task Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services. It
requires a higher level edition.
This is the result of select @@version
Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86) Nov 24 2008 13:01:59 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)
Any idea?
Anyway, I have found a work around:
http://technet.microsoft.com/en-us/library/ff929186.aspx -
Search for tasks that belong to running process instances
Hi, I am trying to search for tasks that belong to running process instance by using the follwoing code:
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager(myFactory);
TaskSearchFilter filter = new TaskSearchFilter();
filter.setServiceName(serviceName);
filter.addCondition(TaskSearchingConstants.pPROCESS_INSTANCE_STATUS, Operator.EQUALS, JobStatus.JOB_STATUS_RUNNING);
filter.setAdminIgnoreAllAcls(true);
List<TaskRow> result = queryManager.taskSearch(filter);
It returns no results while I search it via adminui I found a few running process instance. I tried to comment out the line addCondition, then it returns all tasks, and I found that when I retrieve the taskinfo by taskinfo.getProcessInstanceStatus(), it return -1 for all tasks.
My question is how can I set the condition to search the tasks belong to running process instance? Thanks.You have to use:
filter.addCondition(TaskSearchingConstants.pPROCESS_INSTANCE_STATUS, Operator.EQUALS, ProcessInstanceRow.STATUS_RUNNING); -
Running SSIS 2005 in SQL Server Job Agent 2012
Hi Guys,
I'm trying to create a job in SQL 2012 that calls an SSIS 2005 package, however i'm getting some issue. I researched the issue a bit and got this link . The given link suggested to use dtexec as SQL 2012 try to convert it in the memory.
I used the dtexec but I'm still getting an issue.
"Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 9.00.1399.06 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 4:11:19 PM Error:
2015-04-13 16:11:26.24 Code: 0xC0012024 Source: OTH Market Exist? Description: The task "OTH Market Exist?" cannot run on this edition of Integration Services. It requires a higher level edition. End
Error Error: 2015-04-13 16:11:26.24 Code: 0xC0012024 Source: Arcticle CSV Exist? Description: The task "Arcticle CSV Exist?"
cannot run on this edition of Integration Services. It requires a higher level edition. End Error Error: 2015-04-13 16:11:26.24 Code: 0xC0012024 Source: BV Market Exist? Description:
The task "BV Market Exist?" cannot run on this edition of Integration Services. It requires a higher level edition. End Error Error: 2015-04-13 16:11:26.51 Code: 0xC002F210 Source: No Input
Files Email Execute SQL Task Description: Executing the query "DECLARE @result int; EXEC @result = security.dbo.spSendEmail
@Subject='[GFK Import & Export] - All Input Files Are Missing',
@Message ='Processing has been stopped due to missing input files',
@ToID =25, @ccID =0,
@Attachment =''" failed with the following error: "Database 'security' does not exist. Make sure that the name is entered correctly.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,
It seems that I do need to upgrade my packages to run in SQL 2012 unless if there's another way without upgrading it that would be great.
I just want to get the confirmation if possible or not
Many thanks guys.Hi Vaibhav,
I created 2 jobs. the first job calls a simple package that execute a single SQL. It ran
successfully when I execute the said job using this command
DTEXEC /FILE "\"C:\TFS\WDSHE SSIS Packages from DTS\GFK_Test_package.dtsx\"" /DECRYPT stud10 /CHECKPOINTING OFF /REPORTING E
2nd Job, calls a complex package which contains several execute process tasks. this job fails with the error mentioned at the top.
Now, I modified the simple package in the first job and add an Execute Process Task.
I'm started to get an issue
Message
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 9.00.1399.06 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 4:51:57 PM Error: 2015-04-13
16:52:01.32 Code: 0xC0012024 Source: Unzip BV ZIP Description: The task "Unzip BV ZIP" cannot run on this edition of Integration Services. It requires a higher level edition. End Error DTExec:
The package execution returned DTSER_FAILURE (1). Started: 4:51:57 PM Finished: 4:52:01 PM Elapsed: 4.212 seconds. Process Exit Code 1. The step failed.
Have you had a similar issues before?
I will try to install the SSIS service and see how I go. thanks for the link -
Hi Experts,
I am trying to open .xlsx file in script task of SSIS 2005. I am using the 32-bit AccessDatabaseEngine driver with the Connection string as "Provider= Microsoft.ACE.OLEDB.12.0; Data Source=xlsx file path; Extended Properties="Excel 12.0 Xml;
HDR=YES"" in script task.
When we debug the VB script in Visual Studio 2005 and encounters the statement app.open() it throws the error "Couldn't find installable ISAM".
My SQL server version is 2005 SP2 DE
OS is Windows server 2003 EE SP2
Could anyone please let me know what is the resolution for this error?
Thanks and Regards,
AdeshHi Adesh,
First, make sure the package runs in 32-bit runtime mode (set Run64BitRuntime property to False) because you are using the 32-bit ACE OLE DB Provider. If it is not the case, the issue may occur due to the corrupted drivers or registry keys. You can try to
reinstall the 2007 Office System Driver: Data Connectivity Components as Arthur suggested.
Regards,
Mike Yin
TechNet Community Support
Maybe you are looking for
-
Photoshop Elements 8 on Packard Bell Laptop
Hi Everyone! I have bought three years ago a Packard Bell laptop, and i already had Photoshop Elements 8 installed on it. Now the laptop it is a bit old, and i'd like to install photoshop elements on my other device. Can i simply use a product key re
-
Hi all, Do you know if B1 supports Windows Cluster Environment or Network Load Balancing Environment. The customer wants to to load B1 SAP on a failover environment so that if B1 Server dies, it will failover to secondary B1 SAP server. Can you let
-
Can't stop the email notifications even though I turned them off
I can't seem to stop the email notifications -- after receiving 240 emails this morning -- even though I have clicked on the notifications to STOP. How do I get them to stop? Apparently I'm getting all email notifications for ANYTHING iMac (Intel).
-
I have faced one of the client interview.... Suppose if come any error comes in FI-SD integration point of view where we can see?( I am give the answer vkoa COA.correct G/L acc.No. sales orgnization, account determination, customer account assignemen
-
How can I programaticly change settings on a FP-PG-522
How can I programaticly change settings on a FP-PG-522 using Measurement Studio for Visual Basic and an FP-1000 module? Is there a Measurement Studio for VisualBasic DAQ control to do this?