Skip to main content

Posts

Optimizing Pipeline Performance - Biztalk Pipeline

Optimizing Pipeline Performance - Biztalk Pipeline A really helpful artical on improving BizTalk Pipeline component performance http://msdn.microsoft.com/en-us/library/ee377071(v=bts.70).aspx What to use inside the pipelne component  Should we use XMLDocument or XMLReader in the pipeline component. working with Virtual Stream. Using AddResourceTracker  pContext.ResourceTracker.AddResource(messageData); http://msdn.microsoft.com/en-us/library/ee377071(v=bts.70).aspx

Overriding ConnectionString in Machine.config with web.config ConnectionString.

Overriding ConnectionString in Machine.config with web.config connectionstring. If I have following connectionstring in my machine.config  (Machine level value) <connectionStrings>                  <add name="TestConfigConnection" connectionString="DATA SOURCE=machineCon;PERSIST SECURITY INFO=True;USER ID=usr;PASSWORD=pwd" />  </connectionStrings> Now for specific web application I want a different connection string value then we need to override the value in machine.config. So we  need to add the required connectionstring value in web.config <connectionStrings>                  <add name="TestConfigConnection" connectionString="DATA SOURCE=webCon;PERSIST SECURITY INFO=True;USER ID=usr;PASSWORD=pwd" />  </connectionStrings> But with this, it ...

Why can't we have send and receive within an atomic scope

Why can't we have send and receive within an atomic scope? The atomic scope was designed to handle Atomicity, Consistency, Isolation, and Durability (ACID) compliant operations that must either all succeed or all fail as a group. This is a classic database transaction style. It is designed to carry an orchestration from one stable state to another. This is why you cannot both send and receive from an atomic scope, because by design the message box is not a lockable resource . To accomplish this atomicity, the orchestration engine persists the entire orchestration state to the message box before the atomic scope begins; it subsequently persists the orchestration again when the atomic scope completes.

BizTalk : Defining multiple database ReceiveLocation with same db connection string

BizTalk : Defining multiple database ReceiveLocation with same db connection string BizTalk does not allow us to create the   multiple receive location with Same URI, At design time it validate the URI and if it matches with any receive location then it throw Validation error. But there may be some requirement where we might need multiple receive location with same URI like multiple database receive location with same database URI and each polling to different set of data (different stored procedure/package.) So for this requirement, we can implement the multiple receive location with different pollingid. So at design/run time it won’t throw any validation error as the URI is different. The connectionstring with PollingID really doesn’t make any difference and it won’t create any issue while connecting database. Ex . If I have two receive location polling database ReceiveLocation1    ->    URI   ->    ...

BizTalk Oracle/SQL execution error on ReceiveLocation : Action http://Microsoft.LobServices.OracleDB

BizTalk Oracle/SQL execution error on ReceiveLocation When we try to call SQL/Oracle StoredProcedure/package from the ReceiveLocation with Default PollingAction generated then it might give error as   we need to add “Polling” in the name of package or stored procedure. The Messaging Engine failed to add a receive location "Zim.EAI.Framework.RL_ReTestGet" with URL "oracledb://goDEV1/?PolllingID=1111" to the adapter "WCF-Custom". Reason: "System.NotSupportedException: Action "http://Microsoft.LobServices.OracleDB/2007/03/EBT/Package/BL_GO_PCK/GETDATA_XML" is invalid.    at Microsoft.Adapters.OracleDB.OracleDBInboundContract..ctor(OracleDBConnection connection, IOracleCommonUDTHelper oracleUdtHelper, MetadataLookup metadataLookup) Auto Generated Action : http://Microsoft.LobServices.OracleDB/2007/03/EBT/Package/BL_GO_PCK/GETDATA_XML http://Microsoft.LobServices.OracleDB/2007/03/EBT/Procedure/B...

ASP.NET Clear the GridView data on specific condition

ASP.NET Clear the GridView data on specific condition When there are no data found for user search criteria then we want to clear the previous gridview data and display "No record found" message to user. This can be achieved by following line of code: Set the DataSource = null and bind this to your gridview. if (lblError.Visible == false )                 {                     if (dvCustomerRecords.Count > 0)                     {                         gvCustomer.DataSource = dvCustomerRecords;                ...