<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: FYI:  workaround for report sql and the error "System.Xml.XmlException: The '#' character, hexadecimal value 0x23, cannot be included in a name." (Thread)</title><description> FYI:  If you are writing report SQLand run into the following error:  "System.Xml.XmlException: The '#' character, hexadecimal value 0x23, cannot be included in a name."     ...then make sure you aren't selecting two columns from two separate tables with the exact same name.  Use aliasing to prevent the problem.     For example, the following SQL will cause a problem:          SELECT rel.NAME, req.NAME FROM SpiraTestEntities.R_Releases AS rel LEFT JOIN SpiraTestEntities.R_Requirements AS req on rel.RELEASE_ID = req.RELEASE_ID WHERE rel.PROJECT_ID = ${ProjectId}        The following SQL is equivalent except the column name aliases will preclude the aforementioned error:          SELECT rel.NAME AS rel_Name, req.NAME AS req_NAME FROM SpiraTestEntities.R_Releases AS rel LEFT JOIN SpiraTestEntities.R_Requirements AS req on rel.RELEASE_ID = req.RELEASE_ID WHERE rel.PROJECT_ID = ${ProjectId}       </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spirateam/issues-questions/983.aspx</link><item><guid isPermaLink="false">threadId=983</guid><author>Jon Freed (jfreed@edmap.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">reporting</category><title>FYI:  workaround for report sql and the error "System.Xml.XmlException: The '#' character, hexadecimal value 0x23, cannot be included in a name."</title><description> FYI:  If you are writing report SQLand run into the following error:  "System.Xml.XmlException: The '#' character, hexadecimal value 0x23, cannot be included in a name."     ...then make sure you aren't selecting two columns from two separate tables with the exact same name.  Use aliasing to prevent the problem.     For example, the following SQL will cause a problem:          SELECT rel.NAME, req.NAME FROM SpiraTestEntities.R_Releases AS rel LEFT JOIN SpiraTestEntities.R_Requirements AS req on rel.RELEASE_ID = req.RELEASE_ID WHERE rel.PROJECT_ID = ${ProjectId}        The following SQL is equivalent except the column name aliases will preclude the aforementioned error:          SELECT rel.NAME AS rel_Name, req.NAME AS req_NAME FROM SpiraTestEntities.R_Releases AS rel LEFT JOIN SpiraTestEntities.R_Requirements AS req on rel.RELEASE_ID = req.RELEASE_ID WHERE rel.PROJECT_ID = ${ProjectId}       </description><pubDate>Mon, 25 Aug 2014 20:42:41 -0400</pubDate><a10:updated>2014-08-28T13:38:59-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/983.aspx</link></item><item><guid isPermaLink="false">messageId=1800</guid><author>Kat A (elise.brooks@inflectra.com)</author><title>



Thanks for the information, Jon!</title><description>



Thanks for the information, Jon!</description><pubDate>Thu, 28 Aug 2014 13:38:59 -0400</pubDate><a10:updated>2014-08-28T13:40:00-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/983.aspx#reply1800</link></item></channel></rss>