community-content

Forum Replies Created

Viewing 15 posts - 3,271 through 3,285 (of 9,648 total)
  • Author
    Posts
  • in reply to: How to Debug a Custom C# Component Called by BizTalk #21612

    Hi Everyone,

    After abandoning this issue for almost a year, I finally resolved this issue, and thought I’d share the solution for anyone else who has this problem in the future.

    The short answer is that I didn’t go far enough.  After I built the component in debug mode, I correctly GAC’ed the DLL and updated the reference for the calling project to point to the Debug version and updated the Admin Console Reference to the Debug version, then restarted the Host Instance.

    At this point, when I did “Attach to Process” within the custom component, the breakpoints were still appearing with the same message as before: “The Breakpoint will not currently be hit. No Symbols have been loaded for this document.”

    However, when I “ignored” this error and proceeded with submitting a message through BizTalk,  the custom component “woke up” and realized that it was going to be called.  The breakpoint errors went away, and debugging worked exactly as it was supposed to!

    YAY!

    Thanks to those of you who pointed me in the right direction. 

    in reply to: Using Webservices BizTAlk #21611

    Thank you all for your quick replies . Like i said a few posts above i already found out how to use the webservices.
    I only have one Problem left ,my webservice is just a stub. It wants a CustumerID as a parameter and returns a string .The Problem is that the expected CustomerID is an System.Data.SQLtypes.sqlint32 Datatype,  Now if i want to assign the node to the to the WS.reqeust message  it gives me an error that BT can’t convert  System.Data.SQLtypes.sqlint32 to INT.

    Does anybody have a clue?

    Thanks Amar

    in reply to: Overwrite Send Property #21610

    Add the FILE.CopyMode property to your message with a value of 2.

    in reply to: Explorer OM is not supported in a 64 bit process. – #21609

    If I remember correctly, the reason for this might be that ExplorerOM depends on some of the ENTSSO assemblies, some of which are unmanaged code (and possibly only available in x86… or the ExplorerOM code simply was not written to automatically use the right platform-specific version, which can be tough).

    in reply to: BizTalk Maps #21608

    Can you post an example of the input document?

    in reply to: Custom Pipeline Component Adding Rootnode and NameSpace #21607

    I think your idea of using an Xml.XmlDocument as the receive type would most likely provide the most flexibility.  Then on the response you could see what the root node is and handle it appropriately. 

    in reply to: Biztalk Gurus #21606

    Here you go!

    in reply to: Using Webservices BizTAlk #21605

    Hi,

    You can retrive the node values in two ways..

    1)using property schema

    2)using Xpath Query in Expression Editor

    once u added the Webservice reference it will give u two messages-Request and Response….so send Request through by configuring Send Port and Get Response using Receive Shape…

     

    Thanks

    Sri

     

     

    in reply to: Explorer OM is not supported in a 64 bit process. – #21602

    I have faced this issue too.

    When we compile  with Platform:x86  switch then the application runs on 32 bit host instance not the 64 bit host. Then we can not  get the advantage of 64 bit.

    Only option that I found  to use the below . Hope this will help you

    // Query for the BizTalk Receive Location.
        
            private const string queryCom= “SELECT * FROM MSBTS_ReceiveLocation”;

             string receiveLocationName = string.Empty;

                    //Create the WMI search object.
                    ManagementObjectSearcher Searcher = new ManagementObjectSearcher();

                    // create the scope node so we can set the WMI root node correctly.
                    ManagementScope scope = new ManagementScope(“root\\MicrosoftBizTalkServer”);
                    Searcher.Scope = scope;

                    // Build a Query to enumerate the MSBTS_ReceiveLocation instances if an argument
                    // is supplied use it to select only the matching URL.
                    SelectQuery selectQuery = new SelectQuery();

                    query.QueryString = queryCom;

                    // Set the query for the searcher.
                    Searcher.Query = selectQuery;

                    // Execute the query and determine if any results were obtained.
                    ManagementObjectCollection queryCol = Searcher.Get();

                    //Get the Recive Location Name from InboundTransportURL property
                    foreach (ManagementBaseObject envVar in queryCol)
                    {
                        PropertyDataCollection envVarProperties = envVar.Properties;
                       
                        foreach (PropertyData envVarProperty in envVarProperties)
                        {
                            if ((envVarProperty.Name.Equals(“InboundTransportURL”)) &&
                                (inboundAddress.Equals(envVarProperty.Value)))
                            {
                                //Set the reciveLocationName from the InboundTransportURL property
                                receiveLocationName = envVar[“Name”].ToString();
                                break;
                            }
                        }
                    }               

     

     

    Regards,

    Nandika

    in reply to: BAM Problem Again :-( #21601

    I myself managed to fix this problem..Please ignore

    in reply to: Using Webservices BizTAlk #21599

    before call webservice use MessageAssignment ( to set the value means to say the web service need some parameter set the parameter value with you XSD element value ) the call the webservice …if you add the reference of webservice to your biztalk application it will automatically create the PortType use that port type it will be SOAP type and  direction will be Send and Received

    if you need help let me know i will write the each steps

    regards

    Akash KB ([email protected])

     

    in reply to: How to point to different database server? #21598

    Hi,

       U can unconfig the Biztalk Server Configuration and configure with remote server name…be sure all the configuration setting showing green …be sure the all the server come under SSO.

    Akash KB ([email protected])

     

    in reply to: biztalk server newbie #21597

    HI

    Thanks.  biztalk requires  sql server alwys ? Can we have some application where we don’t use sql server with biztalk?

      I tried as you said. it is is saying can not connect to server. Now i will look at why sql sserver is not getting connected.

     

    thanks for pointing me to my error.

    will come back  aftre I connect to sql server

    in reply to: biztalk server newbie #21596

    You need to connect to your group. Right click on BT Server 2006 Administration & select Connect exsiting group. Then give your SQL server name & BT mgt db name

    in reply to: How to point to different database server? #21594

    Hi there, there are few scripts to be run on both the BizTalk and SQL Server, but you should have followed the log shipping instructions before moving the databases. Please review this page:

    http://msdn.microsoft.com/en-us/library/cc296741.aspx

Viewing 15 posts - 3,271 through 3,285 (of 9,648 total)