IDE disconnects automatically

when i try to test my project (F5) it connects but when i communicate with it, it instantly disconnects...what gives?

[158 byte] By [timheuer] at [2008-2-21]
# 1

I've seen this occasionally when a buddy is not specified.

Try specifying a buddy in the first query. Type !b, you'll see a list of available buddies, then type !b Buddy_ID. After that, a session will begin with that buddy.

TomRagle at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Agents Development...
# 2
when i use the default "AutomatedAgent" everything works fine, but when i change the configuration BuddyId and Buddy

Name this is when i get the automatic disconnects when i send messages. changing it back to "AutomatedAgent" makes things work again. Also when i change the buddyname/id and initially connect, it still says AutomatedAgent.

what gives?

timheuer at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Agents Development...
# 3

It should work if you 1. connect then 2. change buddies, but it sounds like there might be an issue with the buddy not including some necessary domains. Can you send me the DLS file? I'm at tomragle AT hotmail D0T com.

Thanks.

TomRagle at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Agents Development...
# 4
okay doing the !b <buddy> works, but why is there still a default of "automatedagent"? when i upload my agent how do i know which one will respond -- sorry, noob here i know but i appreciate the help
timheuer at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Agents Development...
# 5

I'm not sure why AutomatedAgent is always the default, but you can change this behavior by adding this flag to "Extra Options" field of the conversation window before compiling:

Code Snippet
--buddy-id SomeBuddyId

The IDE will then launch SomeBuddyId.

When actually launching on a server via the web console, use filters (e.g. Local, Deploy, KnowledgeManagement, etc.) to control which buddy gets launched into the Messenger cloud, AIM, etc. when you hit the Start button.

TomRagle-MSFT at 2007-10-3 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Agents Development...

Windows Live Developer Forums

Site Classified