BizTalk Tracking for an Orchestration - biztalk

Step:
Click Start, click All Programs, click Microsoft BizTalk Server 20xx, and then click BizTalk Server Administration.
In the console tree, expand BizTalk Server Administration, expand the BizTalk group, expand Applications, and then expand the application containing the orchestration for which you want to configure tracking.
Click Orchestrations, right-click the orchestration for which you want to configure tracking, and then click Properties.
Click the Tracking tab, select the tracking options you want, as described in the following table, and then click OK.
Track Events - Orchestration start and end --check box enable
Track Events - Message send and receive --check box enable
Track Events - Shape start and end --check box enable
Question:
I ran query completed instances through BizTalk admin console I haven't seen anything same time other few application I'm able to see completed orchestration. So, what make different to not track completed instances for such application ?
Is this issue related to SQL agent job for BizTalk?
Any specific details about how to run query using SQL management studio to find out tracking information for such application that being not track through BizTalk admin console?

Related

BizTalk App Insights UI Fails as Not Able to Select from Drop-Down Lists

I have BizTalk 2016 FP3 CU5 installed. I want to configure to send telemetry to an Azure Application Insights instance.
From the BizTalk admin consolve, I right-click the group icon and select Settings.
In the "Analytics" section I select "Applicaton Insights" and login to my Azure Account.
I am then not able to make any selections from the drop-down lists for Subscription, Resource Group etc.
I am sure that the account I signed in with has a valid subscription which contains a resource group that contains an Application Insights instance
Here are my input:
Login to http://portal.azure.com with the same credential and see if you have the right set of permission in the subscription/Resource group and then application insight(AI) instance.
If yes, Please copy the instrumentation key of your AI instance. You can find it here:
which later on you can provide it below in Biztalk conifguration.
It will unblock you. Hope it helps.

SP2013 Workflow Suspend

I am facing issue with work flow where Workflow goes to Suspend mode.
It is SP2013 Custom Workflow developed using Visual Studio 2012.Objective of the Custom workflow: User fills the form and submit, list get updated and workflow will initiate and go for the process.
Issue: After the deployment of WF, for first time when user is filling the form and submit, list is getting updated. But the Workflow Goes to "Suspend" mode. (
This Custom Workflow has a configuration file where we are providing other details including ID of Impersonator (farm is running under Claim Based Authentication).
Work flow works fine once when the Impersonator initiate the workflow (Fill the form and submit for approval) and everything works fine after that.
Click on the information icon next to the Suspended status. The error message should be listed there. If it is sitting in a suspended state saying Activity in Progress, this is usually an issue with the certificate chain between SharePoint and the Workflow Server.

How to run a job in ASP.NET MVC?

I'm writing an application ASP.NET MVC. I have some people records that expire after 2 year (their Status field changes to expired). I need to run a check daily to check for expired records. I do not have permission to create a job on the database, so i need to find a way to do it on my application.
Is there something equivalent to the database job or a workaround to let this run daily without any user intervention and without blocking the application ?
Please take a look at Quartz. I've used it in several projects to solve these kind of problems.
http://www.quartz-scheduler.net/
Nice article about Background Jobs in ASP.NET
http://www.hanselman.com/blog/HowToRunBackgroundTasksInASPNET.aspx
I really like HANGFIRE. Which is really easy to use and has nice front end for managing tasks.
You must be logged on as an administrator to perform these steps. If you aren't logged on as an administrator, you can only change settings that apply to your user account.
If you use a specific program on a regular basis, you can use the Task Scheduler wizard to create a task that opens the program for you automatically according to the schedule you choose.
Open Task Scheduler by clicking the Start button , clicking Control Panel, clicking System and Security, clicking Administrative Tools, and then double-clicking Task Scheduler. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
Click the Action menu, and then click Create Basic Task.
Type a name for the task and an optional description, and then click Next.
Do one of the following:
• To select a schedule based on the calendar, click Daily, Weekly, Monthly, or One time, click Next; specify the schedule you want to use, and then click Next.
• To select a schedule based on common recurring events, click When the computer starts or When I log on, and then click Next.
• To select a schedule based on specific events, click When a specific event is logged, click Next; specify the event log and other information using the drop-down lists, and then click Next.
To schedule a program to start automatically, click Start a program, and then click Next.
Click Browse to find the program you want to start, and then click Next.
Click Finish.
Reference

Cloud service monitor changes

I've cloud service and in the cloud service (in azure view )there is tab which is called
monitor which you can add there settings (like key value),I want to track if some user
did for it some changes and when like Auditing ,there is a process which should I invoke to track this changes,with user name and timestamps ?
If I'm not mistaken, what you're looking for is the Operation Logs functionality. It is available in Azure Portal (https://manage.windowsazure.com). Once you login into the portal, click on MANAGEMENT SERVICES and then OPERATION LOGS. The operation you would want to track is Change Configuration (or something like that).
If you want to track it programmatically, the Service Management API operation you would want to invoke is List Subscription Operations
I believe the management portal only makes available a finite list of performance counters for monitoring. And it sounds like perhaps you are trying to add a custom event, which you would not in turn be able to add to that list.
So the broader question then turns to how to log in-app events in a way that I can monitor for. To that end, I'd recommend first looking at Azure Diagnostics. This gives you a fairly low impact way to capture telemetry about your application. You can then in turn scan the result logs and act on the events you need to capture.

Run job on ASP.NET website service start in IIS

I have some method that is invoked on Application_Start. And it starts on first page request by any user.
But i have another application, dependent on that task that fires during Application_Start.
So that if IIS/website is restarted- another application cant get some data from website, until someone requests page on the running website.
Is there a way to run some task on website start; without any interaction from user side, just to start website in IIS and do the job i want?
PS more details on implementation architecture:
Website starts an instance of messaging service and starts sending messages through that service(that is located on another server). I know that it would have been better to create wcf or windows service for this kind of things, but someone wrote this website before i was included in this project. So clients(that receive messages from messaging server) do not know anything about website. Here website is just administrative panel to turn on/off some messaging features.
My Solution
Created windows service for my task. Works well, under local system account has no problems with writing to windows event logs.
Check out this "The Dangers of Implementing Recurring Background Tasks In ASP.NET"
Also you should consider installing Quartz.NET as a service, so that you can setup scheduled tasks remotely.
You can try this.
Put an entry in your code into event log
Use the windows task scheduler to create a task
Create a trigger as "Begin the task On an event"
Create the action with the job you want

Resources