Forum Replies Created
-
AuthorPosts
-
March 7, 2007 at 5:40 AM in reply to: error btm1046: Output validation error: Root element is missing. #17874
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
March 7, 2007 at 5:34 AM in reply to: error btm1046: Output validation error: Root element is missing. #17873Sounds like your message is empty… You can check that by writing your message (right before performing the map) to the Eventlog.
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.
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.
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
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.
[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
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
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.
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.
Why not?
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.
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.
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
You could simply try using the WindowsIdentity class in System.Security.Principal:
WindowsIdentity MyIdentity = WindowsIdentity.GetCurrent();
string name = MyIdentity.Name;
-
AuthorPosts