Forum Replies Created
-
AuthorPosts
-
Have you seen the eventlog. I had similar errors due to a failure to connect to database. I had two reasons for this kind of error a) The service account is not having proper permissions b) Something happened to SSO master secret key. You need to restore the correct one.
It would be much helpful if we have information from EventLog
If you wish to achieve the output using a map then you can use the method of recusive template call in xslt. I was working on this problem and posted the complete code at my blog. Hope it is useful to you.
http://prashantbaker.blogspot.com/2008/04/applying-recursion-in-biztalk-maps.html
I was not able to build the output schema from your post, so used mine.
I am also putting up the XSLT script below:
——————————————–
<!– Main Template –>
<xsl:template name=”MyXsltTemplate”>
<xsl:param name=”param2″ />
<xsl:param name=”param3″ />
<xsl:element name=”XMLValue”>
<xsl:call-template name=”Recr”>
<xsl:with-param name=”param2″ select=”$param2″/>
<xsl:with-param name=”param3″ select=”$param3″/>
</xsl:call-template>
</xsl:element>
</xsl:template><!– Recursive Template –>
<xsl:template name=”Recr”>
<xsl:param name=”param2″ />
<xsl:param name=”param3″ />
<!– Start of main loop –>
<xsl:if test=”$param2 > $param3″>
<xsl:element name =”Or”>
<xsl:element name =”Eq”>
<xsl:element name =”FieldRef” >
<xsl:attribute name =”Name”>
Name
</xsl:attribute>
<xsl:value-of select =”//AuctionID[$param3]”/>
</xsl:element>
</xsl:element>
<!– Recusive call only if not the last element –>
<xsl:if test=”$param2 > $param3 +1 ” >
<xsl:call-template name=”Recr”>
<xsl:with-param name=”param2″ select=”$param2″/>
<xsl:with-param name=”param3″ select=”$param3 + 1 “/>
</xsl:call-template>
</xsl:if>
<!– Only for last element –>
<xsl:if test=”$param2 = $param3 +1 ” >
<xsl:element name =”Eq”>
<xsl:element name =”FieldRef” >
<xsl:attribute name =”Name”>
Name
</xsl:attribute>
<xsl:value-of select =”//AuctionID[$param3+1]”/>
</xsl:element>
</xsl:element>
</xsl:if>
</xsl:element>
</xsl:if >
</xsl:template>
April 4, 2008 at 8:18 AM in reply to: Using Scripting Functoid to convert EPOCH time to datetime string? #19253You asked for the data being passwed in – The EPOCH date being passed in is:
1201555165974
I’ve isolated the problem to THIS functoid – I removed everything else from my map…
Thanks
April 4, 2008 at 8:16 AM in reply to: Using Scripting Functoid to convert EPOCH time to datetime string? #19252Could it be that I am referencing a library that is not available in scripting functoids?
This is another good atricle from CodeProject about extending the FFDasmComp class to do your own debatching:
http://www.codeproject.com/KB/biztalk/DebatchingFlatfile.aspx
April 4, 2008 at 2:50 AM in reply to: Error while calling web service using SOAP Adapter in BizTalk 2006 #19249please somebody help me….
Hi Brian
I am experiencing a similar situation. Could you please share the solution if you have found one.
Thanks,
Gokul
April 3, 2008 at 11:29 AM in reply to: Using Scripting Functoid to convert EPOCH time to datetime string? #19245incoming date: 1201555165974
error:
Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘TririgaPurchaseReq.orcPurchaseReq(e74f271a-6da7-ec87-b7c7-7da89b31d87f)’.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: 7f70db58-dbf7-431a-b0c2-208b86c57b91
Shape name: Construct Outgoing Purchase Req
ShapeId: 8f9fb8e2-9318-449b-a98e-8ed543dec624
Exception thrown from: segment 1, progress 6
Inner exception: Error encountered while executing the transform TririgaPurchaseReq.PurchaseReqMapReqDetails. Error:Transformation failed..
Exception type: XTransformationFailureException
Source: Microsoft.XLANGs.Engine
Target Site: Void ApplyInMemoryTransform(System.Type, Microsoft.XLANGs.RuntimeTypes.TransformMetaData, System.Object[], System.Object[])
The following is a stack trace that identifies the location where the exception occuredIf I could output anything that would be great. When I take this scripting functoid out – the map works…
April 3, 2008 at 11:23 AM in reply to: Using Scripting Functoid to convert EPOCH time to datetime string? #19244I am not sure what error you are getting, but the most common problem would be with the date format. Return the date value in ISO_8601 format (YYYY-MM-DD).
April 3, 2008 at 11:11 AM in reply to: Using Scripting Functoid to convert EPOCH time to datetime string? #19243I dont see any problem with the function. What is the input message and exact error that you are getting?
John,
thanks a lot for the updates and the link. i really apreciate your advice,
kind regards
TMHello Nick,
thanks for your reply ! I already tried this, including the recreation of all ports using saved bindings.
I checked the MS documentation again and again. A moment ago I found an issue considering Biztalk 2006 R2 on Windows Server 2003 SP1. The Distributed Transaction Coordinator may cause exactly that behaviour. I thought we had Service Pack 2 installed on our Windows but I mixed it up with SQL Server. So I will try installing SP2 now and come back to let you know if it worked.
Thanks again, Michael
Hi Michael,
I haven’t experienced this during an upgrade from 2006 to 2006 R2, however I have experienced receive ports/location locking up in the past in 2006 – no reconfiguration or host instance restart appears to kick them into life. Our solution was quite drastic – re-creating the port appeared to resolve the issue. You might want to check whether deleting a single receive port and re-creating works.
If you’re happy to take such drastic measures further, I would suggest taking a copy of your bindings, taking a backup of your BizTalkMgmtDb database, deleting your ports and then re-applying your bindings. Alternatively, create a WMI script that will just delete and re-create your receive ports/locations.
If this is a live environment and my suggestion seems a little drastic, you may want to consider contacting MS Support.
Hope this helps, Nick.
Sorry to not be clear. The pattern is to build a collection of 1 to an unknown number of <Eq /> statements with logical <Or /> joins. This will ultimately be used in a sharepoint lists.asmx GetListItems() method call. In english terms this will mean that:
1 elment
<Eq>
2 elements
<Or><Eq /><Eq /><Or />
3 elements
<Or><Eq /><Or><Eq /><Eq /><Or /></Or>
4 elements
<Or><Eq /><Or><Eq /><Or><Eq /><Eq /><Or /></Or></Or>
April 2, 2008 at 9:40 AM in reply to: Integration with Infor Visual Enterprise and DCMS (formally Lilly Software) #19237Hi Nick,
Thank you so much for the feedback. This is extremely informative and helpful. I was starting to worry I would not get It gives me start. I will post again if I have further questions. (Which I am sure I will).
Thanks again.
jmp
-
AuthorPosts