Problem Sending noRelatedSym Field (Quote Request Message)

Imported from previous forum

I am coding a Buy & Sell simulator for sending Quote request and related Messages.

Following is the code that I m using to send the values to the FIXML;
"
/** create a new FIX message object and post it to the Appia server */

            MessageObject msg = new FixMessageObject(); 
             

            /* set the protocol as FIX 4.4 */ 
            msg.Protocol = FixConstants.FIX_44; 

            /* set the message type as "Quote Request" */ 
            msg.MessageType = FixConstants.QuoteRequest; 
            /** set the message data */ 
            MessageData data = msg.MessageData; 

            data.SetValue(FixConstants.ClOrdID, clOrdID) 
                     
                    .SetValue(FixConstants.SenderCompID, senderCompID) 
                     
                    .SetValue(FixConstants.TargetCompID, targetCompID) 
                     
                    .SetValue(FixConstants.DeliverToCompID, deliverToCompID) 

                    .SetInt(FixConstants.NoRelatedSym, 2) 

                    .SetValue(FixConstants.QuoteReqID, quoteReqID); 

             
            /** post the FIX message to Appia */ 
            string session = ConfigurationSettings.AppSettings["session_buy"]; 

            m_middleware.Post("BuySide_NewQuoteRequest_MsgID", session, msg);" 

I have only included the fields that are required,.

Now when I run the code an Exception is thrown for noRelatedSym field:

“{“Attribute NoRelatedSym(146) Put: not FixMap or FixMessageDataList class System.String” }”

Can any body help me by telling what wrong I am doing here?
Is there anything that I m missing in the code?

Thanks in Advance.