Posts

Showing posts with the label BizTalk

BizTalk Host "Stop Pending"

When restarting a BizTalk host I experiences that it would not restart. The service was stuck in a "Stop Pending" state. It seem that the only way to get the host back up, is to terminate the process and the start it. When i tried to restart fro BizTalk Administration Console nothing happen. I had to user the End Task function in Task Manager To get the correct instance i needed to find the correct instance. The only way to be sure to get the right one is to find the Process ID (PID) This might be found by using the command prompt using tasklist /SVC /fi "imagename eq btsntsvc.exe" This will list all BizTalk hosts like this Image Name              PID  Services ============= ================================ BTSNTSvc.exe            2376 BTSSvc$Rcv_x32_1_FTP_H BTSNTSvc.exe            2396 BTSSv...

BizTalk SendPort Macros

Today I needed to get an onverview of what macros that are available out-of-the-box wend sending a message to a filebased destination. These should work for FILE and FTP adapter. %datetime%  : Coordinated Universal Time (UTC) date time in the format YYYY-MM-DDThhmmss (for example, 1997-07-12T103508) %datetime_bts2000%  : UTC date time in the format YYYYMMDDhhmmsss, where sss means seconds and milliseconds (for example, 199707121035234 means 1997/07/12, 10:35:23 and 400 milliseconds). %datetime.tz%  : Local date time plus time zone from GMT in the format YYYY-MM-DDThhmmssTZD, (for example, 1997-07-12T103508+800). %DestinationParty%  : Name of the destination party. The value comes from message the context property BTS.DestinationParty. %DestinationPartyID%  : Identifier of the destination party (GUID). The value comes from the message context property BTS.DestinationPartyID. %DestinationPartyQualifier%  : Qualifier of the destination part...

Unable to Start SendPort

Image
Today I  got an error I havet seen before. When trying to change credentials on a sendport for Oracle I got en error: Unable to enslits due to an unexpected error. Hmm.. Queruying the EventLog helped me a bit further: Hmm how can this bee. I stopped the application and all the hosts. When querying the subscription it was still active. That`s not right! I has to snook around the the  'BizTalkmsgBox' database in the table 'Subscription'. I queried it with : SELECT     nID, dtTimeStamp, nvcName, uidSubID, uidSubGroupID, snGroupPriority, nvcApplicationName, uidClassID, dtStartWindow, dtEndWindow, dtValid,                       uidServiceID, uidInstanceID, uidPortID, uidPredicateGroupID, fEnabled, uidConvoySetID, vtConvoySetProp1DefVal, vtConvoySetProp2DefVal,                       vtConvoySetProp3DefVal, snPartRetrieval, fOrderedDelivery, fIsRequestRespo...

Configure II7 on Win 2008 R2

Image
I was trying to use the built in HTTPReceive from BizTalk today, byt the IIS server was not configured to hadle the request. I got an access denied error when calling the BTSHTTPReceive.dll. NOTE: You must be logged on as a member of the BizTalk Server Administrator goup I had to configure the IIS server to be able to utillize this functionality. There is a good explenation on how to do this at microsoft . The way to to it is to add this under Handler Mappings Choose Add Script Map,and set: Request Path = BtsHttpReceive.dll Executable = C:\Program Files\Microsoft BizTalk Server 2010\HttpReceive\BTSHTTPReceive.dll Name = BizTalk HTTP Recevie Under Request Restrictions set under the Verbs tag set POST and under the Access tab set Script Then you haver to Create a new roule under ISAPI and CGI Restrictions: Add an new and set ISAPI or CGI path = C:\Program Files\Microsoft BizTalk Server 2010\HttpReceive\BTSHTTPReceive.dll Description = BizTalk HTTP...

BAM Portal - Service Unavailable

Image
From time to time I get the 'HTTP Error 503 - The Service is nnavailable' when I try to access my BAM portal Usually I spend a few minutes before I remember how to get past this. It is the account configured to run bam that needs to have its password updated. Most of you should change yor password on a regular basis, and its easy to forget to reconfigure BAM with the new passord. So.. here is the solution: Open Microsoft BizTalk ServerConfiguratiuon tool and update the password for the user running BAM portal Apply configuration, restart ISS to be sure (iisreset) and voia : BAM portal up and runnign again

Illegal 'activate' predecate

Image
I am creating a orch that has filter on the initial receive shape. When building I got these error: Error 1 : identifier 'MySolutionname' does not exist in 'MyOrchName'; are you missing an assembly reference? Error 2: cannot find symbol 'MySolutionname' Error 3: an 'activate' predicate rvalue must be a string, character, boolean or numeric literal Error 4 : illegal 'activate' predicate The solution to this is to put the filter expression in sting literals (i.e. “double quotes”)