community-content

Forum Replies Created

Viewing 15 posts - 4,411 through 4,425 (of 9,648 total)
  • Author
    Posts
  • in reply to: Help on Xpath #19889

    You need to create the Xml Instance with the node you wish to add data to. And then use fully namespace qualified xpath

    xmlDocVariable.LoadXml(“<Root xmlns=’http://Test.Xpath’><Response/></Root>&#8221;);

    Response = xmlDocVariable;

    xpath(Response, “/*[local-name()=”Root’ and namespace-uri()=’http://Test.Xpath’%5D/*%5Blocal-name()=’Response&#8217; and namespaceuri()=”]”) = “Hello”;

    The XPath function does not change the the xml structure, just allows you to read or write from existing nodes.  You can retrieve the xpath string from the schema, select the node in question and copy/paste the Instance Xpath property 

    in reply to: RecievedFileName #19888

     Thanks Greg!

            

          I went with option 2
    DBMessage.InputFileName = InputMessage(FILE.ReceivedFileName);

      as DBMessage is a mapped Message and is only available after the receive pipeline processing is done and it is mapped from the InputMessage.

    -Jerry

     

    in reply to: Help on SQL Adapter – URGENT!!! #19886

     

    Thanks Guys,

     

    I have solved it. I wrote a new stored procedure in SQL for insert and then used the scope_identity() method to return the last updated identity.

     

    in reply to: failed to serialize message part #19885

     

    I have the same problem !!!

    I need a help too.

    Hi Rajendra,

    Can you put the enterprise dlls in a separate application and share them to both that need them?  This is what the Operations manual recommends.

    Deploy shared artifacts in a separate application

    If artifacts are going to be shared by two or more applications, deploy the shared artifacts into a separate application. For example, if two applications share a schema, place the schema in a separate application. We recommend this because only one artifact in a BizTalk group can have a single locally unique identifier (LUID). A LUID consists of the artifact name and optionally other attributes. If you include an artifact in one application, and then create a reference to it from another application, the referring application may not function correctly when you stop the application containing the artifact.

    This best practice applies to all artifact types except for files, such as Readme files and scripts, which are added to the application as a File type of artifact. This is because more than one file artifact with the same name can be deployed in a BizTalk group. Therefore, you can use a file having the same name in two or more applications. In this case, stopping one application will not impact the other application. For more information about adding file artifacts, see “How to Add a File to an Application” in BizTalk Server 2006 R2 Help at http://go.microsoft.com/fwlink/?LinkId=106818.

    in reply to: Debugging #19883

     Hi,

    I created a solution with one BTS Project and Class Library. I invoked the class lib thru Expression Editor in the Orchestration. Class Lib is GACed [ Debug Mode]. I set the breakpoint in the method inside the class lib.

    Attached the BTSNTSVC process to the class lib.Ensured the Orchestration is running.

    Kept the message in the recv folder. Happily received in Send Folder. But it has not hit the breakpoint.

    Let me know whether i’m in right dir?

     

     

    I usually just run the Enterprise Library MSI separately from my BizTalk MSIs.  This is not ideal, but I don’t know of any good way to check for existence of DLLs in the GAC from a BizTalk MSI.  It wold be nice if we could just add a custom action like we would on a normal MSI, but that is not possible in BizTalk MSIs as far as I know.  If you really need to automate this, then you could leave the EntLib DLLs out of your MSI, and write a batch file that uses BTSTASK to import the MSI, and then uses GACUTIL to check for the EntLib DLLs and install them if they are not there.

    in reply to: Debugging #19881

     Yes, you can debug that class.  Just set a breakpoint in the class, then attach the debugger to the BizTalk host process.  To do this, click on Debug, then click Attach to Process, then select BTSNTSVC.exe.  Now when your orchestration runs it will stop at the breakpoint.

    in reply to: Extra CRLF at end of Flat File #19878

     Hi, can you share your trailer schema?  I am having the same issue and was able to solve it by creating the trailer schema.  However, for document that doesnt’ have the extra CrLf, it errors out with the following error:

    The trailer specification specified on the pipeline component properties does not contain an interchange trailer.

    in reply to: Send Port Ordered Delivery #19876

     Hello ,
        thanks for the response.

         the process followed:
         a flat file comes in containing orders.
         in a given flat file there could be Order created rec, order      modififed rec etc.
         for e.g the first rec could be order create and the 10th rec in the flat file could a mod on the same order.
    we want the same orchestration to process so that mod does not happen
    before create. so only we thought of sequential convoy..

    as i said, orchestration is correlated onOrder ID.

    Regards,

    in reply to: error converting datetime from nvarchar #19875

    I’m sorry for this needless post. I simply overlooked the string format in the input xml. It’s different from the required form.

    I guess I need a vacation… Regards, Michael

    in reply to: Send Port Ordered Delivery #19872

    The sendport is separated from the orchestration by a pub/sub database. It is subscribing to messages with a particular BTS.SPTransportID ( when you bind your port to the orchestration, the orchestration will add this property to outgoing messages on this logical port). If you set Ordered Delivery then only one instance of this port will be initiated to guarantee messages are sent in order. There is no way of making the sendport convoy (or orchestration instance) aware that I know of.

    One possibility is to reset the ordered delivery option on the physical port and use Delivery Notification on the logical port. This will cause the orchestration to block on sending a message until it has been delivered, hence guaranteeing order by orchestration instance. Not sure what this will do to overall performance? Might make it better or worse depending on where the message is going, how it is getting there (adapter being used) and what sort of latency there is. 

    Can you explain a bit about the orchestration and why it is a sequential convoy, how many messages does each orchestration instance consume and how many messages does each instance send. Is there another way of doing this that does not involve a sequential convoy?

      No, There is nothing related to SSO at eventlog.

    I checked SQL Server eventlog and I found following error

    Application eventlog entry:

    Event Type: Failure Audit
    Event Source: MSSQLSERVER
    User:  Domain\User
    Computer: SQLSERVER2005
    Description: Login failed for user ‘Domain\User’. [CLIENT: <local machine>]

    Security eventlog:

    Event Type: Failure Audit              Event Source: Security
    Event Category: Logon/Logoff        Event ID: 539
    User:  NT AUTHORITY\SYSTEM
    Computer: SQLSERVER2005       Description:
    Logon Failure:                              Reason:  Account locked out
    User Name:                                 Domain: 
    Logon Type: 3                              Logon Process: Authz   
    Authentication Package: Kerberos
    Workstation Name:                    Caller User Name: User
    Caller Domain: Domain

    To check if Account is actually locked I do log Off and Log in again and it allowed me to log in.I can connect the database via SQL Server Management studio using same Host Account.
    and, my point is that If the account is actually locked then Host should not process any Service instance. but if I try to resume the suspended service instance it works for me.

    These error are repeating but not consistent with my message suspension

    _______________________________________________________

    PS: I deployed the same solution on other BizTalk Server.Where it is running smoothly.

    any suggestion Please?

    Thanks

    Umair Ahmed

    in reply to: Biz Talk POP3 adapter has connection issues #19869

    There is no way of suppressing these error messages from the adapter that I know of.

    Is there anyway you can determine why the mail server is failing to authenticate, is it possible that there is already a connection to the mailbox from Biztalk and the second connection is rejected.

    Have you tried increasing the polling interval, to 60 seconds – does this have any effect.

    It would be best practice to rebuild your Biztalk assembly if it references a .NET assembly that is rebuilt. These assemblies are tightly coupled, and while it might work by keeping the same assembly version (it will be able to load the assembly), there is no guarantee that any calls to that assembly will work correctly.

    You can get weird and bizarre errors running mismatched assemblies.

Viewing 15 posts - 4,411 through 4,425 (of 9,648 total)