community-content

Forum Replies Created

Viewing 15 posts - 5,686 through 5,700 (of 9,652 total)
  • Author
    Posts
  • Hi,

     Thanks for your reply. How do I write the message to event log. Though I'm sure I have data in the input file, I want to test the way you said.

     

    Thanks,

    Sam

    Sounds like your message is empty… You can check that by writing your message (right before performing the map) to the Eventlog.

    in reply to: Using Listen andDelay Shape #17872

    Besides using a DateTime object (which should work fine), why don't you use the Service Window properties on your Receive Location. This makes modifications to the service window configurable, so you don't need to redeploy your orchestration when the service window changes. 

    in reply to: Orchestation/Receive Shape Filter #17870

    I was able to confirm the behaviour of this filter with Microsoft Premier Support.  The Filter Expression uses a dictionarly comparision meaning that the predicate will work but you need to be careful not to "over include" items that you do not want. For instance if you wanted to include ROUTINE ###### you could have a filter that works like this  promotedProperty >= ROUTINE 0 and promotedProperty <=999999

     Not the best solution but it does work depending upon requirements. 

    in reply to: Debugging .NET Code during BizTalk Orchestration #17868

    Even though I haven't tried it and the question seems already been solved:

     http://msdn2.microsoft.com/en-us/library/aa577412.aspx
     

    BR, Hansi
     

    in reply to: Debugging .NET Code during BizTalk Orchestration #17866

    That's a really good question.  Since I always do this while developing, I'm sure I'm in "debug" mode.  Might want to try flipping that to debug before trying to step through.

     BTW, "wa", you and I need to make up 😉  You've been posting some kick *ss responses lately.

    in reply to: Debugging .NET Code during BizTalk Orchestration #17865

    [quote user="rseroter"]If you set a breakpoint in your class method, and do "debug … attach to process" and choose the btsntsvc.exe, when that code is called from the orchestration, it should jump to your code and let you do standard debugging.[/quote]

    Richard, 

    Does it matter if his code is compiled with the Debug or Release flag?  

    -wa 

    in reply to: BizTalk Mapping in Send Port Doesn’t work #17861

    Thanks BR. I kind of figured that out. However, I'm having another problem. When I try to connect SAP using SAP .Net Adapter, it sends wrong password to SAP and my ID is getting locked after several attempts. I created the send port on BTS application server.

    Any help will be appreciated… 

     

    Thanks,

    Sam

    in reply to: Debugging .NET Code during BizTalk Orchestration #17860

    If you set a breakpoint in your class method, and do "debug … attach to process" and choose the btsntsvc.exe, when that code is called from the orchestration, it should jump to your code and let you do standard debugging.

    in reply to: failed to deploy #17859

    After attempting to fix the referenced paths and the app still doesn't deploy – go to the Global Assemble Cache (\windows\assembly\ on Server 03) and uninstall the most recent version of the assembly.  If it will not uninstall of a process using it, the Host Instance may need to be stopped.

    Doing this allowed me to deploy the app after making a change to a schema.

    in reply to: why biztalk? #17855

    Why not?

    in reply to: BizTalk Host Instance ID in an expression shape #17852

    That code would return exactly the user your orchestration is running under at that precise moment. If your orchestration later dehydrates and is moved to a separate server, then sure, it could rehydrate again and be running in a different host instance and a different account. Don't see what the problem with that is.

     The simple fact is, theres no such thing as "the credentials under which the orchestration is running". Orchestrations don't have credentials attached to them, so at best what you can ask for is which credentials the host instance it is currently executing on has associated.
     

    in reply to: BizTalk 2006 Host Instance Info #17851

    Babai,

     In BizTalk 2006, you create a host (logical container) and a host instance (actual physical instance) and you can select only one server name(option is given as dropdown) for this connection. You cannot select multiple servers at a time. If you want to create another instance to the same server means you have to create another host & host instance.

     In Biztalk 2004 you might create multiple servers at the same time itself when you create a host instance.

     HTH.

     

    in reply to: BizTalk Host Instance ID in an expression shape #17848

    Couldn't this produce different results.  We have various Host Instances running under differing credentials.  I need to get the credentials under which my Orchestration is running.  Is there no BTS object that can return this information?

    Thanks – Tina

    in reply to: BizTalk Host Instance ID in an expression shape #17847

    You could simply try using the WindowsIdentity class in System.Security.Principal:

    WindowsIdentity MyIdentity = WindowsIdentity.GetCurrent();
    string name = MyIdentity.Name;

     

Viewing 15 posts - 5,686 through 5,700 (of 9,652 total)