home recent topics recent posts search register faq   AspNetForum v.4.8.2.0

Huagati Systems Support Forum :: Forum

user:
psw:
| lost password
Home » Huagati DBML/EDMX Tools Support » Creating SSDL failed exception XPathException Messages in this topic - RSS
1/12/2010 3:40:26 PM
dvidem
Posts 1
Hi all,

I tried to create a simple model-first example.

Your tool fails with very strange error when invoking DBML/EDMX Tools | Clean-up SSDL/MSL/CSDL: Create SSDL.

Processing ADO.NET Entity Data Model...
Found 0 unmapped SSDL entity sets. (0 many-to-many junction tables)
Found 2 unmapped CSDL entity sets.
Added SSDL entity set ProductSet
Added SSDL entity type Product
Added scalar member Id to Product
Added CSDL to SSDL mapping for ProductSet (Model1.Product)
Added SSDL entity set CatalogSet
Added SSDL entity type Catalog
Added scalar member Id to Catalog
Added CSDL to SSDL mapping for CatalogSet (Model1.Catalog)
Creating SSDL failed due to exception System.Xml.XPath.XPathException: 'edmx:Runtime/edmx:Mappings/map:Mapping/map:EntityContainerMapping/map:EntitySetMapping/map:EntityTypeMapping[@TypeName='IsTypeOf(Model1.Product) or @TypeName='Model1.Product']/map:MappingFragment/@StoreEntitySet' has an invalid token.
at MS.Internal.Xml.XPath.XPathParser.CheckToken(LexKind t)
at MS.Internal.Xml.XPath.XPathParser.ParsePredicate(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion)
at MS.Internal.Xml.XPath.QueryBuilder.Build(String query, Boolean allowVar, Boolean allowKey)
at MS.Internal.Xml.XPath.QueryBuilder.Build(String query, Boolean& needContext)
at System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver)
at System.Xml.XPath.XPathNavigator.Compile(String xpath)
at System.Xml.XmlNode.SelectSingleNode(String xpath, XmlNamespaceManager nsmgr)
at HuagatiDBMLExtensions.SSDLBuilder.GetSSDLTypeNameFromCSDLTypeName(String csdlEntityTypeName)
at HuagatiDBMLExtensions.SSDLBuilder.GetSSDLTypeFromCSDLType(XmlElement csdlType, String ssdlNamespace, String csdlNamespace)
at HuagatiDBMLExtensions.SSDLBuilder.RebuildSSDLAssociations(String setName, String& outputString)
at HuagatiDBMLExtensions.SSDLBuilder.RebuildAssociations(List`1 setNames, String& outputString)
at HuagatiDBMLExtensions.EDMXInconsistencyEditor.CreateSSDL(TreeNodeCollection nodes)
at HuagatiDBMLExtensions.EDMXInconsistencyEditor.btnCreateSSDL_Click(Object sender, EventArgs e)
Completed EDMX Cleanup.

win7-64bit, vs2008 SP, .net 3.5 sp1

Please help.

regards, david

Attachments: Model1 - Initial.edmx
1/12/2010 3:49:13 PM
Kristofer
Posts 240
Hi,

Thanks for reporting.

This is a bug in the current release (1.84) that was unfortunately introduced together with some of the VS2010 forward-compatibility changes. It has been fixed in ver 1.85 which will be released within a few days.

Best regards,
Kristofer
1/13/2010 2:30:05 PM
Kristofer
Posts 240
Hi,

Please download and install version 1.85 (just released) - that release should fix this issue.

Best regards,
Kristofer
pages: 1
|

Home » Huagati DBML/EDMX Tools Support » Creating SSDL failed exception XPathException