Resources for IT Professionals > Forums Home > BizTalk Server Forums > BizTalk Server RFID > Problem in Trigger event in Handheld application
Ask a questionAsk a question
 

QuestionProblem in Trigger event in Handheld application

  • Thursday, November 05, 2009 7:12 PMNMohanraja Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    We are using CSL 101 rfid reader for implementing our application. We are using C#.NET 3.5 and BizTalk RFID Server 2009.

    We need to write trigger based events in our handheld application. We used the following codes for register the trigger events in device connection.

    CODE:
    =====
    DeviceManagerProxy proxy = new DeviceManagerProxy();
    string deviceName = proxy.GetAllDevices()[0].Name;
    connection = new DeviceConnection(deviceName);
    connection.Open();
                   
    connection.NotificationEvent += new NotificationEventHandler(HandleTagReadEvent);
    connection.SetProperty(StandardDevicePropertyGroups.Notification, NotificationPropertyGroup.OnTriggerPull, TriggerAction.ScanRfid);



    But we are unable to get success with our way. The error is
    "System.IO.SensorServices.Rfid.Client.DeviceManagerException: Failed to
    validate [Notification:On Trigger Pull] on device CS101 RFID DEVICE
    because the metadata for the property is not available. If this situation
    persists, contact your provider vendor for further assistance."

    Please show me the direction to get success.

    Thanks in advance.

All Replies