sandeep.narang

Getting attribute value as "System.__com"

Discussion created by sandeep.narang on Feb 7, 2012
Latest reply on Oct 10, 2013 by GuillaumeBOURSIER2

Hi Team

 

As per our requirement , we are trying to fetch the updated values for some attributes using the following statement.

 
attribute objAttribute = new attribute();
AFValue AttrVal = objAFAttributes.GetValue();
objAttribute.Name = objAFAttributes.Name;
if (AttrVal.Value != null)
{
if (!Convert.ToString(AttrVal.Value).Contains(tagException))
objAttribute.Value = Convert.ToString(AttrVal.Value);
else
objAttribute.Error = Convert.ToString(AttrVal.Value);
}
lstAttribute.Add(objAttribute);

 

 

The issue which we are encountering is that in some cases, we are getting the value as "System.__com".

 

What are the possible causes of this type of behavior and how can we rectify this?

 

 

 

Thanks

 

Sachin

 

 

 

 

Outcomes