Resolution for Error : 'System.Xml.XmlDocument' does not contain a definition for 'Source'

Hi,

You may receive this error in the scenario when you add a schema using the "Add Generated Metadata"  and you promote the attribute or elements either as distinguished or as property promoted. Now when you are assigning any value or doing any comparison where the type or the distinguished field is to be changed "YOU WILL RECEIVE THIS ERROR".

Resolution: You need to use this paramter as below : --

InCorrect:

sbExMessage.Append("\n\nError Code: " + Msg_SQLResponse.parameters.Response.ErrorCode);

Correct:

sErrorCode = Msg_SQLResponse.parameters.Response.ErrorCode;

sbExMessage.Append("\n\nError Code: " + sErrorCode);

Regards

Vishnu

posted @ Friday, January 29, 2010 2:19 AM
Print
«May»
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789