Forum Replies Created
-
AuthorPosts
-
December 27, 2007 at 6:21 AM in reply to: Custom pipeline component to process flat file – strip first line off – promote property… #18686
NISHIL:
Thanks for the reply, but as noted in my original posting… I know I need to strip off the first line of the file – and I know that using a custom pipeline component would most likely be the best approach (thus the subject title of this thread)… the question is – how? I also noted that I have the BizTalk 2006 Recipes book, and the example there is close… and has gotten me started in the right direction… I’m just not completely sure on how to pull off just one line (the first in my case), parse that text, promote a property and then pass on (unprocessed) the remaining lines.
It seems that executing the receive pipeline with a RawString message fails, it gives me the following error:
“System.IO.Stream” —> System.InvalidCastException: System.IO.Stream
at Microsoft.XLANGs.Core.CustomFormattedPart.ProtectedRetrieveAs(Type t)
at Microsoft.XLANGs.Core.Part.RetrieveAs(Type t)
at Microsoft.XLANGs.Pipeline.PipelineXPart.ToBaseMessagePart()
at Microsoft.XLANGs.Pipeline.PipelineXMessage.ToBaseMessage()
at Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecutePipeline(ReceivePipeline p, XLANGMessage inMsg)
— End of inner exception stack trace —
at Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecutePipeline(ReceivePipeline p, XLANGMessage inMsg)
at Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteReceivePipeline(Type receivePipelineType, XLANGMessage inMsg)
at HP.MotorEAI_HL7.Orquestaciones.EnviarMensajeHL7.segment4(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Nevertheless when i use a System.String or a XmlDocument it works fine.
December 25, 2007 at 6:36 PM in reply to: FTP adapter sees "no files to pick-up" as an error and shuts down #18680Are you using any custom Pre or Post FTP commands.
Ideally it used to work fine with 2004 then it should work with 2006 too……
I think it should not give you an Invalid Version error.
But we never risk with Production Servers…..if its a test environment go ahead……
What you can do is have a custom send pipeline component.
Add newline character after every tag end and drop the file as a txt file or may be as xml file.
If you are using Biztalk 2004 you can use custom Scripts and deploy and GAC your project.
No need to take the code folder.
December 25, 2007 at 6:25 PM in reply to: Custom pipeline component to process flat file – strip first line off – promote property… #18676If you want to strip of the first line completely then use a custom pipeline component and read the stream as string.
Strip off the first line and pass the msg as output.
Venkat,
The problem is
The UserID under which your Biztalk Isolated Host runs doesnot have enough rights on the SQL database.
Are you using 2 different accounts for the Host
Biztalk Server Application
Biztalk Isolated Host
Check that the account is a member of Biztalk Application User Group,Biztalk Administrator Group on your Biztalk Application Server.
December 25, 2007 at 6:14 PM in reply to: Messaging Engine failed to initialize the transport adapter #18674Check this link.It should help you.
http://midwestcoders.net/blogs/monish_nagisetty/archive/2005/12/28/201.aspx
Hi Praseeda,
Thank u for helping me…
I gone through the link, i found that the setting are related to web server of Biztalk Server.
Is it posisble to deploy and publish an orchestration as webservice to Biztalk Server from developer system, just by installing the BizTalk SDK in developer’s system.
Do we need to install any other components, or any setting to be done. Please let me know…
Thanks and Regards
Venkat
Isn’t there a way to accomplish this in Biztalk?
December 21, 2007 at 6:10 AM in reply to: Messaging Engine failed to initialize the transport adapter #18668Same issue over here … anyone?
Hello Siva.
You should on your development environment right-click the Application you want to deploy, then choose “Export” and then “MSI File”. This will make you a Microsoft Installation Package, that you can move to your production environment, where you make a import/installation.
You should read about binding files, which enables you to handle the differences in configurations between environments.
/Anders
I would be surprised if you could do this…if for no other reasons licensing.
DEV edition is “Limited solely to designing, developing, and testing solutions”. I guess the caveat would be that you are running enterprise editions in a test environment(and this actually worked). I got a feeling that when you join the group you will get an invalid version message.
I think based on what you have described that you are best off exporting the MSI package from your Dev box and importing it on your Prod box. See this article for more details:
http://technet.microsoft.com/en-us/library/aa577804.aspx
Also note that you need to ensure that you dlls make it into the GAC. When you do the export you can click a check box off or what you do is on the Prod box double click your MSI and walk through the install wizard and then import it into BIzTalk admin.
Note this post assumes you are using BTS 2006 R1/R2
-
AuthorPosts